Vulnerability in Kernel: regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003123: regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET. Affects Kernel versions >= 5451781dadf85000665e0e2c3288e9e0f34b860a, < 38faf4be7cc6744fc2ff32ac381cc98f44bf0aec. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The regulator subsystem within the Kernel is responsible for managing voltage and current regulators on the system. These regulators ensure stable power supply to various components, preventing damage and ensuring proper functioning. However, a vulnerability has been identified in the regulator core, specifically related to enable_count imbalance with EXCLUSIVE_GET.

Vulnerability Detail

The vulnerability arises from an enable_count imbalance issue when using the EXCLUSIVE_GET operation in the regulator core. This imbalance can lead to incorrect handling of regulator enable and disable operations, potentially resulting in system instability or improper power management. An attacker may exploit this vulnerability to disrupt the power supply to critical components, leading to system crashes or other adverse effects. The vulnerability was introduced in version v5.0 of the Linux Kernel and has been fixed in version v5.17.14.

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 avoid using the EXCLUSIVE_GET operation in the regulator core. Instead, alternative operations can be used to achieve the desired functionality without triggering the enable_count imbalance. It is important to thoroughly test any workarounds implemented to ensure they do not introduce other issues or vulnerabilities.

Conclusion

The vulnerability in the regulator core of the Kernel, related to enable_count imbalance with EXCLUSIVE_GET, can lead to system instability and improper power management. It is crucial to update the Linux Kernel to version v5.17.14 or later to mitigate this vulnerability. In the meantime, users can implement the recommended workaround of avoiding the use of EXCLUSIVE_GET. Regularly monitoring for vulnerabilities using tools like Vulert can help ensure the security of your software.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to system instability, improper power management, and potential disruption of critical components. It may result in system crashes or other adverse effects.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert analyzes the package-lock.json file to identify and alert for open-source vulnerabilities in real-time.

At the time of this report, no known exploits for this vulnerability have been identified. However, it is important to promptly apply the recommended fix to mitigate any potential risks.

The vulnerability itself does not provide remote exploitation capabilities. However, if an attacker gains access to the system, they may be able to exploit the vulnerability to disrupt power management and cause system instability.

For further support on vulnerability remediation, you can reach out to info@devnack.com. They can provide assistance and guidance in addressing this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback