CVE-2025-38634

power: supply: cpcap-charger: Fix null check for power_supply_get_by_name

published August 22, 2025

CVSS
—
EPSS
0%
Percentile
5.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00166 · 5.6th percentile
Published
2025-08-22T16:00Z
EPSS history
Timeline
  • 22 AUG 16:00Z
    power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
    cvelistv5