CVE-2026-64221 spi: ti-qspi: fix use-after-free after DMA setup failure
A use-after-free vulnerability in the TI QSPI driver allows attackers to cause denial of service or execute arbitrary code via DMA setup failures.
- 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-64221?
CVE-2026-64221 is a high-severity use after free vulnerability in Linux kernel, published on 24 Jul 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:
spi: ti-qspi: fix use-after-free after DMA setup failure
The driver falls back to PIO mode if DMA setup fails during probe.
Make sure to clear the DMA channel pointer also if buffer allocation fails to avoid passing a pointer to the released channel to the DMA engine (or trying to free the channel a second time on late probe errors or driver unbind).
This issue was flagged by Sashiko when reviewing a devres allocation conversion patch.
Weakness: CWE-416
Which versions are affected by CVE-2026-64221?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-64221?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-64221 being exploited?
There is no known exploitation of CVE-2026-64221 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-64221, DEBIAN-CVE-2026-64221, GHSA-h6qc-gvg6-xmjq, ROOT-OS-UBUNTU-2204-CVE-2026-64221, UBUNTU-CVE-2026-64221.