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 __dtpmcpusetup().
[ rjw: Drop an excess empty code line ]
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38610.json"
}[
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2025-38610-214b4bf9",
"target": {
"file": "drivers/powercap/dtpm_cpu.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"282465507214470367946898017442380799379",
"291208387769617044671741175104817564866",
"276457565420082268365033242985340267678",
"230491693695580513733867816358444302029"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27914f2b795e2b58e9506f281dcdd98fef09d3c2"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2025-38610-83328194",
"target": {
"file": "drivers/powercap/dtpm_cpu.c",
"function": "get_pd_power_uw"
},
"digest": {
"length": 412.0,
"function_hash": "135524522539156369712578413952736039028"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27914f2b795e2b58e9506f281dcdd98fef09d3c2"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38610.json"