Vulnerability in phy: qcom-qmp package - struct clk leak on probe errors
Summary
GSD-2022-1003732: phy: qcom-qmp: fix struct clk leak on probe errors. Affects Kernel versions >= e78f3d15e115e8e764d4b1562b4fa538f2e22f6b, < 1668ad103679306ba2ef37f758d704e58a3ef1a0. 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 QMP (Qualcomm Message Passing) PHYs. These PHYs are responsible for managing the physical layer of communication between devices. The package includes various functions and structures to handle the configuration and operation of these PHYs.
Vulnerability Detail
The vulnerability in phy: qcom-qmp package involves a struct clk leak on probe errors. When the package encounters errors during the probe process, it fails to release a struct clk structure, leading to a resource leak. This vulnerability can potentially result in resource exhaustion and system instability. It was introduced in version v4.12 of the Linux Kernel by commit e78f3d15e115e8e764d4b1562b4fa538f2e22f6b. The issue has been fixed in version v5.4.198 of the Linux Kernel by commit 1668ad103679306ba2ef37f758d704e58a3ef1a0.
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
No specific workaround has been provided for this vulnerability.
Conclusion
The vulnerability in the phy: qcom-qmp package involves a struct clk leak on probe errors. It can lead to resource leaks, potentially causing resource exhaustion and system instability. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.4.198 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can result in resource leaks, potentially leading to resource exhaustion and system instability.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.
No known exploit has been reported for this vulnerability at the moment.
The recommended mitigation is to update the Linux Kernel to version v5.4.198 or later.
You can find more information about this vulnerability in the vulnerability database maintained by the Cloud Security Alliance: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003732.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.