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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
cff80645d6d3134260d2ef007a7decb1edcfd4a6 to < e2540dfa3e63512300ca7575c42e9183a6677f26affectedcff80645d6d3134260d2ef007a7decb1edcfd4a6 to < d9fa79ccd09204f626d382bdde1b8f5f4c5d03b3affectedcff80645d6d3134260d2ef007a7decb1edcfd4a6 to < 62dd3b8d3a92eb4e080b2ae491c2a5341654c1eeaffectedcff80645d6d3134260d2ef007a7decb1edcfd4a6 to < bb18a346271f87889bd64a3861c9a656a3509ea6affectedcff80645d6d3134260d2ef007a7decb1edcfd4a6 to < d283d5d4d9f6d081ddb65e371be26fffeb611c42affected
Linux Linux
Default version status: affected
5.9affected0 to < 5.9unaffected6.1.191 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected
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 ↗