CVE-2024-57792 power: supply: gpio-charger: Fix set charge current limits

High 7.3 Published Updated

A memory corruption vulnerability in the Linux kernel gpio-charger driver allows attackers to cause denial of service or execute code via out-of-bounds memory access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-57792?

CVE-2024-57792 is a high-severity memory corruption vulnerability in Linux kernel, published on 11 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2024-57792?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-57792?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-57792 being exploited?

There is no known exploitation of CVE-2024-57792 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-57792, DEBIAN-CVE-2024-57792, GHSA-2658-h2r6-3vxc, UBUNTU-CVE-2024-57792.

Is CVE-2024-57792 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free