CVE-2026-99034: mmc: sdhci-sprd: disable runtime PM on remove
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-99034 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.20 with commit fb8bd90f83c4dd86bc7fdae406152d63c5852f92 and fixed in 6.6.160 with commit 605a59639abb9cb63cd7676460461fb0b34756b3 Issue introduced in 4.20 with commit fb8bd90f83c4dd86bc7fdae406152d63c5852f92 and fixed in 6.12.113 with commit 03244b8713d044425db5dbee08037ecd79b684f9 Issue introduced in 4.20 with commit fb8bd90f83c4dd86bc7fdae406152d63c5852f92 and fixed in 6.18.57 with commit 3a1caa886d41d9bcc9a402906336eda34a90d323 Issue introduced in 4.20 with commit fb8bd90f83c4dd86bc7fdae406152d63c5852f92 and fixed in 7.2.11 with commit dbad91a31c482063c0a87c90aa83c9001972c6ac Issue introduced in 4.20 with commit fb8bd90f83c4dd86bc7fdae406152d63c5852f92 and fixed in 7.3 with commit e1c6c10a6a70a69e29b04fcc1ebe4b9bcbc7a49a
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99034
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/mmc/host/sdhci-sprd.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
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