CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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.

Classification

CVE ID: CVE-2025-37830

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 7.6% (scored less or equal to compared to others)

EPSS Date: 2025-06-06 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-37830
https://git.kernel.org/stable/c/4e3d1c1925d8e752992cd893d03d974e6807ac16
https://git.kernel.org/stable/c/f9c5423855e3687262d881aeee5cfb3bc8577bff
https://git.kernel.org/stable/c/ea834c90aa7cc80a1b456f7a91432734d5087d16
https://git.kernel.org/stable/c/7ccfadfb2562337b4f0462a86a9746a6eea89718
https://git.kernel.org/stable/c/cfaca93b8fe317b7faa9af732e0ba8c9081fa018
https://git.kernel.org/stable/c/484d3f15cc6cbaa52541d6259778e715b2c83c54

Timeline