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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
fe8e81b7e899968690e5e87c25727178921b5b9a to < 24a0be36e9a21f63de2e6088607e689e59ec15f4affectedfe8e81b7e899968690e5e87c25727178921b5b9a to < 3376a0cf138dfc90b449fde541ca228a33e1c143affectedfe8e81b7e899968690e5e87c25727178921b5b9a to < 89f305a71418591cdda18180f712f91c9820f03baffectedfe8e81b7e899968690e5e87c25727178921b5b9a to < 7c8bc374659de19d846f7cab3eda9ebdb005c4ccaffectedfe8e81b7e899968690e5e87c25727178921b5b9a to < 038e4aa71281d0cbc8aeb56ba05ff7fc5653a106affectedfe8e81b7e899968690e5e87c25727178921b5b9a to < dc52b73d3acd676ccbb440fcec617c547b903af2affectedfe8e81b7e899968690e5e87c25727178921b5b9a to < 9d47e01b9d807808224347935562f7043a358054affected
Linux Linux
Default version status: affected
4.19affected0 to < 4.19unaffected4.19.262 to ≤ 4.19.*unaffected5.4.220 to ≤ 5.4.*unaffected5.10.150 to ≤ 5.10.*unaffected5.15.75 to ≤ 5.15.*unaffected5.19.17 to ≤ 5.19.*unaffected6.0.3 to ≤ 6.0.*unaffected6.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/24a0be36e9a21f63de2e6088607e689e59ec15f4 ↗
- https://git.kernel.org/stable/c/3376a0cf138dfc90b449fde541ca228a33e1c143 ↗
- https://git.kernel.org/stable/c/89f305a71418591cdda18180f712f91c9820f03b ↗
- https://git.kernel.org/stable/c/7c8bc374659de19d846f7cab3eda9ebdb005c4cc ↗
- https://git.kernel.org/stable/c/038e4aa71281d0cbc8aeb56ba05ff7fc5653a106 ↗
- https://git.kernel.org/stable/c/dc52b73d3acd676ccbb440fcec617c547b903af2 ↗
- https://git.kernel.org/stable/c/9d47e01b9d807808224347935562f7043a358054 ↗