original_kernel/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
..
Kconfig KVM: Introduce direct MSI message injection for in-kernel irqchips 2012-04-24 15:59:47 +03:00
assigned-dev.c KVM: Convert intx_mask_lock to spin lock 2012-03-20 12:41:24 +02:00
async_pf.c
async_pf.h
coalesced_mmio.c
coalesced_mmio.h
eventfd.c
ioapic.c KVM: dont clear TMR on EOI 2012-04-16 20:36:38 -03:00
ioapic.h KVM: dont clear TMR on EOI 2012-04-16 20:36:38 -03:00
iodev.h
iommu.c KVM: lock slots_lock around device assignment 2012-04-19 00:04:18 -03:00
irq_comm.c KVM: Fix buffer overflow in kvm_set_irq() 2012-06-05 16:39:58 +03:00
kvm_main.c KVM: s390: Implement the directed yield (diag 9c) hypervisor call for KVM 2012-04-30 21:38:31 -03:00