CVE-2025-38634 — power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
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() functio…
Published: 2025-08-22 · CVSS: Unscored
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7