aboutsummaryrefslogtreecommitdiffstats
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorSteve Rutherford <[email protected]>2017-01-12 02:28:29 +0000
committerPaolo Bonzini <[email protected]>2017-01-12 13:34:58 +0000
commit129a72a0d3c8e139a04512325384fe5ac119e74d (patch)
tree56a0adfdeff6c007ba3a5f36577036f20e7d5150 /lib/timerqueue.c
parentKVM: x86: flush pending lapic jump label updates on module unload (diff)
downloadkernel-129a72a0d3c8e139a04512325384fe5ac119e74d.tar.gz
kernel-129a72a0d3c8e139a04512325384fe5ac119e74d.zip
KVM: x86: Introduce segmented_write_std
Introduces segemented_write_std. Switches from emulated reads/writes to standard read/writes in fxsave, fxrstor, sgdt, and sidt. This fixes CVE-2017-2584, a longstanding kernel memory leak. Since commit 283c95d0e389 ("KVM: x86: emulate FXSAVE and FXRSTOR", 2016-11-09), which is luckily not yet in any final release, this would also be an exploitable kernel memory *write*! Reported-by: Dmitry Vyukov <[email protected]> Cc: [email protected] Fixes: 96051572c819194c37a8367624b285be10297eca Fixes: 283c95d0e3891b64087706b344a4b545d04a6e62 Suggested-by: Paolo Bonzini <[email protected]> Signed-off-by: Steve Rutherford <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions