CVE-2026-64168

spi: sprd: fix error pointer deref after DMA setup failure

MEDIUM
5.5
CVSS Score
Published: July 19, 2026 at 03:40 PM UTC
Updated: August 13, 2026 at 03:47 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
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: spi: sprd: fix error pointer deref after DMA setup failure The driver falls back to PIO mode if DMA setup fails during probe. Make sure to check the dma.enabled flag before trying to release the DMA channels also on late probe errors to avoid dereferencing an error pointer (or attempting to release a channel a second time). This issue was flagged by Sashiko when reviewing a devres allocation conversion patch.

Affected

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

5.1 ≤ v < 5.10.2585.1 ≤ v < 5.15.2095.1 ≤ v < 6.1.1755.1 ≤ v < 6.12.925.1 ≤ v < 6.18.345.1 ≤ v < 6.6.1425.1 ≤ v < 7.0.115.1 ≤ v < 7.15.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.346.19 ≤ v < 7.0.116.2 ≤ v < 6.6.1426.7 ≤ v < 6.12.92386119bc7be9fa5114ced0274a22a943df890b4b7.1 rc17.1 rc27.1 rc37.1 rc4
Vendor states this is fixed in 0cdea166c1a07c200caf9d0b722224fca43b23ae (fixed)
Vendor states this is fixed in 3d67fffb74267772d461c02c67f1eff893ad547d (fixed)
Vendor states this is fixed in 450c319dd04d0eeff4184889768f7ada826a2e35 (fixed)
Vendor states this is fixed in a8f233fb0c7be29b97cd249f64120bf35ce72805 (fixed)
Vendor states this is fixed in b6f1acf4e57ccf708cdc0cb70f5bb5b65162963b (fixed)
Vendor states this is fixed in be409d2bbe9ca7da7b05cc7dde7499bc481f0766 (fixed)
Vendor states this is fixed in be74e276111f3c23b8e040c8c5e308f67a573add (fixed)
Vendor states this is fixed in c33b4496e95d04722055446c0a31213639438536 (fixed)
Vendor states this is fixed in 5.1 (unaffected)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.92 (unaffected)
Vendor states this is fixed in 6.18.34 (unaffected)
Vendor states this is fixed in 6.6.142 (unaffected)
Vendor states this is fixed in 7.0.11 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

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