What’s Vulnerable › Vulnerabilities

CVE-2025-37830: cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()

Description

In the Linux kernel, the following vulnerability has been resolved: cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate() cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scmi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference. Add NULL check after cpufreq_cpu_get_raw() to prevent this issue.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.181, 6.1.136, 6.12.26, 6.14.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-37830 or the next vulnerability affects your stack