Linux kernel denial of service in sdhci-sprd removal
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ fb8bd90f83c4dd86bc7fdae406152d63c5852f92 · < 3a1caa886d41d9bcc9a402906336eda34a90d323| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's sdhci-sprd driver does not disable runtime power management during device removal. If the device is runtime suspended, removal may attempt to disable clocks that are already disabled. The report does not describe an attacker, access requirements, or user interaction.
Engineers running Linux kernels that include the sdhci-sprd driver should check their versions; no affected version range is provided.