CVE-2022-50658Published Dec 9, 2025 · Dec 9Updated Nov 12
cpufreq: qcom: fix memory leak in error path
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: qcom: fix memory leak in error path
If for some reason the speedbin length is incorrect, then there is a memory leak in the error path because we never free the speedbin buffer. This commit fixes the error path to always free the speedbin buffer.
From the CVE record · Linux
The Linux kernel’s qcom cpufreq code leaks the speedbin buffer when the speedbin length is incorrect. The input does not describe how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running Linux kernels with qcom cpufreq should check their deployments; affected versions are not specified.