# CVE-2024-50009: cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2024-10-21T18:54:02.180Z
- Modified: 2026-10-30T13:17:40.353Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value

cpufreq_cpu_get may return NULL. To avoid NULL-dereference check it
and return in case of error.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

(As written by CVE List.)

## Affected

- Linux Linux: from ec437d71db77a181227bf6d0ac9d4a80e58ecf0f before 93f404a55ff06fb0978dfdc786139b8af4a531a8; from ec437d71db77a181227bf6d0ac9d4a80e58ecf0f before cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6; from ec437d71db77a181227bf6d0ac9d4a80e58ecf0f before 5f250d44b8191d612355dd97b89b37bbc1b5d2cb; from ec437d71db77a181227bf6d0ac9d4a80e58ecf0f before 5493f9714e4cdaf0ee7cec15899a231400cb1a9f; 5.17 (not affected: before 5.17; from 6.1.191 up to 6.1.*; from 6.6.75 up to 6.6.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 6.11.3

## References

- <https://git.kernel.org/stable/c/93f404a55ff06fb0978dfdc786139b8af4a531a8>
- <https://git.kernel.org/stable/c/cd9f7bf6cad8b2d3876105ce3c9fc63460a046f6>
- <https://git.kernel.org/stable/c/5f250d44b8191d612355dd97b89b37bbc1b5d2cb> (patch)
- <https://git.kernel.org/stable/c/5493f9714e4cdaf0ee7cec15899a231400cb1a9f> (patch)

## Sources

- CVE List: [CVE-2024-50009](https://www.cve.org/CVERecord?id=CVE-2024-50009), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2024-50009](https://nvd.nist.gov/vuln/detail/CVE-2024-50009), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2024-50009 · Whole record: https://cve.day/CVE-2024-50009.json · Rebuilt by cve.day 2026-11-25T22:58:47.092Z
