linux/drivers/vfio/pci
Alex Williamson 904c680c7b vfio-pci: Fix possible integer overflow
The VFIO_DEVICE_SET_IRQS ioctl takes a start and count parameter, both
of which are unsigned.  We attempt to bounds check these, but fail to
account for the case where start is a very large number, allowing
start + count to wrap back into the valid range.  Bounds check both
start and start + count.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2013-03-26 11:33:16 -06:00
..
Kconfig drivers/vfio: remove depends on CONFIG_EXPERIMENTAL 2013-02-24 09:59:44 -07:00
Makefile
vfio_pci.c vfio-pci: Fix possible integer overflow 2013-03-26 11:33:16 -06:00
vfio_pci_config.c vfio: include <linux/slab.h> for kmalloc 2013-03-15 12:58:20 -06:00
vfio_pci_intrs.c vfio: include <linux/slab.h> for kmalloc 2013-03-15 12:58:20 -06:00
vfio_pci_private.h vfio-pci: Add support for VGA region access 2013-02-18 10:11:13 -07:00
vfio_pci_rdwr.c vfio-pci: Add support for VGA region access 2013-02-18 10:11:13 -07:00