CVE-2026-93171: leds: lp5860: Fix a potential double-unlock
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
leds: lp5860: Fix a potential double-unlock
In lp5860_device_init(), if lp5860_init_dt() fails, an already unlocked mutex is unlocked another time.
Slightly rework how the lock is taken/released to avoid this potential double unlock.
The Linux kernel CVE team has assigned CVE-2026-93171 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.2 with commit f0a66563aa2d0bb5673329ae6c4acb5d583cfdef and fixed in 7.2.6 with commit 989f3d01fc1961d0850b343e0b4e3973c082d82e Issue introduced in 7.2 with commit f0a66563aa2d0bb5673329ae6c4acb5d583cfdef and fixed in 7.3-rc1 with commit 10a5a70c02277a1c12999b669a1bd1922558338a
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-93171
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-lp5860-core.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/989f3d01fc1961d0850b343e0b4e3973c082d82e https://git.kernel.org/stable/c/10a5a70c02277a1c12999b669a1bd1922558338a