Description
In the Linux kernel, the following vulnerability has been resolved: mmc: sdhci-sprd: disable runtime PM on remove sdhci_sprd_probe() enables runtime PM, while sdhci_sprd_remove() does not perform the corresponding runtime PM cleanup. The probe failure path disables runtime PM before disabling the clocks, but the normal remove path directly disables clocks that are also managed by the runtime PM callbacks. If the device is runtime suspended, those clocks may already be disabled. Resume the device before removal, disable runtime PM and drop the temporary runtime PM reference before disabling the clocks. This issue was found by manual code inspection.
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
fb8bd90f83c4dd86bc7fdae406152d63c5852f92 to < 605a59639abb9cb63cd7676460461fb0b34756b3affectedfb8bd90f83c4dd86bc7fdae406152d63c5852f92 to < 03244b8713d044425db5dbee08037ecd79b684f9affectedfb8bd90f83c4dd86bc7fdae406152d63c5852f92 to < 3a1caa886d41d9bcc9a402906336eda34a90d323affectedfb8bd90f83c4dd86bc7fdae406152d63c5852f92 to < dbad91a31c482063c0a87c90aa83c9001972c6acaffectedfb8bd90f83c4dd86bc7fdae406152d63c5852f92 to < e1c6c10a6a70a69e29b04fcc1ebe4b9bcbc7a49aaffected
Linux Linux
Default version status: affected
4.20affected0 to < 4.20unaffected6.6.160 to ≤ 6.6.*unaffected6.12.113 to ≤ 6.12.*unaffected6.18.57 to ≤ 6.18.*unaffected7.2.11 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/605a59639abb9cb63cd7676460461fb0b34756b3 ↗
- https://git.kernel.org/stable/c/03244b8713d044425db5dbee08037ecd79b684f9 ↗
- https://git.kernel.org/stable/c/3a1caa886d41d9bcc9a402906336eda34a90d323 ↗
- https://git.kernel.org/stable/c/dbad91a31c482063c0a87c90aa83c9001972c6ac ↗
- https://git.kernel.org/stable/c/e1c6c10a6a70a69e29b04fcc1ebe4b9bcbc7a49a ↗