# CVE-2025-37831: cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_cpufreq_get_rate()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-05-08T06:26:22.328Z
- Modified: 2026-06-17T09:15:31.673Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6286bbb40576ffadfde206c332b61345c19af57f before 1053dcf8a504d4933bb3f73df22bc363298d194b; from 6286bbb40576ffadfde206c332b61345c19af57f before fbdba5f37413dbc09d82ad7235e5b7a2fb8e0f75; from 6286bbb40576ffadfde206c332b61345c19af57f before 01e86ea22610d98ae6141e428019a6916e79f725; from 6286bbb40576ffadfde206c332b61345c19af57f before 9992649f6786921873a9b89dafa5e04d8c5fef2b; 6.2 (not affected: before 6.2; from 6.6.89 up to 6.6.*; from 6.12.26 up to 6.12.*; from 6.14.5 up to 6.14.*; from 6.15 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/1053dcf8a504d4933bb3f73df22bc363298d194b> (patch)
- <https://git.kernel.org/stable/c/fbdba5f37413dbc09d82ad7235e5b7a2fb8e0f75> (patch)
- <https://git.kernel.org/stable/c/01e86ea22610d98ae6141e428019a6916e79f725> (patch)
- <https://git.kernel.org/stable/c/9992649f6786921873a9b89dafa5e04d8c5fef2b> (patch)

## Sources

- CVE List: [CVE-2025-37831](https://www.cve.org/CVERecord?id=CVE-2025-37831), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-37831](https://nvd.nist.gov/vuln/detail/CVE-2025-37831), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37831 · Whole record: https://cve.day/CVE-2025-37831.json · Rebuilt by cve.day 2026-11-25T22:58:57.804Z
