CVE-2025-37830

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37830
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37830.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37830
Downstream
Related
Published
2025-05-08T06:26:21.736Z
Modified
2025-11-26T19:34:03.121763Z
Summary
cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
Details

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: scmi: Fix null-ptr-deref in scmicpufreqget_rate()

cpufreqcpugetraw() can return NULL when the target CPU is not present in the policy->cpus mask. scmicpufreqgetrate() does not check for this case, which results in a NULL pointer dereference.

Add NULL check after cpufreqcpuget_raw() to prevent this issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/9c3874e559580d6c6ec8d449812ac11277724770/cves/2025/37xxx/CVE-2025-37830.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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
4e3d1c1925d8e752992cd893d03d974e6807ac16
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
99d6bdf3387734d75e3e34e94a58b8a355b7a9c8
Fixed
f9c5423855e3687262d881aeee5cfb3bc8577bff
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
99d6bdf3387734d75e3e34e94a58b8a355b7a9c8
Fixed
ea834c90aa7cc80a1b456f7a91432734d5087d16
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
99d6bdf3387734d75e3e34e94a58b8a355b7a9c8
Fixed
7ccfadfb2562337b4f0462a86a9746a6eea89718
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
99d6bdf3387734d75e3e34e94a58b8a355b7a9c8
Fixed
cfaca93b8fe317b7faa9af732e0ba8c9081fa018
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
99d6bdf3387734d75e3e34e94a58b8a355b7a9c8
Fixed
484d3f15cc6cbaa52541d6259778e715b2c83c54

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.17.0
Fixed
5.15.181
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.136
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.89
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.26
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.5