CVE-2025-37830 cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
A missing NULL check in the Linux kernel's SCMI cpufreq driver allows a local attacker to cause a system crash via a null pointer dereference.
- 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-2025-37830?
CVE-2025-37830 is a medium-severity vulnerability in Debian Debian Linux, published on 8 May 2025. 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: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scmi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference.
Add NULL check after cpufreq_cpu_get_raw() to prevent this issue.
Weakness: CWE-476
Which versions are affected by CVE-2025-37830?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-37830?
Apply the vendor's patch.
Is CVE-2025-37830 being exploited?
There is no known exploitation of CVE-2025-37830 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2025-37830, DEBIAN-CVE-2025-37830, GHSA-8fxr-4vx8-rh8m, ROOT-OS-DEBIAN-11-CVE-2025-37830, ROOT-OS-DEBIAN-12-CVE-2025-37830, ROOT-OS-UBUNTU-2204-CVE-2025-37830 and 2 more.