Bug 2420267 (CVE-2022-50649) - CVE-2022-50649 kernel: power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
Summary: CVE-2022-50649 kernel: power: supply: adp5061: fix out-of-bounds read in adp5...
Keywords:
Status: NEW
Alias: CVE-2022-50649
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-09 01:04 UTC by OSIDB Bzimport
Modified: 2025-12-10 05:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-09 01:04:35 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.