aboutsummaryrefslogtreecommitdiff
path: root/tools/rcu/rcu-cbs.py
diff options
context:
space:
mode:
authorMichal Luczaj <[email protected]>2022-07-29 15:48:01 +0200
committerPaolo Bonzini <[email protected]>2022-08-10 15:08:23 -0400
commit4ac5b4237793a6db791999edd53f0396c04053cd (patch)
tree461433f0ce837f6b255fdac1af359880a00ec5e1 /tools/rcu/rcu-cbs.py
parent2bc685e63332957f906446d281162f93b5d523fa (diff)
KVM: x86: emulator: Fix illegal LEA handling
The emulator mishandles LEA with register source operand. Even though such LEA is illegal, it can be encoded and fed to CPU. In which case real hardware throws #UD. The emulator, instead, returns address of x86_emulate_ctxt._regs. This info leak hurts host's kASLR. Tell the decoder that illegal LEA is not to be emulated. Signed-off-by: Michal Luczaj <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/rcu/rcu-cbs.py')
0 files changed, 0 insertions, 0 deletions