{"id":"CVE-2025-38610","published":"2025-08-19T17:03:53Z","modified":"2026-05-11T21:31:33Z","title":"powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\npowercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw()\n\nThe get_pd_power_uw() function can crash with a NULL pointer dereference\nwhen em_cpu_get() returns NULL. This occurs when a CPU becomes impossible\nduring runtime, causing get_cpu_device() to return NULL, which propagates\nthrough em_cpu_get() and leads to a crash when em_span_cpus() dereferences\nthe NULL pointer.\n\nAdd a NULL check after em_cpu_get() and return 0 if unavailable,\nmatching the existing fallback behavior in __dtpm_cpu_setup().\n\n[ rjw: Drop an excess empty code line ]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00265,"percentile":0.11388,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/27914f2b795e2b58e9506f281dcdd98fef09d3c2","tags":[]},{"url":"https://git.kernel.org/stable/c/c6ec27091cf5ac05094c1fe3a6ce914cf711a37c","tags":[]},{"url":"https://git.kernel.org/stable/c/8374ac7d69a57d737e701a851ffe980a0d27d3ad","tags":[]},{"url":"https://git.kernel.org/stable/c/27e0318f0ea69fcfa32228847debc384ade14578","tags":[]},{"url":"https://git.kernel.org/stable/c/2fd001a0075ac01dc64a28a8e21226b3d989a91d","tags":[]},{"url":"https://git.kernel.org/stable/c/46dc57406887dd02565cb264224194a6776d882b","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.28}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= eb82bace893169b319c563b7f813c58a0a5a9f76, < 27914f2b795e2b58e9506f281dcdd98fef09d3c2",">= eb82bace893169b319c563b7f813c58a0a5a9f76, < c6ec27091cf5ac05094c1fe3a6ce914cf711a37c",">= eb82bace893169b319c563b7f813c58a0a5a9f76, < 8374ac7d69a57d737e701a851ffe980a0d27d3ad",">= eb82bace893169b319c563b7f813c58a0a5a9f76, < 27e0318f0ea69fcfa32228847debc384ade14578",">= eb82bace893169b319c563b7f813c58a0a5a9f76, < 2fd001a0075ac01dc64a28a8e21226b3d989a91d",">= eb82bace893169b319c563b7f813c58a0a5a9f76, < 46dc57406887dd02565cb264224194a6776d882b"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"euvd":{"id":"EUVD-2025-27933","exploited":false,"provenance":"source"}}