CVE-2026-64221

Source
https://cve.org/CVERecord?id=CVE-2026-64221
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64221.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-64221
Downstream
Published
2026-07-24T15:23:07.502Z
Modified
2026-07-28T03:46:33.282059398Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
spi: ti-qspi: fix use-after-free after DMA setup failure
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64221.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83
Fixed
9c6f306a8140962c7284197db54b96fdb5f468d6
Fixed
3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6
Fixed
d6f422b122922d1abee907d673bcc990e5f3672d
Fixed
f2dc841d7dc9063fe9b47ced869b1271e55052ae
Fixed
1cd927002120678bd5d23c760246639caa53040e
Fixed
d7a076fb596c7b408ed6df74793a597990a6d860
Fixed
178b9b570c0f75fa7e691490520328b20d19138e
Fixed
ea6ec3343e05f7937a53eb6d7617b3abdb4abc19

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64221.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.12.0
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.142
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.92
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64221.json"