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.
Published: 2026-07-19
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a null‑pointer dereference in the Linux kernel’s SPI driver for Spreadtrum devices (SP RD). During device probe, if a DMA setup fails, the driver attempts to release DMA channels or dereference an error pointer without checking the dma.enabled flag. This flaw can corrupt kernel memory and cause a kernel panic, leading to a denial of service.

Affected Systems

All Linux kernel versions that include the affected SP RD driver without the patch are vulnerable. This includes every distribution kernel that ships the default SP RD driver, since the driver is part of the core Linux kernel. No separate vendor product line is listed beyond Linux:Linux. The vulnerability exists on any system that uses the driver for SP RD devices and can load it during boot or hotplug.

Risk and Exploitability

The EPSS score is reported to be under 1%, and the issue is not listed in the CISA KEV catalog, indicating a low probability of exploitation in the wild. However, the impact of a kernel crash is catastrophic for any host that relies on the affected driver. Based on the description, it is inferred that the exploit requires control over the device configuration that triggers the probe or a capability to force a DMA setup failure, which is typically limited to privileged users or physical attackers with access to the SPI device.

Generated by OpenCVE AI on July 30, 2026 at 20:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel update that includes the patch commit for CVE-2026-64168.
  • If a kernel upgrade is not possible, disable the SP RD SPI driver or remove it from the kernel configuration to prevent the buggy code from loading.
  • As a temporary measure, apply the local patch from the commit references that checks dma.enabled before releasing DMA channels, and rebuild the kernel.

Generated by OpenCVE AI on July 30, 2026 at 20:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8575-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-2 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8610-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-2 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-3 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-4 Linux kernel (Intel IoTG) vulnerabilities
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

threat_severity

Moderate


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
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.
Title spi: sprd: fix error pointer deref after DMA setup failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T15:40:52.741Z

Reserved: 2026-07-19T07:54:57.038Z

Link: CVE-2026-64168

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64168 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:15:05Z

Weaknesses