linux/virt/kvm
Avi Kivity f2ebd422f7 KVM: Fix buffer overflow in kvm_set_irq()
kvm_set_irq() has an internal buffer of three irq routing entries, allowing
connecting a GSI to three IRQ chips or on MSI.  However setup_routing_entry()
does not properly enforce this, allowing three irqchip routes followed by
an MSI route to overflow the buffer.

Fix by ensuring that an MSI entry is added to an empty list.

Signed-off-by: Avi Kivity <avi@redhat.com>
2012-06-05 16:39:58 +03:00
..
assigned-dev.c
async_pf.c
async_pf.h
coalesced_mmio.c
coalesced_mmio.h
eventfd.c
ioapic.c
ioapic.h
iodev.h
iommu.c
irq_comm.c KVM: Fix buffer overflow in kvm_set_irq() 2012-06-05 16:39:58 +03:00
Kconfig
kvm_main.c KVM: s390: Implement the directed yield (diag 9c) hypervisor call for KVM 2012-04-30 21:38:31 -03:00