Cyber Resilience

CVE-2024-57792

High

Published: 11 January 2025

Published
11 January 2025
Modified
03 November 2025
KEV Added
Patch
CVSS Score v3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0002 6.7th percentile
Risk Priority 16 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-57792 is a high-severity an unspecified weakness vulnerability in Linux Linux Kernel. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 6.7th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2024-57792 is a vulnerability in the Linux kernel's power supply gpio-charger driver. The issue arises when setting charge current limits for devices that enforce a lowest limit greater than zero. If a requested charge current limit falls below this threshold, the driver calculates an array index equal to the current_limit_map_size, resulting in an out-of-bounds memory access beyond the allocated buffer.

The vulnerability carries a CVSS v3.1 base score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). A local attacker with low privileges can exploit it by supplying an invalid charge current limit value, potentially achieving high-impact confidentiality, integrity, and availability effects such as arbitrary code execution, memory corruption, or kernel crashes.

Mitigation is available through upstream patches in the Linux kernel stable trees. The referenced commits—such as 13eb3cae1d8e23cce96c095abe34da8028c09ac5, 6abbbd8286b6f944eecf3c74444c138590135211, afc6e39e824ad0e44b2af50a97885caec8d213d1, b29c7783ac1fe36d639c089cf471ac7a46df05f0, and c3703d9340ca2820e1ac63256f4b423ea8559831—correct the index calculation in the set charge current limits function to prevent the out-of-bounds access. Security practitioners should update affected kernels accordingly.

EU & UK References

Vulnerability details

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…

more

charge current limit is below lowest limit, the index equals current_limit_map_size which leads to accessing memory beyond allocated memory.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Why these techniques?

Local kernel OOB access in gpio-charger driver directly enables privilege escalation via arbitrary code execution or memory corruption from low-privileged context.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2025-71152Same product: Linux Linux Kernel
CVE-2026-23111Same product: Linux Linux Kernel
CVE-2026-31530Same product: Linux Linux Kernel
CVE-2026-23387Same product: Linux Linux Kernel
CVE-2025-21856Same product: Linux Linux Kernel
CVE-2025-21727Same product: Linux Linux Kernel
CVE-2026-23275Same product: Linux Linux Kernel
CVE-2026-31401Same product: Linux Linux Kernel
CVE-2024-57980Same product: Linux Linux Kernel
CVE-2026-23437Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
6.13 · 5.10 — 5.10.233 · 5.11 — 5.15.176 · 5.16 — 6.1.123

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Flaw remediation directly addresses the vulnerability by applying upstream kernel patches that fix the out-of-bounds memory access in the gpio-charger driver.

prevent

Information input validation ensures charge current limit inputs are checked against valid ranges to prevent invalid indices causing buffer overflows.

prevent

Memory protection mechanisms like address space randomization and non-executable stacks mitigate exploitation of the out-of-bounds access for code execution or corruption.

References