Skip to contentSkip to conversation

CVE-2026-46286: leds: qcom-lpg: Check for array overflow when selecting the high resolution

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 8

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-46286 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.6.140 with commit 28a2e047d03721e0517c67ee726eaa6621c30e5f
	Fixed in 6.12.86 with commit 36ce3094dc50598f38fd961b46688cd533940efc
	Fixed in 6.18.27 with commit 438e357b3cc6cd6900df271e4bc567bfe1142281
	Fixed in 7.0.4 with commit f67a24e75d3251ba42538738120b6b659c0dca7d
	Fixed in 7.1-rc1 with commit d45963a93c1495e9f1338fde91d0ebba8fd22474

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-46286

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/leds/rgb/leds-qcom-lpg.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	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