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 currentlimitmapsize which leads to accessing memory beyond allocated memory.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-57792?
CVE-2024-57792 has been classified as a moderate severity vulnerability affecting the Linux kernel.
How do I fix CVE-2024-57792?
To fix CVE-2024-57792, update to the patched versions of the Linux kernel, specifically 5.10.234-1, 6.1.129-1, 6.1.128-1, 6.12.19-1, or 6.12.20-1.
Which Linux kernel versions are affected by CVE-2024-57792?
CVE-2024-57792 affects Linux kernel versions up to 5.10.223-1 and versions up to 6.1.128-1~deb11u1.
What functionality does CVE-2024-57792 impact?
CVE-2024-57792 impacts the functionality of charge current limit settings in devices managed by the GPIO charger in the Linux kernel.
Is there a workaround for CVE-2024-57792?
There is no specific workaround for CVE-2024-57792; the recommended action is to apply the available updates to mitigate the vulnerability.