CVE-2025-37829
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 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.15NVD
debian debian_linux11.0NVD

Classification

CWE-476

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

https://git.kernel.org/stable/c/ad4796f2da495b2cbbd0fccccbcbf63f2aeee613patch
https://git.kernel.org/stable/c/fdf035d9c5436536ffcfea0ac6adeb5dda3c3a23patch
https://git.kernel.org/stable/c/8fbaa76690f67a7cbad315f89d607b46e3e06edepatch
https://git.kernel.org/stable/c/da8ee91e532486055ecf88478d38c2f3dc234182patch
https://git.kernel.org/stable/c/19e0eaa62e8831f2bc0285fef3bf8faaa7f3e09bpatch
https://git.kernel.org/stable/c/28fbd7b13b4d3074b16db913aedc9d8d37ab41e7patch
https://git.kernel.org/stable/c/124bddf123311cd1f18bffd63a5d974468d59c67patch
https://git.kernel.org/stable/c/73b24dc731731edf762f9454552cb3a5b7224949patch
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.htmlmailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.htmlmailing-list, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-37829 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-37829 changed 2026-11-05Public domain