CVE-2022-50658

published 9 Dec 2025 · updated 12 Nov 2026

cpufreq: qcom: fix memory leak in error path

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e55feb31df3fc78b880d6e9d4b5853f05c974833, Kernel 9f42cf54403a42cb092636804d2628d8ecf71e75, Kernel b5606e3ab1f7cc00d89903f4a11fe57747bb3a68 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=a8811ec764f95a04ba82f6f457e28c5e9e36e36b <e55feb31df3fc78b880d6e9d4b5853f05c974833, >=a8811ec764f95a04ba82f6f457e28c5e9e36e36b <9f42cf54403a42cb092636804d2628d8ecf71e75, >=a8811ec764f95a04ba82f6f457e28c5e9e36e36b <b5606e3ab1f7cc00d89903f4a11fe57747bb3a68, >=a8811ec764f95a04ba82f6f457e28c5e9e36e36b <b6ea267e0c6bdf5463358e2a2e5280cfa6cacc48, =5.7e55feb31df3fc78b880d6e9d4b5853f05c974833, 9f42cf54403a42cb092636804d2628d8ecf71e75, b5606e3ab1f7cc00d89903f4a11fe57747bb3a68, b6ea267e0c6bdf5463358e2a2e5280cfa6cacc48
linux-kernel: Kernel>=5.16.0 <6.0.6, >=5.7.0 <5.10.152, >=5.11.0 <5.15.766.0.6, 5.10.152, 5.15.76

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50658 severity on Zeptric[![CVE-2022-50658](https://zeptric.io/badge/cve/CVE-2022-50658.svg)](https://zeptric.io/cve/CVE-2022-50658)