CVE-2025-38610
powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw()
Check your servers for CVE-2025-38610
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-38610 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:
powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw()
The get_pd_power_uw() function can crash with a NULL pointer dereference when em_cpu_get() returns NULL. This occurs when a CPU becomes impossible during runtime, causing get_cpu_device() to return NULL, which propagates through em_cpu_get() and leads to a crash when em_span_cpus() dereferences the NULL pointer.
Add a NULL check after em_cpu_get() and return 0 if unavailable, matching the existing fallback behavior in __dtpm_cpu_setup().
[ rjw: Drop an excess empty code line ]
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.18% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from eb82bace893169b319c563b7f813c58a0a5a9f76, before 27914f2b795e2b58e9506f281dcdd98fef09d3c2 affected from eb82bace893169b319c563b7f813c58a0a5a9f76, before c6ec27091cf5ac05094c1fe3a6ce914cf711a37c affected from eb82bace893169b319c563b7f813c58a0a5a9f76, before 8374ac7d69a57d737e701a851ffe980a0d27d3ad affected from eb82bace893169b319c563b7f813c58a0a5a9f76, before 27e0318f0ea69fcfa32228847debc384ade14578 affected from eb82bace893169b319c563b7f813c58a0a5a9f76, before 2fd001a0075ac01dc64a28a8e21226b3d989a91d affected from eb82bace893169b319c563b7f813c58a0a5a9f76, before 46dc57406887dd02565cb264224194a6776d882b
Other versions: unaffected
|
| Linux |
affected 5.16 unaffected before 5.16 unaffected from 6.1.148 up to and including 6.1.* unaffected from 6.6.102 up to and including 6.6.* unaffected from 6.12.42 up to and including 6.12.* unaffected from 6.15.10 up to and including 6.15.* unaffected from 6.16.1 up to and including 6.16.* unaffected 6.17 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-38610 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38610
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-38610
trivy image --scanners vuln IMAGE | grep CVE-2025-38610
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/27914f2b795e2b58e9506f281dcdd98fef09d3c2 git.kernel.org
- https://git.kernel.org/stable/c/c6ec27091cf5ac05094c1fe3a6ce914cf711a37c git.kernel.org
- https://git.kernel.org/stable/c/8374ac7d69a57d737e701a851ffe980a0d27d3ad git.kernel.org
- https://git.kernel.org/stable/c/27e0318f0ea69fcfa32228847debc384ade14578 git.kernel.org
- https://git.kernel.org/stable/c/2fd001a0075ac01dc64a28a8e21226b3d989a91d git.kernel.org
- https://git.kernel.org/stable/c/46dc57406887dd02565cb264224194a6776d882b git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
Source: the record CVE-2025-38610 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