Skip to contentSkip to conversation

CVE-2026-99543: backlight: qcom-wled: Fix NULL pointer dereference in wled_remove()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 19

lore
Share & tools
lore
#0 lore raw

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

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

backlight: qcom-wled: Fix NULL pointer dereference in wled_remove()

wled_probe() doesn't set the driver data for the platform device. As a result, platform_get_drvdata() in wled_remove() will return NULL, and the first dereference of it crashes on unbind.

Set the platform device driver data in wled_probe().

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

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

	Issue introduced in 5.5 with commit feeab87b30726ee3fc0522945c8efaa86a06d48b and fixed in 6.12.117 with commit a4fdcde0855cf0dc754da02dc23b4af36b64e3f8
	Issue introduced in 5.5 with commit feeab87b30726ee3fc0522945c8efaa86a06d48b and fixed in 6.18.61 with commit 8eee3226bccd34d7edced8913968a72a9c50d3b3
	Issue introduced in 5.5 with commit feeab87b30726ee3fc0522945c8efaa86a06d48b and fixed in 7.3.2 with commit a1f4944f6f79bc4d9e44203a797d62b2b645d8f6
	Issue introduced in 5.5 with commit feeab87b30726ee3fc0522945c8efaa86a06d48b and fixed in 7.4-rc1 with commit 1dbd46d4b2fb416a8202b1a8e4ef9d0cadbe075f

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-99543

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/video/backlight/qcom-wled.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/a4fdcde0855cf0dc754da02dc23b4af36b64e3f8
	https://git.kernel.org/stable/c/8eee3226bccd34d7edced8913968a72a9c50d3b3
	https://git.kernel.org/stable/c/a1f4944f6f79bc4d9e44203a797d62b2b645d8f6
	https://git.kernel.org/stable/c/1dbd46d4b2fb416a8202b1a8e4ef9d0cadbe075f