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() 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.
Security readout for executives and security teams
Plain-English summary
CVE-2025-38634 is a Linux kernel reliability flaw in the CPCAP charger driver. A missing NULL check could cause a kernel null pointer dereference when power-supply lookup fails. The public record does not provide CVSS, exploitation evidence, or broad business-impact detail.
Executive priority
Treat this as routine kernel maintenance unless asset inventory shows affected embedded or mobile-class Linux hardware using this charger driver. There is no cited evidence of exploitation, but kernel faults can still disrupt availability on exposed systems.
Technical view
The issue is in cpcap_usb_detect() within the Linux cpcap-charger power-supply driver. power_supply_get_by_name() may return NULL, but the code did not handle that case. Stable kernel commits add the missing NULL check to prevent potential null pointer dereference.
Likely exposure
Exposure appears limited to Linux kernels carrying the vulnerable cpcap-charger code and systems where that driver path is present or used. The source record lists affected Linux kernel versions including 5.14, 5.15.190, 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, and 6.17.
Exploitation context
The provided sources do not show active exploitation, public exploit availability, or KEV listing. Based on the description, the issue is a kernel null pointer dereference risk, likely causing local reliability or denial-of-service impact if the affected path is reachable.
Researcher notes
Evidence is thin: no CVSS, CWE, exploit detail, or complete product matrix is provided. The strongest facts are the kernel description, stable commit references, affected Linux version entries, and Debian LTS advisory reference. Avoid extrapolating impact beyond null pointer dereference prevention.
Mitigation direction
Apply Linux kernel or distribution updates containing the referenced stable fixes.
Review Debian LTS guidance if using affected Debian kernel packages.
Prioritize supported kernel streams that receive stable security backports.
Check vendor guidance before using non-vendor kernel patches in production.
Validation and detection
Inventory running Linux kernel versions across affected assets.
Check whether cpcap-charger is built, loaded, or relevant to deployed hardware.
Confirm installed kernel packages reference CVE-2025-38634 or the stable fix commits.
Verify systems were rebooted into the updated kernel after patching.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-38634 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
1ADP providers
9Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Aug 22, 2025, 16:00 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.