CVE-2024-50009 cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value
A missing null check in the AMD P-State driver can cause a kernel crash, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-50009?
CVE-2024-50009 is a medium-severity vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2024-50009?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-50009?
Apply the vendor's patch.
Is CVE-2024-50009 being exploited?
There is no known exploitation of CVE-2024-50009 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-52092, AZL-52111, BELL-CVE-2024-50009, DEBIAN-CVE-2024-50009, GHSA-ggr3-2w79-8rhj, ROOT-OS-DEBIAN-12-CVE-2024-50009 and 2 more.