
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49397 affects the Linux kernel's phy-qcom-qmp driver. The vulnerability involves a struct clk leak that occurs during probe errors in the Qualcomm QMP PHY driver. The issue was discovered and fixed in 2022, with the vulnerability being related to improper resource management when probe errors occur (Kernel Git).
The vulnerability stems from improper handling of pipe clock references during probe errors. Specifically, when a late probe error occurs (such as probe deferral), the pipe clock reference is not properly released. The fix involves replacing the of_clk_get_by_name() call with devm_get_clk_from_child() to ensure proper resource management (Kernel Git).
The vulnerability results in a memory leak (struct clk leak) when probe errors occur in the QMP PHY driver. While this doesn't present immediate security risks, it can lead to resource exhaustion over time if the error condition is triggered repeatedly (NVD).
The issue has been resolved by modifying the driver to use devm_get_clk_from_child() instead of of_clk_get_by_name(), ensuring proper cleanup of clock resources during error conditions. The fix was implemented in the Linux kernel and backported to affected stable kernel versions (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."