CVE-2024-57792
power: supply: gpio-charger: Fix set charge current limits
Check your servers for CVE-2024-57792
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-57792 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from be2919d8355e4651386ad2fb61ddb6efe4533b1b, before b29c7783ac1fe36d639c089cf471ac7a46df05f0 affected from be2919d8355e4651386ad2fb61ddb6efe4533b1b, before c3703d9340ca2820e1ac63256f4b423ea8559831 affected from be2919d8355e4651386ad2fb61ddb6efe4533b1b, before 6abbbd8286b6f944eecf3c74444c138590135211 affected from be2919d8355e4651386ad2fb61ddb6efe4533b1b, before 13eb3cae1d8e23cce96c095abe34da8028c09ac5 affected from be2919d8355e4651386ad2fb61ddb6efe4533b1b, before f6279a98db132da0cfff18712a1b06478c32007f affected from be2919d8355e4651386ad2fb61ddb6efe4533b1b, before afc6e39e824ad0e44b2af50a97885caec8d213d1
Other versions: unaffected
|
| Linux |
affected 5.10 unaffected before 5.10 unaffected from 5.10.233 up to and including 5.10.* unaffected from 5.15.176 up to and including 5.15.* unaffected from 6.1.123 up to and including 6.1.* unaffected from 6.6.69 up to and including 6.6.* unaffected from 6.12.8 up to and including 6.12.* unaffected 6.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-57792 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-57792
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-57792
trivy image --scanners vuln IMAGE | grep CVE-2024-57792
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b29c7783ac1fe36d639c089cf471ac7a46df05f0 git.kernel.org
- https://git.kernel.org/stable/c/c3703d9340ca2820e1ac63256f4b423ea8559831 git.kernel.org
- https://git.kernel.org/stable/c/6abbbd8286b6f944eecf3c74444c138590135211 git.kernel.org
- https://git.kernel.org/stable/c/13eb3cae1d8e23cce96c095abe34da8028c09ac5 git.kernel.org
- https://git.kernel.org/stable/c/f6279a98db132da0cfff18712a1b06478c32007f git.kernel.org
- https://git.kernel.org/stable/c/afc6e39e824ad0e44b2af50a97885caec8d213d1 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
Source: the record CVE-2024-57792 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse