Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-31468

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-31468

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5d74781ebc86c5fa9e9d6934024c505412de9b52",
        "lessThan": "83ad334afc9a645cef1062f5346526b1e36d6516",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5d74781ebc86c5fa9e9d6934024c505412de9b52",
        "lessThan": "e98137f0a874ab36d0946de4707aa48cb7137d1c",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/vfio/pci/vfio_pci_dmabuf.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.19.11",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/vfio/pci/vfio_pci_dmabuf.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-31468

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#39885 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement