# CVE-2026-31468: vfio/pci: Fix double free in dma-buf feature

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/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-04-22T13:53:57.583Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

vfio/pci: Fix double free in dma-buf feature

The error path through vfio_pci_core_feature_dma_buf() ignores its
own advice to only use dma_buf_put() after dma_buf_export(), instead
falling through the entire unwind chain.  In the unlikely event that
we encounter file descriptor exhaustion, this can result in an
unbalanced refcount on the vfio device and double free of allocated
objects.

Avoid this by moving the "put" directly into the error path and return
the errno rather than entering the unwind chain.

(As written by CVE List.)

## Affected

- Linux Linux: from 5d74781ebc86c5fa9e9d6934024c505412de9b52 before 83ad334afc9a645cef1062f5346526b1e36d6516; from 5d74781ebc86c5fa9e9d6934024c505412de9b52 before e98137f0a874ab36d0946de4707aa48cb7137d1c; 6.19 (not affected: before 6.19; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.19 before 6.19.11; 7.0

## References

- <https://git.kernel.org/stable/c/83ad334afc9a645cef1062f5346526b1e36d6516> (patch)
- <https://git.kernel.org/stable/c/e98137f0a874ab36d0946de4707aa48cb7137d1c> (patch)

## Sources

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

---

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