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

High 7.8 Published Updated

A double free vulnerability in the Linux kernel's vfio/pci driver allows attackers to cause denial of service or potentially execute code via file descriptor exhaustion.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31468?

CVE-2026-31468 is a high-severity memory corruption vulnerability in Linux kernel, published on 22 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-415

Which versions are affected by CVE-2026-31468?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31468?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-31468 being exploited?

There is no known exploitation of CVE-2026-31468 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-31468, GHSA-489p-vfcx-x55r, UBUNTU-CVE-2026-31468.

Is CVE-2026-31468 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free