diff options
author | 2023-08-30 21:32:21 -0700 | |
---|---|---|
committer | 2023-08-31 23:29:49 +0200 | |
commit | 18032b47adf1db7b7f5fb2d1344e65aafe6417df (patch) | |
tree | 7847bbd9a68b4544ebd74c07a5e2f5d7c210c0a0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/irq/i8259: Fix kernel-doc annotation warning (diff) | |
download | wireguard-linux-18032b47adf1db7b7f5fb2d1344e65aafe6417df.tar.xz wireguard-linux-18032b47adf1db7b7f5fb2d1344e65aafe6417df.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions