CVE-2022-50649 (GCVE-0-2022-50649)
Vulnerability from cvelistv5 – Published: 2025-12-09 00:00 – Updated: 2025-12-23 13:30
VLAI?
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.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
fe8e81b7e899968690e5e87c25727178921b5b9a , < 24a0be36e9a21f63de2e6088607e689e59ec15f4
(git)
Affected: fe8e81b7e899968690e5e87c25727178921b5b9a , < 3376a0cf138dfc90b449fde541ca228a33e1c143 (git) Affected: fe8e81b7e899968690e5e87c25727178921b5b9a , < 89f305a71418591cdda18180f712f91c9820f03b (git) Affected: fe8e81b7e899968690e5e87c25727178921b5b9a , < 7c8bc374659de19d846f7cab3eda9ebdb005c4cc (git) Affected: fe8e81b7e899968690e5e87c25727178921b5b9a , < 038e4aa71281d0cbc8aeb56ba05ff7fc5653a106 (git) Affected: fe8e81b7e899968690e5e87c25727178921b5b9a , < dc52b73d3acd676ccbb440fcec617c547b903af2 (git) Affected: fe8e81b7e899968690e5e87c25727178921b5b9a , < 9d47e01b9d807808224347935562f7043a358054 (git) |
|||||||
|
|||||||||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/power/supply/adp5061.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "24a0be36e9a21f63de2e6088607e689e59ec15f4",
"status": "affected",
"version": "fe8e81b7e899968690e5e87c25727178921b5b9a",
"versionType": "git"
},
{
"lessThan": "3376a0cf138dfc90b449fde541ca228a33e1c143",
"status": "affected",
"version": "fe8e81b7e899968690e5e87c25727178921b5b9a",
"versionType": "git"
},
{
"lessThan": "89f305a71418591cdda18180f712f91c9820f03b",
"status": "affected",
"version": "fe8e81b7e899968690e5e87c25727178921b5b9a",
"versionType": "git"
},
{
"lessThan": "7c8bc374659de19d846f7cab3eda9ebdb005c4cc",
"status": "affected",
"version": "fe8e81b7e899968690e5e87c25727178921b5b9a",
"versionType": "git"
},
{
"lessThan": "038e4aa71281d0cbc8aeb56ba05ff7fc5653a106",
"status": "affected",
"version": "fe8e81b7e899968690e5e87c25727178921b5b9a",
"versionType": "git"
},
{
"lessThan": "dc52b73d3acd676ccbb440fcec617c547b903af2",
"status": "affected",
"version": "fe8e81b7e899968690e5e87c25727178921b5b9a",
"versionType": "git"
},
{
"lessThan": "9d47e01b9d807808224347935562f7043a358054",
"status": "affected",
"version": "fe8e81b7e899968690e5e87c25727178921b5b9a",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/power/supply/adp5061.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.19"
},
{
"lessThan": "4.19",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.262",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.220",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.150",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.75",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.19.*",
"status": "unaffected",
"version": "5.19.17",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"version": "6.0.3",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.262",
"versionStartIncluding": "4.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.220",
"versionStartIncluding": "4.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.150",
"versionStartIncluding": "4.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.75",
"versionStartIncluding": "4.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.19.17",
"versionStartIncluding": "4.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.3",
"versionStartIncluding": "4.19",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1",
"versionStartIncluding": "4.19",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()\n\nADP5061_CHG_STATUS_1_CHG_STATUS is masked with 0x07, which means a length\nof 8, but adp5061_chg_type array size is 4, may end up reading 4 elements\nbeyond the end of the adp5061_chg_type[] array."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-23T13:30:26.076Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/24a0be36e9a21f63de2e6088607e689e59ec15f4"
},
{
"url": "https://git.kernel.org/stable/c/3376a0cf138dfc90b449fde541ca228a33e1c143"
},
{
"url": "https://git.kernel.org/stable/c/89f305a71418591cdda18180f712f91c9820f03b"
},
{
"url": "https://git.kernel.org/stable/c/7c8bc374659de19d846f7cab3eda9ebdb005c4cc"
},
{
"url": "https://git.kernel.org/stable/c/038e4aa71281d0cbc8aeb56ba05ff7fc5653a106"
},
{
"url": "https://git.kernel.org/stable/c/dc52b73d3acd676ccbb440fcec617c547b903af2"
},
{
"url": "https://git.kernel.org/stable/c/9d47e01b9d807808224347935562f7043a358054"
}
],
"title": "power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50649",
"datePublished": "2025-12-09T00:00:23.331Z",
"dateReserved": "2025-12-08T23:57:43.371Z",
"dateUpdated": "2025-12-23T13:30:26.076Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50649\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-09T01:16:47.623\",\"lastModified\":\"2025-12-09T18:37:13.640\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\npower: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()\\n\\nADP5061_CHG_STATUS_1_CHG_STATUS is masked with 0x07, which means a length\\nof 8, but adp5061_chg_type array size is 4, may end up reading 4 elements\\nbeyond the end of the adp5061_chg_type[] array.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/038e4aa71281d0cbc8aeb56ba05ff7fc5653a106\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/24a0be36e9a21f63de2e6088607e689e59ec15f4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3376a0cf138dfc90b449fde541ca228a33e1c143\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7c8bc374659de19d846f7cab3eda9ebdb005c4cc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/89f305a71418591cdda18180f712f91c9820f03b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9d47e01b9d807808224347935562f7043a358054\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dc52b73d3acd676ccbb440fcec617c547b903af2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…