aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/bnxt_re/qplib_fp.c
diff options
context:
space:
mode:
authorJim Mattson <[email protected]>2023-08-30 21:32:21 -0700
committerIngo Molnar <[email protected]>2023-08-31 23:29:49 +0200
commit18032b47adf1db7b7f5fb2d1344e65aafe6417df (patch)
tree7847bbd9a68b4544ebd74c07a5e2f5d7c210c0a0 /drivers/infiniband/hw/bnxt_re/qplib_fp.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 <[email protected]> Signed-off-by: Jim Mattson <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Dave Hansen <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/qplib_fp.c')
0 files changed, 0 insertions, 0 deletions