Struct clk leak on probe errors in phy: qcom-qmp

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002656: phy: qcom-qmp: fix struct clk leak on probe errors. Affects Kernel versions >= e78f3d15e115e8e764d4b1562b4fa538f2e22f6b, < ad9b0fad02f9b3a06ad5ac7df11f244e316a6254. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The phy: qcom-qmp package is a component of the Linux Kernel ecosystem. It provides support for Qualcomm Quick Charge 3.0 and 4.0 technologies, which enable fast charging capabilities on Qualcomm Snapdragon devices. The package includes the necessary drivers and functionality to manage the charging process. However, a vulnerability has been identified in the package that can lead to a struct clk leak on probe errors.

Vulnerability Detail

The vulnerability in phy: qcom-qmp arises from a struct clk leak that occurs when probe errors are encountered. During the initialization process, if an error occurs in the probe function, the package fails to properly release the allocated struct clk resources. This can result in a resource leak, leading to potential memory corruption or system instability. An attacker with local access to the affected system could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition.

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. It is advised to apply the recommended fix by updating the Linux Kernel to the latest version.

Conclusion

The vulnerability in phy: qcom-qmp that causes a struct clk leak on probe errors can have serious implications for system stability and security. It is crucial to update the Linux Kernel to the recommended version to mitigate the risk of exploitation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

phy: qcom-qmp is a package in the Linux Kernel ecosystem that provides support for Qualcomm Quick Charge technologies on Snapdragon devices.

The vulnerability can lead to a struct clk leak on probe errors, potentially resulting in memory corruption or system instability. An attacker with local access to the affected system could exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition.

To fix this vulnerability, update the Linux Kernel to version v5.18.3 or later, which includes the necessary fix commit (ad9b0fad02f9b3a06ad5ac7df11f244e316a6254).

No specific workaround has been mentioned for this vulnerability. It is recommended to update the Linux Kernel to the latest version.

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