CVE-2026-31468: vfio/pci: Fix double free in dma-buf feature
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.
Security readout for executives and security teams
Plain-English summary
A Linux VFIO PCI error-handling flaw can free memory twice when file descriptors are exhausted. A local, low-privileged user may be able to cause serious confidentiality, integrity, or availability impact. Exposure depends on the affected kernel code and VFIO PCI dma-buf feature being present.
Executive priority
Treat as a high-priority kernel maintenance issue on virtualization or device-passthrough systems. Accelerate assessment where untrusted local users can access VFIO functionality. Broader fleets without that exposure can follow risk-based patching after confirming vendor applicability.
Technical view
vfio_pci_core_feature_dma_buf() can fall through its unwind chain after a dma-buf-related failure. Under file descriptor exhaustion, this may unbalance the VFIO device reference count and double-free allocated objects. The published correction moves dma_buf_put() into the appropriate error path and returns the error directly.
Likely exposure
Prioritize Linux systems using VFIO PCI and its dma-buf feature, especially where untrusted local users have access. The bundle identifies the Linux 6.19 line but provides ambiguous flattened version boundaries; confirm exact affected builds against vendor advisories and the referenced stable commits.
Exploitation context
The CVSS vector describes a local, low-complexity attack requiring low privileges and no user interaction. Triggering involves an unlikely file-descriptor-exhaustion error path. The bundle reports no CISA KEV listing and provides no evidence of active exploitation or public weaponization.
Researcher notes
The key condition is erroneous cleanup after dma_buf_export()-related processing encounters file descriptor exhaustion. The resulting reference-count imbalance can lead to double-free behavior. The supplied data does not establish practical exploitability, affected distribution packages, indicators of compromise, or complete version boundaries.
Mitigation direction
Update to a vendor-supported kernel containing the referenced stable correction.
Confirm your distribution’s package maps to one of the cited fixing commits.
Restrict untrusted local access to exposed VFIO PCI functionality where operationally feasible.
Monitor Linux vendor guidance for clarified affected-version boundaries.
Validation and detection
Inventory kernel versions on systems providing VFIO PCI functionality.
Determine whether the VFIO PCI dma-buf feature is enabled or used.
Compare kernel source or vendor package metadata with the cited fixing commits.
Review relevant reliability events for memory corruption or VFIO-related failures without treating them as proof of exploitation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2026-31468 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
3Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.