power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.19.262, 5.10.150, 5.15.75, 5.19.17, 5.4.220, 6.0.3
- CVEs
- CVE-2022-50649
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:46 UTC · Revision 1
Source evidence
power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
core-osv · Original sourcePublished 9 Dec 2025, 00:00 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.
osv:CVE-2022-50649
Kernel
Fixed versions: 4.19.262, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3
Complete source record
{
"id": "b55bfe6e419a1026be40811b1767b5fc15303dc32c78dcf9df717254cff1b59e",
"url": "https://osv.dev/vulnerability/CVE-2022-50649",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()",
"summary": "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.",
"evidence": "osv:CVE-2022-50649",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.19.262",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.220",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.150",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.75",
"evidence": "/affected/1/ranges"
},
{
"value": "5.19.17",
"evidence": "/affected/1/ranges"
},
{
"value": "6.0.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-50649",
"aliases": [
"CVE-2022-50649"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50649.json"
}
}
],
"modified": "2026-10-28T02:30:38.333063971Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/038e4aa71281d0cbc8aeb56ba05ff7fc5653a106",
"https://git.kernel.org/stable/c/24a0be36e9a21f63de2e6088607e689e59ec15f4",
"https://git.kernel.org/stable/c/3376a0cf138dfc90b449fde541ca228a33e1c143",
"https://git.kernel.org/stable/c/7c8bc374659de19d846f7cab3eda9ebdb005c4cc",
"https://git.kernel.org/stable/c/89f305a71418591cdda18180f712f91c9820f03b",
"https://git.kernel.org/stable/c/9d47e01b9d807808224347935562f7043a358054",
"https://git.kernel.org/stable/c/dc52b73d3acd676ccbb440fcec617c547b903af2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50649.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-50649",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50649.json"
}
},
"related_cves": [
{
"value": "CVE-2022-50649",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 505840,
"published_at": "2025-12-09T00:00:23.331+00:00"
}