Bug 2506812 (CVE-2026-64221) - CVE-2026-64221 kernel: Linux kernel: spi: ti-qspi use-after-free allows privilege escalation or denial of service
Summary: CVE-2026-64221 kernel: Linux kernel: spi: ti-qspi use-after-free allows privi...
Keywords:
Status: NEW
Alias: CVE-2026-64221
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-24 16:05 UTC by OSIDB Bzimport
Modified: 2026-08-13 15:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-24 16:05:09 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-07-28 11:46:56 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026072416-CVE-2026-64221-299d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.