CVE-2026-64303

spi: fsl-lpspi: terminate the RX channel on TX prepare failure path

CRITICAL
9.8
CVSS Score
Published: July 25, 2026 at 08:49 AM UTC
Updated: October 19, 2026 at 09:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: spi: fsl-lpspi: terminate the RX channel on TX prepare failure path When dmaengine_prep_slave_sg() fails for the TX channel, the error path terminates the TX DMA channel but leaves the RX channel running. Since the RX channel was already submitted and issued prior to preparing the TX descriptor, returning -EINVAL causes the SPI core to unmap the DMA buffers while the RX DMA engine continues writing to them, leading to potential memory corruption or use-after-free. Terminate the RX channel before returning on the TX prepare failure path.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.2125.16 ≤ v < 6.1.1785.2 ≤ v < 5.10.2616.13 ≤ v < 6.18.396.19 ≤ v < 7.1.46.2 ≤ v < 6.6.1456.7 ≤ v < 6.12.965.29c4466ce7ea494993c635ba5edb6d2222a806
Vendor states this is fixed in 01980b5da56e573d62798d0ff6c86bcaa2b22cbe (fixed)
Vendor states this is fixed in 808033d80d5c9f8adf7e8de9317389270ce13430 (fixed)
Vendor states this is fixed in 9d000bdd250d649a11cd7f733175686877344582 (fixed)
Vendor states this is fixed in ad370d1c7a9a832f77b2341513cd31188c9443af (fixed)
Vendor states this is fixed in af39a2698f69b584d14a00cffe0f51a2caa15337 (fixed)
Vendor states this is fixed in cce2063404b2341e7b2bbf85eddfcd70a31a0033 (fixed)
Vendor states this is fixed in d5c1060218a3749c8a18b36f8169d910fce20639 (fixed)
Vendor states this is fixed in e65505d91fa036a238968e4c10744244d1b968c4 (fixed)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.96 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

9.8CRITICALLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card