What’s Vulnerable › Vulnerabilities

CVE-2025-38634: power: supply: cpcap-charger: Fix null check for power_supply_get_by_name

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.190, 6.1.148, 6.12.42, 6.15.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38634 or the next vulnerability affects your stack