linux/arch/x86/kvm
Andrew Honig 0185604c2d 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>
2015-12-22 15:36:26 +01:00
..
assigned-dev.c
assigned-dev.h
cpuid.c
cpuid.h
emulate.c
hyperv.c
hyperv.h
i8254.c
i8254.h
i8259.c
ioapic.c
ioapic.h
iommu.c
irq_comm.c
irq.c
irq.h
Kconfig
kvm_cache_regs.h
lapic.c
lapic.h
Makefile
mmu_audit.c
mmu.c
mmu.h
mmutrace.h
mtrr.c
paging_tmpl.h
pmu_amd.c
pmu_intel.c
pmu.c
pmu.h
svm.c
trace.h
tss.h
vmx.c
x86.c KVM: x86: Reload pit counters for all channels when restoring state 2015-12-22 15:36:26 +01:00
x86.h