mmc: sdhci-sprd: disable runtime PM on remove
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.113, 6.18.57, 7.2.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- First seen by cve.now
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.20
- KernelLinux
From 4.20.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.11
References 8
git.kernel.org
- stable/c/a0c7facc0fe9ec772cf8bffac2315a8e1311d39a
- stable/c/4dce8c272417a564bd8c8d2ea88ef901e5447f22
- stable/c/cccd175dd2bfbf8c34a1b0f413760d2ce9ff3ac9
- stable/c/605a59639abb9cb63cd7676460461fb0b34756b3
- stable/c/03244b8713d044425db5dbee08037ecd79b684f9
- stable/c/3a1caa886d41d9bcc9a402906336eda34a90d323
- stable/c/dbad91a31c482063c0a87c90aa83c9001972c6ac
- stable/c/e1c6c10a6a70a69e29b04fcc1ebe4b9bcbc7a49a