Vigil@nce - Linux kernel: memory corruption via vapic_addr
December 2013 by Vigil@nce
This bulletin was written by Vigil@nce : http://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
A local attacker can generate a memory corruption via vapic_addr
in the Linux kernel, in order to trigger a denial of service, and
possibly to execute code.
Impacted products: Fedora, Linux, RHEL
Severity: 2/4
Creation date: 13/12/2013
DESCRIPTION OF THE VULNERABILITY
The KVM (Kernel Virtual Machine) feature is used for
virtualization.
The kvm_lapic_sync_from_vapic() and kvm_lapic_sync_to_vapic()
functions of the arch/x86/kvm/lapic.c file use the
vcpu->arch.apic->vapic_addr variable to compute the offset in a
memory page. However, if this value is at the end of a page, an
error occurs.
A local attacker can therefore generate a memory corruption via
vapic_addr in the Linux kernel, in order to trigger a denial of
service, and possibly to execute code.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN
http://vigilance.fr/vulnerability/Linux-kernel-memory-corruption-via-vapic-addr-13945