← Database

CVE-2025-38634

MEDIUM CVSS: 5.5 Published: 2025-08-22 Modified: 2026-06-17

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 Platforms

Linux Linux KernelDebian Debian Linux

Weakness Type

CWE-476

References