power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel dc52b73d3acd676ccbb440fcec617c547b903af2, Kernel 038e4aa71281d0cbc8aeb56ba05ff7fc5653a106, Kernel 24a0be36e9a21f63de2e6088607e689e59ec15f4 and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=fe8e81b7e899968690e5e87c25727178921b5b9a <dc52b73d3acd676ccbb440fcec617c547b903af2, >=fe8e81b7e899968690e5e87c25727178921b5b9a <038e4aa71281d0cbc8aeb56ba05ff7fc5653a106, >=fe8e81b7e899968690e5e87c25727178921b5b9a <24a0be36e9a21f63de2e6088607e689e59ec15f4, >=fe8e81b7e899968690e5e87c25727178921b5b9a <3376a0cf138dfc90b449fde541ca228a33e1c143, >=fe8e81b7e899968690e5e87c25727178921b5b9a <7c8bc374659de19d846f7cab3eda9ebdb005c4cc, >=fe8e81b7e899968690e5e87c25727178921b5b9a <89f305a71418591cdda18180f712f91c9820f03b, >=fe8e81b7e899968690e5e87c25727178921b5b9a <9d47e01b9d807808224347935562f7043a358054, =4.19 | dc52b73d3acd676ccbb440fcec617c547b903af2, 038e4aa71281d0cbc8aeb56ba05ff7fc5653a106, 24a0be36e9a21f63de2e6088607e689e59ec15f4, 3376a0cf138dfc90b449fde541ca228a33e1c143, 7c8bc374659de19d846f7cab3eda9ebdb005c4cc, 89f305a71418591cdda18180f712f91c9820f03b, 9d47e01b9d807808224347935562f7043a358054 |
| linux-kernel: Kernel | >=4.20.0 <5.4.220, >=5.11.0 <5.15.75, >=5.16.0 <5.19.17, >=5.20.0 <6.0.3, >=5.5.0 <5.10.150, >=4.19.0 <4.19.262 | 5.4.220, 5.15.75, 5.19.17, 6.0.3, 5.10.150, 4.19.262 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket