aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorXiaoyao Li <[email protected]>2020-04-10 11:54:01 +0000
committerBorislav Petkov <[email protected]>2020-04-11 14:40:55 +0000
commit9de6fe3c28d6d8feadfad907961f1f31b85c6985 (patch)
tree7f2d97a3a8e88b134b5309f72275c092fb454c2d /drivers/fpga/machxo2-spi.c
parentx86/split_lock: Provide handle_guest_split_lock() (diff)
downloadkernel-9de6fe3c28d6d8feadfad907961f1f31b85c6985.tar.gz
kernel-9de6fe3c28d6d8feadfad907961f1f31b85c6985.zip
KVM: x86: Emulate split-lock access as a write in emulator
Emulate split-lock accesses as writes if split lock detection is on to avoid #AC during emulation, which will result in a panic(). This should never occur for a well-behaved guest, but a malicious guest can manipulate the TLB to trigger emulation of a locked instruction[1]. More discussion can be found at [2][3]. [1] https://lkml.kernel.org/r/[email protected] [2] https://lkml.kernel.org/r/[email protected] [3] https://lkml.kernel.org/r/[email protected] Suggested-by: Sean Christopherson <[email protected]> Signed-off-by: Xiaoyao Li <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions