CVE-2026-98904: mailbox: imx: Use devm_pm_runtime_enable()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mailbox: imx: Use devm_pm_runtime_enable()
sashiko complained about early usage of the device while probe isn't completed. This can be mitigated by delaying the pm_runtime_enable() into the removal path instead doing it early. This ensures that in an error case the device is removed (and imx_mu_shutdown()) before pm_runtime_disable() so we don't have to do this manually.
For the order to work, lets move devm_mbox_controller_register() until after the pm-runtime part. So the reverse order will be mbox-controller removal followed by disabling pm runtime.
Use devm_pm_runtime_enable(), remove manual pm_runtime_disable() invocations and move the pm_runtime handling in probe before devm_mbox_controller_register().
The Linux kernel CVE team has assigned CVE-2026-98904 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.111 with commit b30a047744ea4344bb6f854b0a052cf276349128 Fixed in 6.18.53 with commit adcaa21d50c3a4c884f4d0b7a95fa3bd7a07cf84 Fixed in 7.2 with commit 1f602619e408b6e9655ee76656a2a5ab6e89c5e4
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-98904
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/mailbox/imx-mailbox.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/b30a047744ea4344bb6f854b0a052cf276349128 https://git.kernel.org/stable/c/adcaa21d50c3a4c884f4d0b7a95fa3bd7a07cf84 https://git.kernel.org/stable/c/1f602619e408b6e9655ee76656a2a5ab6e89c5e4