CVE-2024-38573 cppc_cpufreq: Fix possible null pointer dereference
A null pointer dereference in the Linux kernel's cppc_cpufreq driver can cause a system crash, requiring a kernel patch to fix.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-38573?
CVE-2024-38573 is a high-severity vulnerability in Linux kernel, published on 19 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
cppc_cpufreq: Fix possible null pointer dereference
cppc_cpufreq_get_rate() and hisi_cppc_cpufreq_get_rate() can be called from different places with various parameters. So cpufreq_cpu_get() can return null as 'policy' in some circumstances. Fix this bug by adding null return check.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Weakness: CWE-476
Which versions are affected by CVE-2024-38573?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-38573?
Apply the vendor's patch.
Is CVE-2024-38573 being exploited?
There is no known exploitation of CVE-2024-38573 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-38573, DEBIAN-CVE-2024-38573, GHSA-9g5w-2h6h-7h82, UBUNTU-CVE-2024-38573.