{"id":"CVE-2025-37830","summary":"cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()\n\ncpufreq_cpu_get_raw() can return NULL when the target CPU is not present\nin the policy-\u003ecpus mask. scmi_cpufreq_get_rate() does not check for\nthis case, which results in a NULL pointer dereference.\n\nAdd NULL check after cpufreq_cpu_get_raw() to prevent this issue.","modified":"2026-04-16T04:38:16.661775627Z","published":"2025-05-08T06:26:21.736Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:01972-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37830.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/484d3f15cc6cbaa52541d6259778e715b2c83c54"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e3d1c1925d8e752992cd893d03d974e6807ac16"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ccfadfb2562337b4f0462a86a9746a6eea89718"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd1dcfba72aac4159c1d5e17cd861e702e6c19ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cfaca93b8fe317b7faa9af732e0ba8c9081fa018"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea834c90aa7cc80a1b456f7a91432734d5087d16"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9c5423855e3687262d881aeee5cfb3bc8577bff"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37830.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37830"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"99d6bdf3387734d75e3e34e94a58b8a355b7a9c8"},{"fixed":"bd1dcfba72aac4159c1d5e17cd861e702e6c19ac"},{"fixed":"4e3d1c1925d8e752992cd893d03d974e6807ac16"},{"fixed":"f9c5423855e3687262d881aeee5cfb3bc8577bff"},{"fixed":"ea834c90aa7cc80a1b456f7a91432734d5087d16"},{"fixed":"7ccfadfb2562337b4f0462a86a9746a6eea89718"},{"fixed":"cfaca93b8fe317b7faa9af732e0ba8c9081fa018"},{"fixed":"484d3f15cc6cbaa52541d6259778e715b2c83c54"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37830.json"}}],"schema_version":"1.7.5"}