CVE-2026-64221

spi: ti-qspi: fix use-after-free after DMA setup failure

HIGH
7.8
CVSS Score
Published: July 24, 2026 at 03:23 PM UTC
Updated: August 11, 2026 at 06:38 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.12 ≤ v < 5.10.2584.12 ≤ v < 5.15.2094.12 ≤ v < 6.1.1754.12 ≤ v < 6.12.924.12 ≤ v < 6.18.344.12 ≤ v < 6.6.1424.12 ≤ v < 7.0.114.12 ≤ v < 7.15.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.346.19 ≤ v < 7.0.116.2 ≤ v < 6.6.1426.7 ≤ v < 6.12.927.1 rc17.1 rc27.1 rc37.1 rc4c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Vendor states this is fixed in 178b9b570c0f75fa7e691490520328b20d19138e (fixed)
Vendor states this is fixed in 1cd927002120678bd5d23c760246639caa53040e (fixed)
Vendor states this is fixed in 3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6 (fixed)
Vendor states this is fixed in 9c6f306a8140962c7284197db54b96fdb5f468d6 (fixed)
Vendor states this is fixed in d6f422b122922d1abee907d673bcc990e5f3672d (fixed)
Vendor states this is fixed in d7a076fb596c7b408ed6df74793a597990a6d860 (fixed)
Vendor states this is fixed in ea6ec3343e05f7937a53eb6d7617b3abdb4abc19 (fixed)
Vendor states this is fixed in f2dc841d7dc9063fe9b47ced869b1271e55052ae (fixed)
Vendor states this is fixed in 4.12 (unaffected)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.92 (unaffected)
Vendor states this is fixed in 6.18.34 (unaffected)
Vendor states this is fixed in 6.6.142 (unaffected)
Vendor states this is fixed in 7.0.11 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card