[Patch 0/1] [SRU] [Precise/Trusty/Utopic/Vivid/Wily] [CVE-2015-7513] [PATCH] KVM: x86: Reload pit counters for all channels when restoring state

Brad Figg brad.figg at canonical.com
Thu Jan 7 22:11:00 UTC 2016


BugLink: http://bugs.launchpad.net/bugs/1530956

Currently if userspace restores the pit counters with a count of 0
on channels 1 or 2 and the guest attempts to read the count on those
channels, then KVM will perform a mod of 0 and crash.  This will ensure
that 0 values are converted to 65536 as per the spec.

This is CVE-2015-7513.

Andrew Honig (1):
  KVM: x86: Reload pit counters for all channels when restoring state

 arch/x86/kvm/x86.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.6.4





More information about the kernel-team mailing list