# CVE-2026-53322: vfio/pci: Clean up DMABUFs before disabling function

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-26T19:41:13.245Z
- Modified: 2026-09-09T13:20:29.680Z
- Weaknesses: CWE-415, CWE-826
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5d74781ebc86c5fa9e9d6934024c505412de9b52 before 4f1000a30f67cf7d328059242776a858611d5ef9; from 5d74781ebc86c5fa9e9d6934024c505412de9b52 before d97708701434ce72968e771976aaf9d3438fcafd; 6.19 (not affected: before 6.19; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- kernel: no versions given (not affected: from 0:6.12.0-211.53.1.el10_2 before *)
- kernel-rt: no versions given
- linux linux_kernel: from 6.19 before 7.0.10

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/4f1000a30f67cf7d328059242776a858611d5ef9> (patch)
- <https://git.kernel.org/stable/c/d97708701434ce72968e771976aaf9d3438fcafd> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-53322> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2493709> (issue-tracking, third-party-advisory)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53322.json> (third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65334> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-53322](https://www.cve.org/CVERecord?id=CVE-2026-53322), CVE Terms of Use, modified 2026-09-09
- NVD: [CVE-2026-53322](https://nvd.nist.gov/vuln/detail/CVE-2026-53322), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-53322 · Whole record: https://cve.day/CVE-2026-53322.json · Rebuilt by cve.day 2026-11-25T22:59:26.538Z
