CVE-2025-38610

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38610
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38610.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38610
Downstream
Related
Published
2025-08-19T17:15:39Z
Modified
2025-09-06T13:01:27Z
Summary
[none]
Details

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

powercap: dtpmcpu: Fix NULL pointer dereference in getpdpoweruw()

The getpdpoweruw() function can crash with a NULL pointer dereference when emcpuget() returns NULL. This occurs when a CPU becomes impossible during runtime, causing getcpudevice() to return NULL, which propagates through emcpuget() and leads to a crash when emspan_cpus() dereferences the NULL pointer.

Add a NULL check after emcpuget() and return 0 if unavailable, matching the existing fallback behavior in _dtpmcpu_setup().

[ rjw: Drop an excess empty code line ]

References

Affected packages