pmdomain: core: Fix detach procedure for virtual devices in genpd
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.259, Kernel 5.15.210, Kernel 6.1.176 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: pmdomain: core: Fix detach procedure for virtual devices in genpd If a device is attached to a PM domain through genpd_dev_pm_attach_by_id(), genpd calls pm_runtime_enable() for the corresponding virtual device that it registers. While this avoids boilerplate code in drivers, there is no corresponding call to pm_runtime_disable() in genpd_dev_pm_detach(). This means these virtual devices are typically detached from its genpd, while runtime PM remains enabled for them, which is not how things are designed to work. In worst cases it may lead to critical errors, like a NULL pointer dereference bug in genpd_runtime_suspend(), which was recently reported. For another case, we may end up keeping an unnecessary vote for a performance state for the device. To fix these problems, let's add this missing call to pm_runtime_disable() in genpd_dev_pm_detach().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.18 <5.10.259, >=5.11 <5.15.210, >=5.16 <6.1.176, >=6.13 <6.18.30, >=6.19 <7.0.7, >=6.2 <6.6.141, >=6.7 <6.12.88, =7.1, >=3c095f32a92be4d07f3172a777dab1aacdb6a728 <361518a26e4434e879db6ff43bf364795dcbfbff, >=3c095f32a92be4d07f3172a777dab1aacdb6a728 <51a7dd9cbae9210335ce398642ecaaa52c939eb5, >=3c095f32a92be4d07f3172a777dab1aacdb6a728 <52e485ed0dcb5496864003ba9ffcef7d5b613f83, >=3c095f32a92be4d07f3172a777dab1aacdb6a728 <707cb5df3eab32ddc52979418f7ace62941e6381, >=3c095f32a92be4d07f3172a777dab1aacdb6a728 <8d44391a7f29e4601e8243f13498d0219bab2576, >=3c095f32a92be4d07f3172a777dab1aacdb6a728 <98b8104978474d381256a2b2fb0e7ca8e05a7bfa, >=3c095f32a92be4d07f3172a777dab1aacdb6a728 <e8f8dad44f024a5c99e54a48ad5c943fa8e54319, =4.18, >=3c095f32a92be4d07f3172a777dab1aacdb6a728 <26735dfdd8930d9ef1fa92e590a9bf77726efdf6 | 5.10.259, 5.15.210, 6.1.176, 6.18.30, 7.0.7, 6.6.141, 6.12.88, 361518a26e4434e879db6ff43bf364795dcbfbff, 51a7dd9cbae9210335ce398642ecaaa52c939eb5, 52e485ed0dcb5496864003ba9ffcef7d5b613f83, 707cb5df3eab32ddc52979418f7ace62941e6381, 8d44391a7f29e4601e8243f13498d0219bab2576, 98b8104978474d381256a2b2fb0e7ca8e05a7bfa, e8f8dad44f024a5c99e54a48ad5c943fa8e54319, 26735dfdd8930d9ef1fa92e590a9bf77726efdf6 |
| linux-kernel: Kernel | >=4.18.0 <5.10.259, >=5.11.0 <5.15.210, >=5.16.0 <6.1.176, >=6.13.0 <6.18.30, >=6.19.0 <7.0.7, >=6.2.0 <6.6.141, >=6.7.0 <6.12.88 | 5.10.259, 5.15.210, 6.1.176, 6.18.30, 7.0.7, 6.6.141, 6.12.88 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket