CVE-2022-50649

Source
https://cve.org/CVERecord?id=CVE-2022-50649
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50649.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50649
Downstream
Related
Published
2025-12-09T00:00:23.331Z
Modified
2026-04-02T08:28:41.503036Z
Summary
power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
Details

In the Linux kernel, the following vulnerability has been resolved:

power: supply: adp5061: fix out-of-bounds read in adp5061getchg_type()

ADP5061CHGSTATUS1CHGSTATUS is masked with 0x07, which means a length of 8, but adp5061chgtype array size is 4, may end up reading 4 elements beyond the end of the adp5061chg_type[] array.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50649.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe8e81b7e899968690e5e87c25727178921b5b9a
Fixed
24a0be36e9a21f63de2e6088607e689e59ec15f4
Fixed
3376a0cf138dfc90b449fde541ca228a33e1c143
Fixed
89f305a71418591cdda18180f712f91c9820f03b
Fixed
7c8bc374659de19d846f7cab3eda9ebdb005c4cc
Fixed
038e4aa71281d0cbc8aeb56ba05ff7fc5653a106
Fixed
dc52b73d3acd676ccbb440fcec617c547b903af2
Fixed
9d47e01b9d807808224347935562f7043a358054

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50649.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.19.262
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.220
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.150
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.75
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50649.json"