Struct clk leak on probe errors in phy: qcom-qmp
Summary
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 ↓
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 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 →
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.
For more details about this vulnerability, refer to the vulnerability report in the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002656.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.