Vulnerability in Kernel: regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET
Summary
GSD-2022-1003625: regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET. Affects Kernel versions >= 5451781dadf85000665e0e2c3288e9e0f34b860a, < 369a712442f91fba0bf8ba84b0e88ffb32475dd4. 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 acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. The regulator subsystem within the Kernel is responsible for managing voltage and current regulators on various devices. It ensures that the power supply to these devices is controlled and regulated effectively. However, a vulnerability has been identified in the regulator core, specifically related to the enable_count imbalance when using EXCLUSIVE_GET.
Vulnerability Detail
The vulnerability arises due to an enable_count imbalance issue in the regulator core when utilizing the EXCLUSIVE_GET feature. This imbalance can lead to unexpected behavior and potential security risks. Attackers may exploit this vulnerability to manipulate the enable_count value, causing a denial-of-service condition or potentially gaining unauthorized access to the system. The vulnerability was introduced in version v5.0 of the Linux Kernel and has been fixed in version v5.10.121.
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
As a temporary workaround, users can disable the EXCLUSIVE_GET feature in the regulator core. This can be achieved by modifying the Kernel configuration or disabling the corresponding module. However, it is important to note that this workaround may impact the functionality of certain devices that rely on the EXCLUSIVE_GET feature. Therefore, it is advisable to apply the official fix by updating the Kernel as soon as possible.
Conclusion
In conclusion, a vulnerability has been discovered in the regulator core of the Linux Kernel, specifically related to the enable_count imbalance when using EXCLUSIVE_GET. This vulnerability can lead to unexpected behavior, denial-of-service, or unauthorized access. It is recommended to update the Kernel to version v5.10.121 or later to address this issue. Users can also utilize the Vulert Playground at https://vulert.com/scanner to check if their system is affected and receive real-time alerts for open-source vulnerabilities. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to unexpected behavior, potential denial-of-service, or unauthorized access to the system.
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 analyze and provide real-time alerts for any open-source vulnerabilities, including this one.
Yes, a temporary workaround is to disable the EXCLUSIVE_GET feature in the regulator core. However, it is recommended to apply the official fix by updating the Kernel to the latest version.
Detailed instructions on how to update the Linux Kernel can be found in the official Kernel documentation. It typically involves downloading the latest Kernel version from the official repository and following the provided installation instructions.
At the time of this report, no known exploits for this vulnerability have been identified. However, it is crucial to apply the fix promptly to mitigate any potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.