CVE-2024-57792: power: supply: gpio-charger: Fix set charge current limits
In the Linux kernel, the following vulnerability has been resolved:
power: supply: gpio-charger: Fix set charge current limits
Fix set charge current limits for devices which allow to set the lowest
charge current limit to be greater zero. If requested charge current limit
is below lowest limit, the index equals current_limit_map_size which leads
to accessing memory beyond allocated memory.
Security readout for executives and security teams
Plain-English summary
A flaw in the Linux gpio-charger driver can access memory outside an allocated table when software requests a charging-current limit below a device’s nonzero minimum. Successful triggering could corrupt system behavior, expose limited data, or cause failure. Risk is concentrated in Linux systems that use this driver with the affected hardware configuration; it is not a general remote Linux vulnerability.
Executive priority
Prioritize remediation for devices confirmed to use the affected driver and hardware condition, especially shared or locally accessible systems. Treat broad server fleets without GPIO charger hardware as lower priority after verification. Because integrity and availability impacts are rated high, confirmed exposed devices should enter the next expedited maintenance cycle.
Technical view
The driver’s charge-current selection logic mishandles devices whose lowest supported current exceeds zero. A request below that minimum can leave the selected index equal to current_limit_map_size, producing an out-of-bounds memory access. CVSS 3.1 rates it 7.3: local, low complexity, low privileges, no user interaction, with potentially high integrity and availability impact.
Likely exposure
Likely exposure is limited to affected Linux kernels using the gpio-charger driver on devices configured with a nonzero lowest charge-current limit. The vulnerable path must receive a requested limit below that minimum. The bundle does not establish which distributions, products, or deployed hardware configurations expose this path by default.
Exploitation context
The supplied CVSS vector describes local exploitation requiring low privileges, not remote network access. CISA KEV status is false, and the supplied sources provide no evidence of active exploitation or a public exploit. Exact reachability and practical impact depend on driver availability, hardware configuration, and access controls around the charging-current interface.
Researcher notes
The decisive condition is an index reaching current_limit_map_size after a below-minimum request, followed by access beyond the allocated map. The bundle identifies multiple Linux stable commits but does not clearly map every affected and fixed release. Researchers should verify ancestry or vendor backports rather than relying only on displayed version strings.
Mitigation direction
Apply the appropriate vendor or Linux stable update containing the cited gpio-charger correction.
Prioritize embedded, mobile, or specialized Linux devices that use GPIO-controlled chargers.
If immediate updating is unavailable, consult the device or distribution vendor for supported mitigations.
Restrict untrusted local access to charge-current controls where operationally feasible.
Validation and detection
Inventory kernel releases and compare their source or package changelogs with the cited stable fixes.
Confirm whether the gpio-charger driver is built, loaded, or used on each device.
Review hardware configuration for a charge-current map whose minimum value is greater than zero.
Verify vendor updates in staging and monitor for charging, kernel, or stability regressions.
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-2024-57792 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.
1CVSS vectors
3Timeline events
1ADP providers
9Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.