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().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
676f23eab75adbf72c029bdfb7b5a7b2f1129177 to < b30a047744ea4344bb6f854b0a052cf276349128affected676f23eab75adbf72c029bdfb7b5a7b2f1129177 to < adcaa21d50c3a4c884f4d0b7a95fa3bd7a07cf84affected676f23eab75adbf72c029bdfb7b5a7b2f1129177 to < 1f602619e408b6e9655ee76656a2a5ab6e89c5e4affected
Linux Linux
Default version status: affected
5.8affected0 to < 5.8unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected