Description
In the Linux kernel, the following vulnerability has been resolved:

spi: qup: 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 (or attempting to release a channel
a second time) on later probe errors or driver unbind.

This issue was flagged by Sashiko when reviewing a devres allocation
conversion patch.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The QUP (Qualcomm QUP) SPI driver in the Linux kernel contains a flaw where a failed DMA setup during driver probe can leave the DMA channel pointers set to an error value. When the driver later dereferences these pointers or attempts to free the DMA channel a second time, an invalid memory reference occurs (CWE‑825). This results in a kernel crash, leading to an immediate loss of system availability.

Affected Systems

The vulnerability exists in all Linux kernel builds that include the QUP driver and have not yet applied the recent patch that clears DMA channel pointers on setup failure. No specific kernel version is listed, so any distribution or kernel version containing the unpatched driver is potentially affected.

Risk and Exploitability

The CVSS score of 5.5 classifies the issue as medium severity. The EPSS score of below 1 % indicates a low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires local or privileged access during driver probe, so the attack vector is inferred to be local. The overall risk is moderate but with a low likelihood of targeted attacks.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the patch clearing DMA channel pointers on setup failure, such as the commit 0bb3bd4 or a newer released kernel that contains this fix.
  • If a kernel upgrade cannot be performed immediately, unload the qcom_qup module to prevent it from loading until the patch is available, using modprobe -r qcom_qup or appropriate initramfs adjustments.
  • Blacklist the QUP driver to stop it from loading automatically by adding "blacklist qcom_qup" to a file in /etc/modprobe.d/

Generated by OpenCVE AI on July 30, 2026 at 20: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
History

Mon, 20 Jul 2026 12:15:00 +0000

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

None

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'}

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: qup: 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 (or attempting to release a channel a second time) on later probe errors or driver unbind. This issue was flagged by Sashiko when reviewing a devres allocation conversion patch.
Title spi: qup: 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:54.999Z

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

Link: CVE-2026-64170

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-64170 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-825

    Expired Pointer Dereference