linux/drivers/vfio
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
..
pci vfio-pci: Fix possible integer overflow 2013-03-26 11:33:16 -06:00
Kconfig vfio: Add PCI device driver 2012-07-31 08:16:24 -06:00
Makefile vfio: Type1 IOMMU implementation 2012-07-31 08:16:23 -06:00
vfio_iommu_type1.c vfio: Type1 IOMMU implementation 2012-07-31 08:16:23 -06:00
vfio.c vfio: convert to idr_alloc() 2013-02-27 19:10:19 -08:00