{"id":"CVE-2022-50649","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:\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.","modified":"2026-04-02T08:28:41.503036Z","published":"2025-12-09T00:00:23.331Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0350-1","SUSE-SU-2026:0369-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50649.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/038e4aa71281d0cbc8aeb56ba05ff7fc5653a106"},{"type":"WEB","url":"https://git.kernel.org/stable/c/24a0be36e9a21f63de2e6088607e689e59ec15f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3376a0cf138dfc90b449fde541ca228a33e1c143"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c8bc374659de19d846f7cab3eda9ebdb005c4cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/89f305a71418591cdda18180f712f91c9820f03b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d47e01b9d807808224347935562f7043a358054"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc52b73d3acd676ccbb440fcec617c547b903af2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50649.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50649"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}