Description
In the Linux kernel, the following vulnerability has been resolved: leds: qcom-lpg: Check for array overflow when selecting the high resolution When selecting the high resolution values from the array, FIELD_GET() is used to pull from a 3 bit register, yet the array being indexed has only 5 values in it. Odds are the hardware is sane, but just to be safe, properly check before just overflowing and reading random data and then setting up chip values based on that.
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
b00d2ed37617b5f2f091c98acf542fbedefcbf9b to < 28a2e047d03721e0517c67ee726eaa6621c30e5faffectedb00d2ed37617b5f2f091c98acf542fbedefcbf9b to < 36ce3094dc50598f38fd961b46688cd533940efcaffectedb00d2ed37617b5f2f091c98acf542fbedefcbf9b to < 438e357b3cc6cd6900df271e4bc567bfe1142281affectedb00d2ed37617b5f2f091c98acf542fbedefcbf9b to < f67a24e75d3251ba42538738120b6b659c0dca7daffectedb00d2ed37617b5f2f091c98acf542fbedefcbf9b to < d45963a93c1495e9f1338fde91d0ebba8fd22474affected
Linux Linux
Default version status: affected
6.4affected0 to < 6.4unaffected6.6.140 to ≤ 6.6.*unaffected6.12.86 to ≤ 6.12.*unaffected6.18.27 to ≤ 6.18.*unaffected7.0.4 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/28a2e047d03721e0517c67ee726eaa6621c30e5f ↗
- https://git.kernel.org/stable/c/36ce3094dc50598f38fd961b46688cd533940efc ↗
- https://git.kernel.org/stable/c/438e357b3cc6cd6900df271e4bc567bfe1142281 ↗
- https://git.kernel.org/stable/c/f67a24e75d3251ba42538738120b6b659c0dca7d ↗
- https://git.kernel.org/stable/c/d45963a93c1495e9f1338fde91d0ebba8fd22474 ↗