summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-abx80x.c
diff options
context:
space:
mode:
authorJim Mattson <jmattson@google.com>2023-08-30 21:32:21 -0700
committerIngo Molnar <mingo@kernel.org>2023-08-31 23:29:49 +0200
commit18032b47adf1db7b7f5fb2d1344e65aafe6417df (patch)
tree7847bbd9a68b4544ebd74c07a5e2f5d7c210c0a0 /drivers/rtc/rtc-abx80x.c
parentd87e89c2735772fbed933be0d19e032c1910a51f (diff)
x86/fpu/xstate: Fix PKRU covert channel
When XCR0[9] is set, PKRU can be read and written from userspace with XSAVE and XRSTOR, even when CR4.PKE is clear. Clear XCR0[9] when protection keys are disabled. Reported-by: Tavis Ormandy <taviso@google.com> Signed-off-by: Jim Mattson <jmattson@google.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lore.kernel.org/r/20230831043228.1194256-1-jmattson@google.com
Diffstat (limited to 'drivers/rtc/rtc-abx80x.c')
0 files changed, 0 insertions, 0 deletions