Sleep-in-atomic bug in PM: domains package
Summary
GSD-2022-1001292: PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove(). Affects Kernel versions >= 718072ceb211833f3c71724f49d733d636067191, < fee777ea77769cc5392a34805d9d73099a223fae. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The PM: domains package is a component of the Linux Kernel, which is responsible for managing power domains and power states of devices. It provides a framework for power management and allows devices to enter low-power states when not in use. The package is critical for optimizing power consumption and improving battery life on Linux-based systems.
Vulnerability Detail
The sleep-in-atomic bug in the PM: domains package is caused by the genpd_debug_remove() function. This bug can lead to sleep operations being performed in atomic context, which is not allowed and can result in system instability or crashes. An attacker may be able to exploit this vulnerability to cause a denial-of-service (DoS) attack or potentially execute arbitrary code with elevated privileges. The bug was introduced in version v5.11 of the Linux Kernel and has been fixed in version v5.17.2.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is necessary to update the Linux Kernel to the fixed version.
Conclusion
The sleep-in-atomic bug in the PM: domains package of the Linux Kernel can lead to system instability and potential exploitation by attackers. It is crucial to update the Linux Kernel to version v5.17.2 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The PM: domains package is a component of the Linux Kernel that manages power domains and power states of devices, optimizing power consumption and improving battery life.
This vulnerability can lead to system instability, crashes, and potential exploitation by attackers to cause a denial-of-service (DoS) attack or execute arbitrary code with elevated privileges.
To fix this vulnerability, update the Linux Kernel to version v5.17.2 or later by downloading the latest stable version from the official Git repository and following the installation instructions.
No, there is no known workaround for this vulnerability. Updating the Linux Kernel to the fixed version is necessary.
The vulnerability was introduced in version v5.11 of the Linux Kernel and has been fixed in version v5.17.2.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.