Refcount Leak in pfuze_parse_regulators_dt in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002766: regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt. Affects Kernel versions >= 3784b6d64dc52ed3fbebad61a85ab9b7a687a167, < 49d785baeb91568332197be356d138e5e59c7ddb. 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 vulnerability in question, identified as GSD-2022-1002766, specifically affects the regulator subsystem within the Kernel. The regulator subsystem is responsible for managing voltage regulators on various hardware platforms. The pfuze100 regulator driver is impacted by a refcount leak in the pfuze_parse_regulators_dt function, which can lead to resource leaks and potential system instability.

Vulnerability Detail

The vulnerability arises from a refcount leak in the pfuze_parse_regulators_dt function of the pfuze100 regulator driver. When parsing the device tree (DT) representation of regulators, the function fails to properly release the reference count of the regulator, resulting in a resource leak. This can lead to various issues, including memory leaks, resource exhaustion, and potential system crashes. An attacker with local access to the system may be able to exploit this vulnerability to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges.

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 workaround, users can disable the affected regulator driver (pfuze100) if it is not required for their system's operation. This can be achieved by modifying the device tree (DT) representation to exclude the regulator node associated with the pfuze100 driver. However, this workaround may result in the loss of certain functionality or features that rely on the affected regulator.

Conclusion

In conclusion, the refcount leak in pfuze_parse_regulators_dt in the Kernel's pfuze100 regulator driver can lead to resource leaks, memory leaks, and potential system crashes. It is crucial to update the Linux Kernel to version v5.18.3 or later to mitigate this vulnerability. Alternatively, users can disable the affected regulator driver as a temporary workaround, although this may result in the loss of certain functionality. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to resource leaks, memory leaks, and potential system crashes. An attacker with local access to the system may be able to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges.

You can use the Vulert Playground (https://vulert.com/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 the dependencies and alert you if any known vulnerabilities are present.

Yes, a fix for this vulnerability is available in Linux Kernel version v5.18.3. Users are advised to update their Kernel to this version or a later one to mitigate the risk.

Yes, as a workaround, you can disable the affected regulator driver (pfuze100) if it is not required for your system's operation. However, this may result in the loss of certain functionality or features that rely on the affected regulator.

You can find more information about this vulnerability in the GSD-2022-1002766 entry of the GSD Database maintained by the Cloud Security Alliance. The entry provides additional details, including the source of the vulnerability and the commit that fixed it.

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