CVE-2022-50649 Details
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.
A vulnerability in the Linux kernel's handling of the ADP5061 power supply driver can lead to an out-of-bounds read. The issue arises in the 'adp5061_get_chg_type' function, where the 'ADP5061_CHG_STATUS_1_CHG_STATUS' macro is masked with '0x07', indicating a length of 8. However, the 'adp5061_chg_type' array only has a size of 4. This discrepancy can cause the function to read 4 elements beyond the end of the array, potentially leading to undefined behavior.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is '9d47e01b9d807808224347935562f7043a358054', which is included in the official Linux kernel repositories.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/038e4aa71281d0cbc8aeb56ba05ff7fc5653a106 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/24a0be36e9a21f63de2e6088607e689e59ec15f4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/3376a0cf138dfc90b449fde541ca228a33e1c143 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/7c8bc374659de19d846f7cab3eda9ebdb005c4cc | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/89f305a71418591cdda18180f712f91c9820f03b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9d47e01b9d807808224347935562f7043a358054 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/dc52b73d3acd676ccbb440fcec617c547b903af2 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Analog Devices ADP5061 | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 9, 2025 | New CVE Received | kernel.org |
Volerion