CVE-2026-64221
spi: ti-qspi: fix use-after-free after DMA setup failure
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.
INFO
Published Date :
July 24, 2026, 4:16 p.m.
Last Modified :
July 24, 2026, 4:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-64221
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update the Linux kernel to the latest version.
- Apply vendor-specific patches for the driver.
- Rebuild and install the updated kernel.
- Reboot the system after updating.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64221.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64221 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64221
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64221 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64221 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83', 'lessThan': '9c6f306a8140962c7284197db54b96fdb5f468d6', 'versionType': 'git'}, {'status': 'affected', 'version': 'c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83', 'lessThan': '3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6', 'versionType': 'git'}, {'status': 'affected', 'version': 'c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83', 'lessThan': 'd6f422b122922d1abee907d673bcc990e5f3672d', 'versionType': 'git'}, {'status': 'affected', 'version': 'c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83', 'lessThan': 'f2dc841d7dc9063fe9b47ced869b1271e55052ae', 'versionType': 'git'}, {'status': 'affected', 'version': 'c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83', 'lessThan': '1cd927002120678bd5d23c760246639caa53040e', 'versionType': 'git'}, {'status': 'affected', 'version': 'c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83', 'lessThan': 'd7a076fb596c7b408ed6df74793a597990a6d860', 'versionType': 'git'}, {'status': 'affected', 'version': 'c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83', 'lessThan': '178b9b570c0f75fa7e691490520328b20d19138e', 'versionType': 'git'}, {'status': 'affected', 'version': 'c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83', 'lessThan': 'ea6ec3343e05f7937a53eb6d7617b3abdb4abc19', 'versionType': 'git'}], 'programFiles': ['drivers/spi/spi-ti-qspi.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.12'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.12', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.142', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.92', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.34', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.11', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/spi/spi-ti-qspi.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/178b9b570c0f75fa7e691490520328b20d19138e Added Reference https://git.kernel.org/stable/c/1cd927002120678bd5d23c760246639caa53040e Added Reference https://git.kernel.org/stable/c/3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6 Added Reference https://git.kernel.org/stable/c/9c6f306a8140962c7284197db54b96fdb5f468d6 Added Reference https://git.kernel.org/stable/c/d6f422b122922d1abee907d673bcc990e5f3672d Added Reference https://git.kernel.org/stable/c/d7a076fb596c7b408ed6df74793a597990a6d860 Added Reference https://git.kernel.org/stable/c/ea6ec3343e05f7937a53eb6d7617b3abdb4abc19 Added Reference https://git.kernel.org/stable/c/f2dc841d7dc9063fe9b47ced869b1271e55052ae