CVE-2025-37831

cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_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
1 product affected across 1 vendorLinux Kernel

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: apple-soc: Fix null-ptr-deref in apple_soc_cpufreq_get_rate() cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. apple_soc_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference.

Affected

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

6.13 ≤ v < 6.14.56.2 ≤ v < 6.12.266.2 ≤ v < 6.14.56.2 ≤ v < 6.156.2 ≤ v < 6.6.896.7 ≤ v < 6.12.266.15 rc16.15 rc26.15 rc36.26286bbb40576ffadfde206c332b61345c19af57f
Vendor states this is fixed in 01e86ea22610d98ae6141e428019a6916e79f725 (fixed)
Vendor states this is fixed in 1053dcf8a504d4933bb3f73df22bc363298d194b (fixed)
Vendor states this is fixed in 9992649f6786921873a9b89dafa5e04d8c5fef2b (fixed)
Vendor states this is fixed in fbdba5f37413dbc09d82ad7235e5b7a2fb8e0f75 (fixed)
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.2 (unaffected)
Vendor states this is fixed in 6.6.89 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/01e86ea22610d98ae6141e428019a6916e79f725
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1053dcf8a504d4933bb3f73df22bc363298d194b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9992649f6786921873a9b89dafa5e04d8c5fef2b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fbdba5f37413dbc09d82ad7235e5b7a2fb8e0f75

CVSS

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

Quick Info

StatusANALYZED
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