CVE-2026-97512

spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM

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

spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM

The runtime PM functions had incomplete error handling that could leave the
system in an inconsistent state. If any operation failed midway through
suspend or resume, some resources would be left in the wrong state while
others were already changed, leading to potential clock/power imbalances.

Reorder the suspend/resume sequences to avoid brownout risk by ensuring the
performance state is set appropriately before clocks are enabled and clocks
are disabled before dropping the performance state.

Fix by adding proper error checking for all operations and using goto-based
cleanup to ensure all successfully acquired resources are properly released
on any error.

Analysis

AI-generated

Technical impact

The Linux kernel driver for QCOM QSPI devices had incomplete error handling in its runtime power management routines. If the driver failed partway through suspend or resume, the module left system clocks, power states, and performance states mis‑synchronized. This inconsistency could cause brownout events and other power‑management problems, potentially destabilizing the system or degrading performance.

Affected Systems

The vulnerability affects all Linux kernel builds that include the spi-qcom-qspi driver prior to the patch. No specific version numbers are listed; the issue exists in any kernel version that deployed the driver code before the fix. All devices that run the QCOM QSPI controller on the Linux kernel are potentially impacted.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and the EPSS score is less than 1%, suggesting a low probability of exploitation. The vulnerability is not currently listed in the CISA KEV catalog, implying no publicly known exploits have been observed. The likely attack vector involves a local attacker with root or kernel debugging privileges who can trigger suspend or resume operations to force a resource mis‑management scenario. Given the lack of exploit data, the focus is on preventing the erroneous state rather than mitigating a known exploit.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the transaction fix in spi-qcom-qspi, for example by pulling commit 62dd3b8d3a92eb4e080b2ae491c2a5341654c1ee or applying its patch to the current kernel source tree.
  • Rebuild or install the updated kernel, then reboot the system to ensure the corrected driver is active.
  • Verify that the driver is free of errors by checking dmesg or system logs for any residual suspend/resume failure messages after performing a test suspend/resume cycle. If upgrading the kernel is not immediately possible, consider disabling runtime power management for the QSPI device in the kernel configuration or via a device tree property to eliminate the risk of inconsistent state.

Generated by OpenCVE AI on October 1, 2026 at 10:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-252
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

Type Values Removed Values Added
Weaknesses CWE-708
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM The runtime PM functions had incomplete error handling that could leave the system in an inconsistent state. If any operation failed midway through suspend or resume, some resources would be left in the wrong state while others were already changed, leading to potential clock/power imbalances. Reorder the suspend/resume sequences to avoid brownout risk by ensuring the performance state is set appropriately before clocks are enabled and clocks are disabled before dropping the performance state. Fix by adding proper error checking for all operations and using goto-based cleanup to ensure all successfully acquired resources are properly released on any error.
Title spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-252

    Unchecked Return Value

  • CWE-708

    Incorrect Ownership Assignment

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:37 PM
Reserved
Sep 24, 2026, 4:01 PM
Status
Received
Published
Sep 24, 2026, 5:17 PM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Sep 24, 2026, 12:00 AM