5.5medium
cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate() cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scpi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 343a8d17fa8d6dd97f408e8fedbcef12073f3774 before ad4796f2da495b2cbbd0fccccbcbf63f2aeee613, from 343a8d17fa8d6dd97f408e8fedbcef12073f3774 before fdf035d9c5436536ffcfea0ac6adeb5dda3c3a23, from 343a8d17fa8d6dd97f408e8fedbcef12073f3774 before 8fbaa76690f67a7cbad315f89d607b46e3e06ede, from 343a8d17fa8d6dd97f408e8fedbcef12073f3774 before da8ee91e532486055ecf88478d38c2f3dc234182, from 343a8d17fa8d6dd97f408e8fedbcef12073f3774 before 19e0eaa62e8831f2bc0285fef3bf8faaa7f3e09b, from 343a8d17fa8d6dd97f408e8fedbcef12073f3774 before 28fbd7b13b4d3074b16db913aedc9d8d37ab41e7, from 343a8d17fa8d6dd97f408e8fedbcef12073f3774 before 124bddf123311cd1f18bffd63a5d974468d59c67, from 343a8d17fa8d6dd97f408e8fedbcef12073f3774 before 73b24dc731731edf762f9454552cb3a5b7224949 and 1 more Not affected: before 4.16, from 5.4.293 up to 5.4.*, from 5.10.237 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.* | CVE List |
| linux linux_kernel | from 4.16 before 5.4.293, from 5.5 before 5.10.237, from 5.11 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 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate() cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scpi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cpufreq: scpi: Corregir null-ptr-deref en scpi_cpufreq_get_rate() cpufreq_cpu_get_raw() puede devolver NULL cuando la CPU de destino no está presente en la máscara policy->cpus. scpi_cpufreq_get_rate() no verifica este caso, lo que da como resultado una desreferencia de puntero NULL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37829 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2025-37829 changed 2026-11-05 | Public domain |