CVE-2025-38610 powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw()
A NULL pointer dereference in the Linux kernel powercap subsystem allows local attackers to cause a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38610?
CVE-2025-38610 is a medium-severity vulnerability in Debian Debian Linux, published on 19 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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 ]
Weakness: CWE-476
Which versions are affected by CVE-2025-38610?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38610?
Apply the vendor's patch.
Is CVE-2025-38610 being exploited?
There is no known exploitation of CVE-2025-38610 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-66455, BELL-CVE-2025-38610, DEBIAN-CVE-2025-38610, GHSA-rp5j-qfxg-3367, ROOT-OS-DEBIAN-12-CVE-2025-38610, ROOT-OS-DEBIAN-13-CVE-2025-38610 and 2 more.