power: supply: gpio-charger: Fix set charge current limits
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ be2919d8355e4651386ad2fb61ddb6efe4533b1b · < afc6e39e824ad0e44b2af50a97885caec8d213d1| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's gpio-charger component can access memory beyond an allocated array on devices whose lowest supported charge-current limit is greater than zero. This occurs when a requested charge-current limit is below that lowest limit. The input does not specify an attacker path, authentication requirement, or user interaction.
Engineers running the Linux kernel on devices using gpio-charger should check their systems; affected versions are not specified.