CVE-2026-53322 PUBLISHED

vfio/pci: Clean up DMABUFs before disabling function

Assigner: Linux
Reserved: 09.06.2026 Published: 26.06.2026 Updated: 26.06.2026

In the Linux kernel, the following vulnerability has been resolved:

vfio/pci: Clean up DMABUFs before disabling function

On device shutdown, make vfio_pci_core_close_device() call vfio_pci_dma_buf_cleanup() before the function is disabled via vfio_pci_core_disable(). 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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 5d74781ebc86c5fa9e9d6934024c505412de9b52 to 4f1000a30f67cf7d328059242776a858611d5ef9 (excl.)
  • affected from 5d74781ebc86c5fa9e9d6934024c505412de9b52 to d97708701434ce72968e771976aaf9d3438fcafd (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.19 is affected
  • unaffected from 0 to 6.19 (excl.)
  • unaffected from 7.0.10 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References