CVE-2025-37831
kernel: cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_cpufreq_get_rate()
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · May 8, 2025
Updated · June 30, 2026
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.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified