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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-24T16:05:09.279Z
- Modified: 2026-10-30T13:21:06.040Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from cff80645d6d3134260d2ef007a7decb1edcfd4a6 before e2540dfa3e63512300ca7575c42e9183a6677f26; from cff80645d6d3134260d2ef007a7decb1edcfd4a6 before d9fa79ccd09204f626d382bdde1b8f5f4c5d03b3; from cff80645d6d3134260d2ef007a7decb1edcfd4a6 before 62dd3b8d3a92eb4e080b2ae491c2a5341654c1ee; from cff80645d6d3134260d2ef007a7decb1edcfd4a6 before bb18a346271f87889bd64a3861c9a656a3509ea6; from cff80645d6d3134260d2ef007a7decb1edcfd4a6 before d283d5d4d9f6d081ddb65e371be26fffeb611c42; 5.9 (not affected: before 5.9; from 6.1.191 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

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

## Sources

- CVE List: [CVE-2026-97512](https://www.cve.org/CVERecord?id=CVE-2026-97512), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-97512](https://nvd.nist.gov/vuln/detail/CVE-2026-97512), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-97512 · Whole record: https://cve.day/CVE-2026-97512.json · Rebuilt by cve.day 2026-11-25T22:59:40.873Z
