summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/trace.h
diff options
context:
space:
mode:
authorAndrew Honig <ahonig@google.com>2015-11-18 14:50:23 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-12-22 15:36:26 +0100
commit0185604c2d82c560dab2f2933a18f797e74ab5a8 (patch)
tree227382c16c0ce92f1912892e159f6aa770235f3a /arch/x86/kvm/trace.h
parente24dea2afc6a0852983dc741072d8e96155e13f5 (diff)
downloadblackbird-op-linux-0185604c2d82c560dab2f2933a18f797e74ab5a8.tar.gz
blackbird-op-linux-0185604c2d82c560dab2f2933a18f797e74ab5a8.zip
KVM: x86: Reload pit counters for all channels when restoring state
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. Signed-off-by: Andy Honig <ahonig@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/trace.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud