CVE-2025-37830
cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.17
References 7
git.kernel.org
- stable/c/bd1dcfba72aac4159c1d5e17cd861e702e6c19ac
- stable/c/4e3d1c1925d8e752992cd893d03d974e6807ac16
- stable/c/f9c5423855e3687262d881aeee5cfb3bc8577bff
- stable/c/ea834c90aa7cc80a1b456f7a91432734d5087d16
- stable/c/7ccfadfb2562337b4f0462a86a9746a6eea89718
- stable/c/cfaca93b8fe317b7faa9af732e0ba8c9081fa018
- stable/c/484d3f15cc6cbaa52541d6259778e715b2c83c54