Bug 2390369 (CVE-2025-38634) - CVE-2025-38634 kernel: power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
Summary: CVE-2025-38634 kernel: power: supply: cpcap-charger: Fix null check for power...
Keywords:
Status: NEW
Alias: CVE-2025-38634
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-22 17:03 UTC by OSIDB Bzimport
Modified: 2025-08-25 10:16 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-22 17:03:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.