In the Linux kernel, the following vulnerability has been resolved: spi: sprd: fix error pointer deref after DMA setup failure The driver falls back… (CVE-2026-64168)
A vulnerability in the Linux kernel's spi: sprd driver could lead to a null pointer dereference after a DMA setup failure during probe. The driver attempts to fall back to PIO mode if DMA setup fails, but improper checking of the dma.enabled flag before releasing DMA channels on late probe errors can cause dereferencing of an error pointer or double release of a channel. This issue has been resolved in the Linux kernel.
AI Analysis
Technical Summary
The Linux kernel spi: sprd driver contained a flaw where, if DMA setup failed during device probe, the driver would fall back to PIO mode but did not properly check the dma.enabled flag before releasing DMA channels on late probe errors. This could result in dereferencing an error pointer or attempting to release a DMA channel twice, leading to a potential denial of service via kernel crash. The vulnerability is identified as CWE-476 (NULL Pointer Dereference). The issue was discovered during a devres allocation conversion patch review and has been fixed in the kernel.
Potential Impact
The vulnerability can cause a kernel crash (denial of service) due to null pointer dereference or double release of DMA channels when DMA setup fails during probe. There is no impact on confidentiality or integrity. The CVSS score is 5.5 (medium severity) with local attack vector, low complexity, low privileges required, no user interaction, and impact limited to availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly check the dma.enabled flag before releasing DMA channels on late probe errors, preventing dereferencing of error pointers. Users should update to the fixed Linux kernel version containing this patch. Patch status is not explicitly stated; check the official Linux kernel advisory or source repository for the exact fixed version and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: spi: sprd: fix error pointer deref after DMA setup failure The driver falls back… (CVE-2026-64168)
Description
A vulnerability in the Linux kernel's spi: sprd driver could lead to a null pointer dereference after a DMA setup failure during probe. The driver attempts to fall back to PIO mode if DMA setup fails, but improper checking of the dma.enabled flag before releasing DMA channels on late probe errors can cause dereferencing of an error pointer or double release of a channel. This issue has been resolved in the Linux kernel.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel spi: sprd driver contained a flaw where, if DMA setup failed during device probe, the driver would fall back to PIO mode but did not properly check the dma.enabled flag before releasing DMA channels on late probe errors. This could result in dereferencing an error pointer or attempting to release a DMA channel twice, leading to a potential denial of service via kernel crash. The vulnerability is identified as CWE-476 (NULL Pointer Dereference). The issue was discovered during a devres allocation conversion patch review and has been fixed in the kernel.
Potential Impact
The vulnerability can cause a kernel crash (denial of service) due to null pointer dereference or double release of DMA channels when DMA setup fails during probe. There is no impact on confidentiality or integrity. The CVSS score is 5.5 (medium severity) with local attack vector, low complexity, low privileges required, no user interaction, and impact limited to availability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly check the dma.enabled flag before releasing DMA channels on late probe errors, preventing dereferencing of error pointers. Users should update to the fixed Linux kernel version containing this patch. Patch status is not explicitly stated; check the official Linux kernel advisory or source repository for the exact fixed version and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5w89-7hjx-x8fr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64168"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27a82a4a8d598912a874
Added to database: 07/19/2026, 19:38:16 UTC
Last enriched: 08/13/2026, 19:13:01 UTC
Last updated: 08/30/2026, 22:52:13 UTC
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.