CVE-2026-64168 spi: sprd: fix error pointer deref after DMA setup failure
A null pointer dereference in the Linux kernel SPI driver can cause a system crash when DMA setup fails during device probing.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-64168?
CVE-2026-64168 is a medium-severity vulnerability in Linux kernel, published on 19 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2026-64168?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-64168?
Apply the vendor's patch.
Is CVE-2026-64168 being exploited?
There is no known exploitation of CVE-2026-64168 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-64168, DEBIAN-CVE-2026-64168, GHSA-5w89-7hjx-x8fr, UBUNTU-CVE-2026-64168.