Database/Kernel, userspace & hypervisor
Linux kernel (drivers/vfio/pci): Vfio-pci exports a dma-buf over BAR memory without confirming those BAR resources were
Impact
Vfio-pci exports a dma-buf over BAR memory without confirming those BAR resources were ever actually reserved, so a tenant can obtain a mapping to physical MMIO the driver does not own. That is a handle onto whatever else lives at those addresses - another device's registers, or host-owned MMIO - reachable from inside the container.
Who can reach it
A tenant holding /dev/vfio/<group> calls the vfio-pci dma-buf feature ioctl on a device whose BAR resources were not reserved at probe (BAR sizing quirks, resource conflicts, or a device where the reservation silently failed). Requires the vfio-pci dma-buf export feature to be present and enabled; no host root.
What to do
Update to a stable kernel carrying commits 8443cd44 / 702809da. Interim: do not enable the vfio-pci dma-buf export feature for tenant-held devices, and verify at bind time that each passthrough device's BARs were successfully reserved before handing the group to a tenant.
References
Related entries
- Linux kernel (drivers/vfio/pci): If vfio-pci device registration fails after the device joined the VGA arbiter, theCVE-2026-64475 · Linux kernel (drivers/vfio/pci)High
- Linux kernel (drivers/vfio/pci): A tenant races a DisINTx write to emulated config space against a SET_IRQS ioctl, soCVE-2024-26810 · Linux kernel (drivers/vfio/pci)High
- Linux kernel (drivers/vfio/pci): A tenant holding a passthrough PCI device can make the kernel signal an interruptCVE-2024-26812 · Linux kernel (drivers/vfio/pci)High
- Linux kernel (drivers/vfio/pci): Out-of-bounds read past the ecap_perms table when a tenant touches emulated PCIeCVE-2024-53214 · Linux kernel (drivers/vfio/pci)High
- Linux kernel (drivers/vfio/pci): The error path of the vfio-pci dma-buf export falls through the whole unwind chainCVE-2026-31468 · Linux kernel (drivers/vfio/pci)High
- Linux kernel (drivers/vfio/pci): Whoever holds the VFIO device fd for a passed-through PCI function can make the hostCVE-2022-49219 · Linux kernel (drivers/vfio/pci)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.