mmc: sdhci-esdhc-imx: use pm_runtime_resume_and_get() in suspend
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.407.1.57.2In the Linux kernel, the following vulnerability has been resolved:
mmc: sdhci-esdhc-imx: use pm_runtime_resume_and_get() in suspend
Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() to simplify error handling. pm_runtime_resume_and_get() automatically drops the usage counter on failure, avoiding the need for a separate pm_runtime_put_noidle() call. If it fails, the device is unclocked and accessing hardware registers would cause a kernel panic, so return the error immediately.
From the CVE record · Linux
The Linux kernel’s sdhci-esdhc-imx suspend path can access hardware registers after a runtime-resume failure leaves the device unclocked, causing a kernel panic. The input does not establish whether an attacker can trigger this condition or specify any network, authentication, or user-interaction requirements.
Engineers running Linux kernels that use the sdhci-esdhc-imx driver should check their kernel versions; affected versions are not specified.