Vulnerability in Kernel: regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET
Summary
GSD-2022-1002768: regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET. Affects Kernel versions >= 5451781dadf85000665e0e2c3288e9e0f34b860a, < 64eb54b5243b7f6e029f49af5de82dfb964c1a39. 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 Kernel is a critical component of the Linux operating system that manages the communication between hardware and software. It provides essential functionalities and services to ensure the proper functioning of the system. One of the components within the Kernel is the regulator core, which is responsible for managing voltage regulators on the system. These regulators control the power supply to various hardware components. The regulator core allows multiple consumers to request exclusive access to a regulator using the EXCLUSIVE_GET flag. However, a vulnerability has been identified in the regulator core that leads to an enable_count imbalance when using EXCLUSIVE_GET.
Vulnerability Detail
The vulnerability in the regulator core arises from an enable_count imbalance when using the EXCLUSIVE_GET flag. This imbalance can potentially result in incorrect power management and lead to system instability or unexpected behavior. An attacker could exploit this vulnerability to manipulate power settings or cause a denial of service by repeatedly requesting exclusive access to a regulator. The vulnerability was introduced in version v5.0 of the Linux Kernel and has been fixed in version v5.18.3.
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 specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring that their systems are updated to the latest version of the Linux Kernel.
Conclusion
The vulnerability in the Kernel's regulator core, which caused an enable_count imbalance with EXCLUSIVE_GET, has been identified and fixed in version v5.18.3 of the Linux Kernel. Users are advised to update their systems to the latest version to mitigate the risk. For further assistance or information on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to incorrect power management, system instability, or unexpected behavior. It could also be exploited by an attacker to manipulate power settings or cause a denial of service.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will alert you in real-time if any open-source vulnerabilities, including this one, are detected.
Yes, a patch is available in the form of an updated version of the Linux Kernel. Users should update to version v5.18.3 or later to fix the vulnerability.
At the time of this report, there are no known exploits for this vulnerability. However, it is always recommended to apply security updates promptly to mitigate any potential risks.
You can find more information about this vulnerability in the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/. Additionally, you can reach out to info@devnack.com for further support on vulnerability remediation.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.