leds: qcom-lpg: Check for array overflow when selecting the high resolution
CVE-2026-46286
Currently unrated
What is CVE-2026-46286?
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 Version(s)
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 28a2e047d03721e0517c67ee726eaa6621c30e5f
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 36ce3094dc50598f38fd961b46688cd533940efc
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 438e357b3cc6cd6900df271e4bc567bfe1142281