CVE-2025-38610

MediumCVSS 5.5/10Last modified Jun 17, 2026

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 ]

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= eb82bace893169b319c563b7f813c58a0a5a9f76, < 27914f2b795e2b58e9506f281dcdd98fef09d3c2; >= eb82bace893169b319c563b7f813c58a0a5a9f76, < c6ec27091cf5ac05094c1fe3a6ce914cf711a37c; >= eb82bace893169b319c563b7f813c58a0a5a9f76, < 8374ac7d69a57d737e701a851ffe980a0d27d3ad; >= eb82bace893169b319c563b7f813c58a0a5a9f76, < 27e0318f0ea69fcfa32228847debc384ade14578; >= eb82bace893169b319c563b7f813c58a0a5a9f76, < 2fd001a0075ac01dc64a28a8e21226b3d989a91d; >= eb82bace893169b319c563b7f813c58a0a5a9f76, < 46dc57406887dd02565cb264224194a6776d882b
LinuxLinux5.16

References

Timeline

Published
Aug 19, 2025
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2025

CVE-2025-386125.5In the Linux kernel, the following vulnerability has been resolved: staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc() CVE-2025-386135.5In the Linux kernel, the following vulnerability has been resolved: staging: gpib: fix unset padding field copy back to userspace The intrCVE-2025-386145.5In the Linux kernel, the following vulnerability has been resolved: eventpoll: Fix semi-unbounded recursion Ensure that epoll instances caCVE-2025-386155.5In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: cancle set bad inode after removing name fails The reproduceCVE-2025-386167.1In the Linux kernel, the following vulnerability has been resolved: tls: handle data disappearing from under the TLS ULP TLS expects that CVE-2025-386174.7In the Linux kernel, the following vulnerability has been resolved: net/packet: fix a race in packet_set_ring() and packet_notifier() WhenCVE-2025-386187.8In the Linux kernel, the following vulnerability has been resolved: vsock: Do not allow binding to VMADDR_PORT_ANY It is possible for a vsCVE-2025-386195.5In the Linux kernel, the following vulnerability has been resolved: media: ti: j721e-csi2rx: fix list_del corruption If ti_csi2rx_start_dmCVE-2025-38625.4Contest Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘id’ parameter in all versions up to, and includinCVE-2025-386207.8In the Linux kernel, the following vulnerability has been resolved: zloop: fix KASAN use-after-free of tag set When a zoned loop device, oCVE-2025-386215.5In the Linux kernel, the following vulnerability has been resolved: md: make rdev_addable usable for rcu mode Our testcase trigger panic: CVE-2025-386225.5In the Linux kernel, the following vulnerability has been resolved: net: drop UFO packets in udp_rcv_segment() When sending a packet with
CVE-2025-38610: Medium severity, CVSS 5.5 | Vulnix