CVE-2026-53322: vfio/pci: Clean up DMABUFs before disabling function
In the Linux kernel, the following vulnerability has been resolved:
vfio/pci: Clean up DMABUFs before disabling function
On device shutdown, make vfiopcicoreclosedevice() call vfiopcidmabufcleanup() before the function is disabled via vfiopcicoredisable(). This ensures that all access via DMABUFs is revoked before the function's BARs become inaccessible.
This fixes an issue where, if the function is disabled first, a tiny window exists in which the function's MSE is cleared and yet BARs could still be accessed via the DMABUF. The resources would also be freed and up for grabs by a different driver.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Update the vfio/pci shutdown path so vfio_pci_core_close_device() calls vfio_pci_dma_buf_cleanup() before disabling the function via vfio_pci_core_disable(), ensuring DMABUF access is freed and revoked before BARs are inaccessible.
Linux kernel (vfio/pci) vfio_pci_core_close_device() = Call vfio_pci_dma_buf_cleanup() before vfio_pci_core_disable() and before BARs become inaccessible
Event History
Frequently Asked Questions
What is the severity of CVE-2026-53322?
CVE-2026-53322 has a high severity rating of 8.8 on the CVSS scale.
How do I fix CVE-2026-53322?
To fix CVE-2026-53322, update your Linux kernel to the latest version that addresses this vulnerability.
What are the potential impacts of CVE-2026-53322?
CVE-2026-53322 can lead to data corruption and loss of integrity in DMA buffers during device shutdown.
Is CVE-2026-53322 a local or remote vulnerability?
CVE-2026-53322 is considered a local vulnerability, as it requires access to the affected system.
Which software is affected by CVE-2026-53322?
CVE-2026-53322 affects the Linux kernel, specifically the vfio/pci component.