CVE-2025-37830

cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()

MEDIUM
5.5
CVSS Score
Published: May 8, 2025 at 06:26 AM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.17 ≤ v < 5.10.2484.17 ≤ v < 5.15.1814.17 ≤ v < 6.1.1364.17 ≤ v < 6.12.264.17 ≤ v < 6.14.54.17 ≤ v < 6.154.17 ≤ v < 6.6.895.16 ≤ v < 6.1.1366.13 ≤ v < 6.14.56.2 ≤ v < 6.6.896.7 ≤ v < 6.12.264.176.15 rc16.15 rc26.15 rc399d6bdf3387734d75e3e34e94a58b8a355b7a9c8
Vendor states this is fixed in 484d3f15cc6cbaa52541d6259778e715b2c83c54 (fixed)
Vendor states this is fixed in 4e3d1c1925d8e752992cd893d03d974e6807ac16 (fixed)
Vendor states this is fixed in 7ccfadfb2562337b4f0462a86a9746a6eea89718 (fixed)
Vendor states this is fixed in bd1dcfba72aac4159c1d5e17cd861e702e6c19ac (fixed)
Vendor states this is fixed in cfaca93b8fe317b7faa9af732e0ba8c9081fa018 (fixed)
Vendor states this is fixed in ea834c90aa7cc80a1b456f7a91432734d5087d16 (fixed)
Vendor states this is fixed in f9c5423855e3687262d881aeee5cfb3bc8577bff (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 5.10.248 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 6.1.136 (unaffected)
Vendor states this is fixed in 6.12.26 (unaffected)
Vendor states this is fixed in 6.14.5 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.89 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/484d3f15cc6cbaa52541d6259778e715b2c83c54
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4e3d1c1925d8e752992cd893d03d974e6807ac16
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7ccfadfb2562337b4f0462a86a9746a6eea89718
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cfaca93b8fe317b7faa9af732e0ba8c9081fa018
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea834c90aa7cc80a1b456f7a91432734d5087d16
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f9c5423855e3687262d881aeee5cfb3bc8577bff
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card