DEBIAN-CVE-2026-46292: Null Pointer Dereference
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 genpddevpmattachbyid(), genpd calls pmruntimeenable() for the corresponding virtual device that it registers. While this avoids boilerplate code in drivers, there is no corresponding call to pmruntimedisable() in genpddevpmdetach(). 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 genpdruntimesuspend(), 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 pmruntimedisable() in genpddevpmdetach().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.88-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.0.7-1 - Compensating control
Add a call to pm_runtime_disable() in genpd_dev_pm_detach() so virtual devices detached from genpd do not remain runtime-PM enabled.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems are exposed when their kernel uses genpd virtual devices attached through genpd_dev_pm_attach_by_id() and later detaches them. The issue concerns runtime PM remaining enabled after detachment.
What conditions are needed to trigger the failure?
A local actor needs to be able to cause the affected virtual-device attachment and detachment lifecycle. The reported worst-case failure occurs when runtime suspend reaches genpd_runtime_suspend() after the device has been detached, potentially causing a NULL pointer dereference.
What can happen if the issue is triggered?
The issue can cause critical errors including a NULL pointer dereference in genpd_runtime_suspend(), which may affect system availability. It may also retain an unnecessary performance-state vote for the device.
What is the relevant remediation?
Apply the kernel fix that adds pm_runtime_disable() to genpd_dev_pm_detach(). This ensures runtime PM is disabled when the corresponding virtual device is detached from its PM domain.