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

Summary

CVECVE-2026-64221
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-24 16:16:49 UTC
Updated2026-07-24 16:16:49 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 9c6f306a8140962c7284197db54b96fdb5f468d6 git Not specified
CNA Linux Linux affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6 git Not specified
CNA Linux Linux affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 d6f422b122922d1abee907d673bcc990e5f3672d git Not specified
CNA Linux Linux affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 f2dc841d7dc9063fe9b47ced869b1271e55052ae git Not specified
CNA Linux Linux affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 1cd927002120678bd5d23c760246639caa53040e git Not specified
CNA Linux Linux affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 d7a076fb596c7b408ed6df74793a597990a6d860 git Not specified
CNA Linux Linux affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 178b9b570c0f75fa7e691490520328b20d19138e git Not specified
CNA Linux Linux affected c687c46e9e4527c4b4d82bc3cca58c1b08bcfb83 ea6ec3343e05f7937a53eb6d7617b3abdb4abc19 git Not specified
CNA Linux Linux affected 4.12 Not specified
CNA Linux Linux unaffected 4.12 semver Not specified
CNA Linux Linux unaffected 5.10.258 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.209 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.142 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.92 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.34 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.11 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/ea6ec3343e05f7937a53eb6d7617b3abdb4abc19 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/178b9b570c0f75fa7e691490520328b20d19138e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d7a076fb596c7b408ed6df74793a597990a6d860 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f2dc841d7dc9063fe9b47ced869b1271e55052ae 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1cd927002120678bd5d23c760246639caa53040e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d6f422b122922d1abee907d673bcc990e5f3672d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9c6f306a8140962c7284197db54b96fdb5f468d6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report