{"id":"CVE-2022-50649","aliases":["CVE-2022-50649"],"related":[],"kind":"vulnerability","state":"published","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:\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\npower: supply: adp5061: corregir lectura fuera de límites en adp5061_get_chg_type()\n\nADP5061_CHG_STATUS_1_CHG_STATUS se enmascara con 0x07, lo que significa una longitud de 8, pero el tamaño del array adp5061_chg_type es 4, puede terminar leyendo 4 elementos más allá del final del array adp5061_chg_type[].","source":"nvd"}],"published":"2025-12-09T00:00:23.331Z","modified":"2026-11-10T12:10:00.177Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fe8e81b7e899968690e5e87c25727178921b5b9a","fixed":"24a0be36e9a21f63de2e6088607e689e59ec15f4","status":"affected"},{"type":"git","introduced":"fe8e81b7e899968690e5e87c25727178921b5b9a","fixed":"3376a0cf138dfc90b449fde541ca228a33e1c143","status":"affected"},{"type":"git","introduced":"fe8e81b7e899968690e5e87c25727178921b5b9a","fixed":"89f305a71418591cdda18180f712f91c9820f03b","status":"affected"},{"type":"git","introduced":"fe8e81b7e899968690e5e87c25727178921b5b9a","fixed":"7c8bc374659de19d846f7cab3eda9ebdb005c4cc","status":"affected"},{"type":"git","introduced":"fe8e81b7e899968690e5e87c25727178921b5b9a","fixed":"038e4aa71281d0cbc8aeb56ba05ff7fc5653a106","status":"affected"},{"type":"git","introduced":"fe8e81b7e899968690e5e87c25727178921b5b9a","fixed":"dc52b73d3acd676ccbb440fcec617c547b903af2","status":"affected"},{"type":"git","introduced":"fe8e81b7e899968690e5e87c25727178921b5b9a","fixed":"9d47e01b9d807808224347935562f7043a358054","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"4.19.262","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.220","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/24a0be36e9a21f63de2e6088607e689e59ec15f4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3376a0cf138dfc90b449fde541ca228a33e1c143","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89f305a71418591cdda18180f712f91c9820f03b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c8bc374659de19d846f7cab3eda9ebdb005c4cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/038e4aa71281d0cbc8aeb56ba05ff7fc5653a106","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc52b73d3acd676ccbb440fcec617c547b903af2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d47e01b9d807808224347935562f7043a358054","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50649","url":"https://www.cve.org/CVERecord?id=CVE-2022-50649","licence":"CVE Terms of Use","modified":"2026-05-11T19:22:55.869Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50649","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50649","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.303Z","epss":{"score":0.00285,"percentile":0.13587,"date":"2026-11-30T12:00:22.000Z"}}