mailbox: mtk-cmdq: Fix pm_runtime_get_sync() warning in mbox shutdown
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mailbox: mtk-cmdq: Fix pm_runtime_get_sync() warning in mbox shutdown
The return value of pm_runtime_get_sync() in cmdq_mbox_shutdown() will return 1 when pm runtime state is active, and we don't want to get the warning message in this case.
So we change the return value < 0 for WARN_ON().
From the CVE record · Linux
The Linux kernel’s mtk-cmdq mailbox shutdown path can issue an unintended warning when pm_runtime_get_sync() returns 1 because runtime power management is already active. The input does not describe an attacker action or specify network access, authentication, or user interaction requirements.
Engineers running the Linux kernel should check their builds; affected versions are not specified.