leds: qcom-lpg: Check for array overflow when selecting the high resolution
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.1%
exploitation probability
0.1%top 98% of all CVEs
observed exploitation
nono source reports it
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
Linux · LinuxReferences
https://git.kernel.org/stable/c/28a2e047d03721e0517c67ee726eaa6621c30e5fhttps://git.kernel.org/stable/c/36ce3094dc50598f38fd961b46688cd533940efchttps://git.kernel.org/stable/c/438e357b3cc6cd6900df271e4bc567bfe1142281https://git.kernel.org/stable/c/d45963a93c1495e9f1338fde91d0ebba8fd22474https://git.kernel.org/stable/c/f67a24e75d3251ba42538738120b6b659c0dca7d