linux/drivers/vfio
Alper Ak acf44a2361 vfio/xe: Fix use-after-free in xe_vfio_pci_alloc_file()
migf->filp is accessed after migf has been freed. Save the error
value before calling kfree() to prevent use-after-free.

Fixes: 1f5556ec8b ("vfio/xe: Add device specific vfio_pci driver variant for Intel graphics")
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Link: https://lore.kernel.org/r/20251225151349.360870-1-alperyasinak1@gmail.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
2025-12-28 12:42:46 -07:00
..
cdx
fsl-mc
mdev
pci vfio/xe: Fix use-after-free in xe_vfio_pci_alloc_file() 2025-12-28 12:42:46 -07:00
platform
Kconfig
Makefile
container.c
debugfs.c
device_cdev.c
group.c
iommufd.c
vfio.h
vfio_iommu_spapr_tce.c
vfio_iommu_type1.c
vfio_main.c
virqfd.c