What’s Vulnerable › Vulnerabilities
CVE-2025-37830: cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-08 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Debian Linux: 11.0
- Linux kernel: from 4.17 before 5.15.181; from 5.16 before 6.1.136; from 6.2 before 6.6.89; from 6.7 before 6.12.26; from 6.13 before 6.14.5; 6.15-rc1, 6.15-rc2, 6.15-rc3 — fixed in 5.15.181, 6.1.136, 6.12.26, 6.14.5, 6.6.89
How to fix
Upgrade to a fixed version: Linux kernel 5.15.181, 6.1.136, 6.12.26, 6.14.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/484d3f15cc6cbaa52541d6259778e715b2c83c54
- https://git.kernel.org/stable/c/4e3d1c1925d8e752992cd893d03d974e6807ac16
- https://git.kernel.org/stable/c/7ccfadfb2562337b4f0462a86a9746a6eea89718
- https://git.kernel.org/stable/c/bd1dcfba72aac4159c1d5e17cd861e702e6c19ac
- https://git.kernel.org/stable/c/cfaca93b8fe317b7faa9af732e0ba8c9081fa018
- https://git.kernel.org/stable/c/ea834c90aa7cc80a1b456f7a91432734d5087d16
- https://git.kernel.org/stable/c/f9c5423855e3687262d881aeee5cfb3bc8577bff
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Get alerted when CVE-2025-37830 or the next vulnerability affects your stack