CVE-2024-57792·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.8
- Published
- 2025-01-11
Affected versions
From: 6.7
Until: 6.12.8
Fixed in: 6.12.8
How to fix this CVE
Update your Linux kernel to version 6.12.8 or later to fix a memory access vulnerability in the GPIO charger driver's charge current limit handling. This flaw affects systems running kernel versions 6.7 through 6.12.7 and can be exploited by local users with sufficient privileges to cause system instability or data corruption. Prioritize this patch for production systems using affected kernel versions.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r
- Verify if gpio-charger driver is loaded: lsmod | grep gpio_charger
- Review kernel logs for memory access errors: dmesg | grep -i 'gpio\|charger\|memory'
- Confirm patch applied by checking kernel build date: cat /proc/version and verify it matches or exceeds 6.12.8 release date
FAQ
What is CVE-2024-57792?
CVE-2024-57792 is a heap buffer overflow in the Linux kernel's GPIO charger driver that occurs when setting charge current limits below the device's minimum supported value, causing out-of-bounds memory access.
Is CVE-2024-57792 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available.
What versions of Kernel are affected by CVE-2024-57792?
Kernel versions 6.7 through 6.12.7 are vulnerable; version 6.12.8 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-57792?
Run `uname -r` to check your kernel version; if it reports 6.7.x through 6.12.7, your system is vulnerable.
Does Defensia detect CVE-2024-57792?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-57792 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/13eb3cae1d8e23cce96c095abe34da8028c09ac5
- https://git.kernel.org/stable/c/6abbbd8286b6f944eecf3c74444c138590135211
- https://git.kernel.org/stable/c/afc6e39e824ad0e44b2af50a97885caec8d213d1
- https://git.kernel.org/stable/c/b29c7783ac1fe36d639c089cf471ac7a46df05f0
- https://git.kernel.org/stable/c/c3703d9340ca2820e1ac63256f4b423ea8559831
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-57792. Free for 1 server.
Get started free