CVE-2022-50649
kernel: power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · December 9, 2025
Updated · June 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
ADP5061_CHG_STATUS_1_CHG_STATUS is masked with 0x07, which means a length of 8, but adp5061_chg_type array size is 4, may end up reading 4 elements beyond the end of the adp5061_chg_type[] array.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified