What’s Vulnerable › Vulnerabilities
CVE-2025-37831: cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_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: 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 products
- Linux kernel: 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 6.12.26, 6.14.5, 6.6.89
How to fix
Upgrade to a fixed version: Linux kernel 6.12.26, 6.14.5, 6.6.89. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/01e86ea22610d98ae6141e428019a6916e79f725
- https://git.kernel.org/stable/c/1053dcf8a504d4933bb3f73df22bc363298d194b
- https://git.kernel.org/stable/c/9992649f6786921873a9b89dafa5e04d8c5fef2b
- https://git.kernel.org/stable/c/fbdba5f37413dbc09d82ad7235e5b7a2fb8e0f75
Get alerted when CVE-2025-37831 or the next vulnerability affects your stack