CVE-2026-53322

vfio/pci: Clean up DMABUFs before disabling function

State
Published
Severity
8.8 High
Published
Jun 26, 2026
Updated
Sep 9, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-826 Premature Release of Resource During Expected Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 5d74781ebc86c5fa9e9d6934024c505412de9b52 to before 4f1000a30f67cf7d328059242776a858611d5ef9Affected
  • 5d74781ebc86c5fa9e9d6934024c505412de9b52 to before d97708701434ce72968e771976aaf9d3438fcafdAffected
LinuxLinux
  • 6.19Affected
  • before 6.19Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.