CVE-2025-37841
pm: cpupower: bench: Prevent NULL dereference on malloc failure
Check your servers for CVE-2025-37841
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37841 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
pm: cpupower: bench: Prevent NULL dereference on malloc failure
If malloc returns NULL due to low memory, 'config' pointer can be NULL. Add a check to prevent NULL dereference.
Exploitation
EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 24.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7fe2f6399a84760a9af8896ac152728250f82adb, before 34a9394794b0f97af6afedc0c9ee2012c24b28ed affected from 7fe2f6399a84760a9af8896ac152728250f82adb, before 79bded9d70142d2a11d931fc029afece471641db affected from 7fe2f6399a84760a9af8896ac152728250f82adb, before 0e297a02e03dceb2874789ca40bd4e65c5371704 affected from 7fe2f6399a84760a9af8896ac152728250f82adb, before 87b9f0867c0afa7e892f4b30c36cff6bf2707f85 affected from 7fe2f6399a84760a9af8896ac152728250f82adb, before 942a4b97fc77516678b1d8af1521ff9a94c13b3e affected from 7fe2f6399a84760a9af8896ac152728250f82adb, before f8d28fa305b78c5d1073b63f26db265ba8291ae1 affected from 7fe2f6399a84760a9af8896ac152728250f82adb, before ceec06f464d5cfc0ba966225f7d50506ceb62242 affected from 7fe2f6399a84760a9af8896ac152728250f82adb, before 5e38122aa3fd0f9788186e86a677925bfec0b2d1 affected from 7fe2f6399a84760a9af8896ac152728250f82adb, before 208baa3ec9043a664d9acfb8174b332e6b17fb69
Other versions: unaffected
|
| Linux |
affected 3.1 unaffected before 3.1 unaffected from 5.4.293 up to and including 5.4.* unaffected from 5.10.237 up to and including 5.10.* unaffected from 5.15.181 up to and including 5.15.* unaffected from 6.1.135 up to and including 6.1.* unaffected from 6.6.88 up to and including 6.6.* unaffected from 6.12.24 up to and including 6.12.* unaffected from 6.13.12 up to and including 6.13.* unaffected from 6.14.3 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37841 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37841
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-37841
trivy image --scanners vuln IMAGE | grep CVE-2025-37841
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/34a9394794b0f97af6afedc0c9ee2012c24b28ed git.kernel.org
- https://git.kernel.org/stable/c/79bded9d70142d2a11d931fc029afece471641db git.kernel.org
- https://git.kernel.org/stable/c/0e297a02e03dceb2874789ca40bd4e65c5371704 git.kernel.org
- https://git.kernel.org/stable/c/87b9f0867c0afa7e892f4b30c36cff6bf2707f85 git.kernel.org
- https://git.kernel.org/stable/c/942a4b97fc77516678b1d8af1521ff9a94c13b3e git.kernel.org
- https://git.kernel.org/stable/c/f8d28fa305b78c5d1073b63f26db265ba8291ae1 git.kernel.org
- https://git.kernel.org/stable/c/ceec06f464d5cfc0ba966225f7d50506ceb62242 git.kernel.org
- https://git.kernel.org/stable/c/5e38122aa3fd0f9788186e86a677925bfec0b2d1 git.kernel.org
- https://git.kernel.org/stable/c/208baa3ec9043a664d9acfb8174b332e6b17fb69 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2025-37841 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse