Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97512 Overview
CVE-2026-97512 affects the Linux kernel's Qualcomm Quad SPI (QSPI) driver (spi-qcom-qspi). The runtime Power Management (PM) functions contained incomplete error handling. A failed operation during suspend or resume could leave the subsystem in an inconsistent state, producing clock and power imbalances. The sequence also created a brownout risk because clocks were enabled before the performance state was raised, and the performance state was dropped before clocks were disabled. The kernel maintainers fixed the issue by reordering the suspend and resume paths and introducing goto-based cleanup to release every acquired resource on error.
Critical Impact
Faulty runtime PM transitions in the Qualcomm QSPI driver can trigger clock or power imbalance, hardware brownout, and system instability on affected Qualcomm platforms.
Affected Products
- Linux kernel builds that include the spi-qcom-qspi driver
- Qualcomm-based platforms exposing a QSPI controller
- Downstream distributions and vendor kernels tracking the stable tree prior to the fix commits
Discovery Timeline
- 2026-09-24 - CVE-2026-97512 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97512
Vulnerability Analysis
The vulnerability resides in the runtime PM callbacks of the spi-qcom-qspi driver. The suspend and resume routines executed a sequence of resource transitions, including clock gating and OPP performance state changes, without validating the return value of every step. When one step failed partway through, the driver did not unwind the operations that had already succeeded. The resulting state mismatch between clocks, regulators, and performance votes could persist across subsequent PM transitions.
The fix reorders the suspend and resume sequences so that the performance state is raised before clocks are enabled and lowered only after clocks are disabled. This ordering prevents the controller from running at an insufficient voltage or frequency, which is the condition that produces a brownout. The patch also introduces goto-based cleanup labels so that any failed step unwinds every resource acquired earlier in the function.
Root Cause
The root cause is incomplete error handling combined with an incorrect ordering of power and clock operations in the runtime PM callbacks. Error returns from intermediate operations were not checked, and no cleanup path released partially acquired resources. This category of defect maps to improper error handling in kernel driver PM paths.
Attack Vector
The condition is triggered by runtime PM transitions on affected Qualcomm hardware rather than by a remote network input. Repeated or failing suspend and resume cycles on a system using the QSPI controller can drive the driver into an inconsistent clock or power state. The practical consequence is local denial of service or hardware instability on affected platforms. No remote exploitation path is documented in the fix commits.
The repaired code paths and reorderings are documented in the stable tree commits 62dd3b8d3a92, bb18a346271f, and d283d5d4d9f6.
Detection Methods for CVE-2026-97512
Indicators of Compromise
- Kernel log entries from the spi-qcom-qspi driver reporting failed clock enable, disable, or OPP set_rate operations during runtime PM transitions.
- Unexpected regulator or clock imbalance warnings referencing the QSPI controller.
- System hangs, resets, or SPI flash access failures correlated with suspend or resume events.
Detection Strategies
- Enumerate running kernel versions against the fixed stable tree commits to identify unpatched Qualcomm hosts.
- Parse dmesg and persistent kernel logs for repeated QSPI PM errors and clock imbalance messages.
- Monitor fleet telemetry for Qualcomm devices showing abnormal reboot patterns linked to PM activity.
Monitoring Recommendations
- Centralize kernel log collection from embedded and Qualcomm-based Linux endpoints into your SIEM or data lake.
- Alert on recurring runtime PM failure strings tied to spi-qcom-qspi across managed hosts.
- Track kernel build versions in asset inventory so unpatched hosts surface during vulnerability reporting.
How to Mitigate CVE-2026-97512
Immediate Actions Required
- Apply the stable kernel updates containing commits 62dd3b8d3a92, bb18a346271f, and d283d5d4d9f6.
- Rebuild and redeploy vendor kernels for Qualcomm platforms that ship the spi-qcom-qspi driver.
- Validate that storage and firmware subsystems backed by QSPI flash resume correctly after patching.
Patch Information
The Linux kernel maintainers resolved CVE-2026-97512 by reordering the suspend and resume sequences and adding goto-based cleanup in the spi-qcom-qspi runtime PM callbacks. Fixes are available in the mainline and stable trees via the referenced commits. Distribution vendors shipping Qualcomm-targeted kernels should backport these commits into supported branches.
Workarounds
- Disable runtime PM for the QSPI controller where operationally acceptable until the patched kernel is deployed.
- Avoid aggressive autosuspend policies on affected Qualcomm platforms to reduce the frequency of PM transitions.
- Restrict physical and administrative access to affected devices to prevent intentional triggering of PM-related instability.
# Verify running kernel version and QSPI driver presence
uname -r
modinfo spi-qcom-qspi 2>/dev/null | grep -E 'filename|version'
# Capture runtime PM errors for the QSPI driver
dmesg | grep -iE 'qspi|spi-qcom-qspi'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

