CVE-2025-38634
kernel: power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · August 22, 2025
Updated · June 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
In the cpcap_usb_detect() function, the power_supply_get_by_name()
function may return NULL instead of an error pointer.
To prevent potential null pointer dereferences, Added a null check.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified