Sleep-in-atomic bug in PM: domains package
Summary
GSD-2022-1001599: PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove(). Affects Kernel versions >= 718072ceb211833f3c71724f49d733d636067191, < d1b6840d8fb9b35193d45d8fe6b4d830bfd20c3c. 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 that manages power domains. Power domains are groups of devices that can be powered on or off together to conserve energy. The PM: domains package provides functionality for managing the power state of these domains. It is an essential part of the Linux Kernel and is used by various device drivers and subsystems.
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 undefined behavior. An attacker may be able to exploit this vulnerability to cause a denial of service 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.16.19.
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 recommended to apply the fix mentioned above as soon as possible.
Conclusion
The sleep-in-atomic bug in the PM: domains package of the Linux Kernel can lead to potential security vulnerabilities. It is crucial to update the Linux Kernel to version v5.16.19 or later to mitigate this vulnerability. For further support and assistance in 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. Power domains are groups of devices that can be powered on or off together to conserve energy.
This vulnerability can lead to sleep operations being performed in atomic context, which is not allowed and can result in undefined behavior. An attacker may be able to exploit this vulnerability to cause a denial of service or potentially execute arbitrary code with elevated privileges.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.19 or later. This can be done by downloading the latest kernel source code from the official Linux Kernel repository and compiling it for your system.
There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned above as soon as possible.
You can find more information about this vulnerability in the official Linux Kernel repository and the vulnerability database maintained by the Cloud Security Alliance.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.