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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-05-08T06:26:21.736Z
- Modified: 2026-11-05T21:17:54.230Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 before bd1dcfba72aac4159c1d5e17cd861e702e6c19ac; from 99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 before 4e3d1c1925d8e752992cd893d03d974e6807ac16; from 99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 before f9c5423855e3687262d881aeee5cfb3bc8577bff; from 99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 before ea834c90aa7cc80a1b456f7a91432734d5087d16; from 99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 before 7ccfadfb2562337b4f0462a86a9746a6eea89718; from 99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 before cfaca93b8fe317b7faa9af732e0ba8c9081fa018; from 99d6bdf3387734d75e3e34e94a58b8a355b7a9c8 before 484d3f15cc6cbaa52541d6259778e715b2c83c54; 4.17 (not affected: before 4.17; from 5.10.248 up to 5.10.*; from 5.15.181 up to 5.15.*; from 6.1.136 up to 6.1.*; from 6.6.89 up to 6.6.*; from 6.12.26 up to 6.12.*; from 6.14.5 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 4.17 before 5.15.181; from 5.16 before 6.1.136; from 6.2 before 6.6.89; from 6.7 before 6.12.26; from 6.13 before 6.14.5; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/bd1dcfba72aac4159c1d5e17cd861e702e6c19ac>
- <https://git.kernel.org/stable/c/4e3d1c1925d8e752992cd893d03d974e6807ac16> (patch)
- <https://git.kernel.org/stable/c/f9c5423855e3687262d881aeee5cfb3bc8577bff> (patch)
- <https://git.kernel.org/stable/c/ea834c90aa7cc80a1b456f7a91432734d5087d16> (patch)
- <https://git.kernel.org/stable/c/7ccfadfb2562337b4f0462a86a9746a6eea89718> (patch)
- <https://git.kernel.org/stable/c/cfaca93b8fe317b7faa9af732e0ba8c9081fa018> (patch)
- <https://git.kernel.org/stable/c/484d3f15cc6cbaa52541d6259778e715b2c83c54> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-37830](https://www.cve.org/CVERecord?id=CVE-2025-37830), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-37830](https://nvd.nist.gov/vuln/detail/CVE-2025-37830), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-37830 · Whole record: https://cve.day/CVE-2025-37830.json · Rebuilt by cve.day 2026-11-25T22:58:57.804Z
