alistair23-linux/drivers/vfio
Alex Williamson 956b56a984 vfio/pci: Fix ordering of eventfd vs virqfd shutdown
Both the INTx and MSI/X disable paths do an eventfd_ctx_put() for the
trigger eventfd before calling vfio_virqfd_disable() any potential
mask and unmask eventfds.  This opens a use-after-free race where an
inopportune irqfd can reference the freed signalling eventfd.  Reorder
to avoid this possibility.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2016-05-30 07:50:10 -06:00
..
pci vfio/pci: Fix ordering of eventfd vs virqfd shutdown 2016-05-30 07:50:10 -06:00
platform vfio: fix ioctl error handling 2016-02-28 07:38:52 -07:00
Kconfig vfio: Include No-IOMMU mode 2015-12-21 15:28:11 -07:00
Makefile
vfio.c vfio: Add capability chain helpers 2016-02-22 16:10:08 -07:00
vfio_iommu_spapr_tce.c VFIO updates for v4.7-rc1 2016-05-25 09:47:26 -07:00
vfio_iommu_type1.c iommu: Allow selecting page sizes per domain 2016-05-09 15:33:29 +02:00
vfio_spapr_eeh.c
virqfd.c