{"schema_version":"1.9.0","id":"CVE-2022-50658","published":"2025-12-09T01:29:06.106Z","modified":"2026-08-12T03:51:22.331520761Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"summary":"cpufreq: qcom: fix memory leak in error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: qcom: fix memory leak in error path\n\nIf for some reason the speedbin length is incorrect, then there is a\nmemory leak in the error path because we never free the speedbin buffer.\nThis commit fixes the error path to always free the speedbin buffer.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a8811ec764f95a04ba82f6f457e28c5e9e36e36b"},{"fixed":"e55feb31df3fc78b880d6e9d4b5853f05c974833"},{"fixed":"b5606e3ab1f7cc00d89903f4a11fe57747bb3a68"},{"fixed":"b6ea267e0c6bdf5463358e2a2e5280cfa6cacc48"},{"fixed":"9f42cf54403a42cb092636804d2628d8ecf71e75"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50658.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.7.0"},{"fixed":"5.10.152"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.76"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50658.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9f42cf54403a42cb092636804d2628d8ecf71e75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b5606e3ab1f7cc00d89903f4a11fe57747bb3a68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6ea267e0c6bdf5463358e2a2e5280cfa6cacc48"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e55feb31df3fc78b880d6e9d4b5853f05c974833"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50658.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50658"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50658.json"}}