CVE-2025-37830
cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
- State
- Published
- Severity
- Not scored
- Published
- May 8, 2025
- Updated
- May 11, 2026
- Reserved
- Apr 16, 2025
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/bd1dcfba72aac4159c1d5e17cd861e702e6c19ac
- https://git.kernel.org/stable/c/4e3d1c1925d8e752992cd893d03d974e6807ac16
- https://git.kernel.org/stable/c/f9c5423855e3687262d881aeee5cfb3bc8577bff
- https://git.kernel.org/stable/c/ea834c90aa7cc80a1b456f7a91432734d5087d16
- https://git.kernel.org/stable/c/7ccfadfb2562337b4f0462a86a9746a6eea89718
- https://git.kernel.org/stable/c/cfaca93b8fe317b7faa9af732e0ba8c9081fa018
- https://git.kernel.org/stable/c/484d3f15cc6cbaa52541d6259778e715b2c83c54
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.