Skip to contentSkip to conversation

CVE-2026-93128: platform/x86: lg-laptop: Fix LED resource handling

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

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

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

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

platform/x86: lg-laptop: Fix LED resource handling

The event notification callback might access kbd_backlight even when it was not successfully registered with the LED subsystem. The same happens inside acpi_remove(), where the LED devices are unregistered unconditionally.

Fix this by tracking the availability of the kbd_backlight LED device and use devm_led_classdev_register() to let devres take care of unregistering the LED devices during removal. For this the parent device of the LED devices is changed to the native platform device.

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

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

	Issue introduced in 5.15 with commit ae26278829a80ad0e60ff004de71e9276cee5dc0 and fixed in 6.12.110 with commit 4fbfe3714f645b6c64c9ba8faa83b27e4c9f2edd
	Issue introduced in 5.15 with commit ae26278829a80ad0e60ff004de71e9276cee5dc0 and fixed in 6.18.52 with commit 9a85e2d35e54248aca39bad4f4152ed34de1995f
	Issue introduced in 5.15 with commit ae26278829a80ad0e60ff004de71e9276cee5dc0 and fixed in 7.2.6 with commit acc190322250562d5f28860f4ae1ebaf3e304fc2
	Issue introduced in 5.15 with commit ae26278829a80ad0e60ff004de71e9276cee5dc0 and fixed in 7.3-rc1 with commit 3e91964aa74ab261aa15d9d96318eded2fd9d22a

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

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/platform/x86/lg-laptop.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/4fbfe3714f645b6c64c9ba8faa83b27e4c9f2edd
	https://git.kernel.org/stable/c/9a85e2d35e54248aca39bad4f4152ed34de1995f
	https://git.kernel.org/stable/c/acc190322250562d5f28860f4ae1ebaf3e304fc2
	https://git.kernel.org/stable/c/3e91964aa74ab261aa15d9d96318eded2fd9d22a