{"id":"CVE-2024-50009","summary":"cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: amd-pstate: add check for cpufreq_cpu_get's return value\n\ncpufreq_cpu_get may return NULL. To avoid NULL-dereference check it\nand return in case of error.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","modified":"2026-03-20T12:39:31.355978Z","published":"2024-10-21T18:54:02.180Z","related":["SUSE-SU-2024:4314-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4316-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50009.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5493f9714e4cdaf0ee7cec15899a231400cb1a9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f250d44b8191d612355dd97b89b37bbc1b5d2cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50009.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50009"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ec437d71db77a181227bf6d0ac9d4a80e58ecf0f"},{"fixed":"cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6"},{"fixed":"5f250d44b8191d612355dd97b89b37bbc1b5d2cb"},{"fixed":"5493f9714e4cdaf0ee7cec15899a231400cb1a9f"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50009.json"}}],"schema_version":"1.7.5"}