CVE-2026-64169

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

Published Jul 19, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

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

The driver falls back to PIO mode if DMA setup fails during probe.

Make sure to the clear the DMA channel pointers on setup failure to
avoid dereferencing an error pointer on later probe errors or driver
unbind.

This issue was flagged by Sashiko when reviewing a devres allocation
conversion patch.

Analysis

AI-generated

Technical impact

A kernel driver for SPI devices on the ep93xx family has an error‑pointer dereference that can occur when a DMA setup fails during the probe phase. The fault is triggered because the driver fails to clear DMA channel pointers after a failure, allowing later code to attempt to use an invalid pointer, which results in a kernel panic and system crash. The weakness is identified as CWE‑476 (null pointer dereference) and CWE‑824 (uninitialized or invalid value). The impact is a local denial of service: a user with privilege to load the driver or reload the kernel module can force a kernel crash, causing loss of availability and potential loss of data if the system is not recovered.

Affected Systems

Any system running a Linux kernel that includes the ep93xx SPI driver is affected. No specific kernel version range is listed, but any kernel containing the unpatched ep93xx driver is vulnerable. The specific vendor is Linux, and the affected components are broadly the Linux kernel’s SPI ep93xx driver implementation.

Risk and Exploitability

The EPSS score is < 1%, indicating a very low probability of automated exploitation. The vulnerability is not cataloged in the CISA KEV database, further suggesting limited active exploitation. The CVSS score of 5.5 indicates a medium severity. Because the fault occurs during driver probe and requires the driver to be loaded, the attack vector is local with an attacker needing some level of user or kernel module loading privileges. Successful exploitation would lead to a system crash, allowing a local attacker to disrupt service or cause further damage after a reboot. Because it is a local denial of service, the threat is moderate, but for systems where uptime is critical, the risk should be addressed promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that contains the ep93xx driver patch reflected in the provided git commits
  • Reboot the system after the kernel update to ensure the new driver is in use
  • If an update is not available, consider disabling or removing the ep93xx SPI devices to prevent the driver from being loaded

Generated by OpenCVE AI on August 13, 2026 at 18:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-476
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: spi: ep93xx: fix error pointer deref after DMA setup failure The driver falls back to PIO mode if DMA setup fails during probe. Make sure to the clear the DMA channel pointers on setup failure to avoid dereferencing an error pointer on later probe errors or driver unbind. This issue was flagged by Sashiko when reviewing a devres allocation conversion patch.
Title spi: ep93xx: 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
Weaknesses
  • CWE-476

    NULL Pointer Dereference

  • CWE-824

    Access of Uninitialized Pointer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jul 19, 2026, 3:40 PM
Reserved
Jul 19, 2026, 7:54 AM
Status
Analyzed
Published
Jul 19, 2026, 4:17 PM
Modified
Aug 13, 2026, 3:31 PM
Severity
Public date
Jul 19, 2026, 12:00 AM