| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-23144: backlight: led_bl: Hold led_access lock when calling led_sysfs_disable() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| backlight: led_bl: Hold led_access lock when calling led_sysfs_disable() |
| |
| Lockdep detects the following issue on led-backlight removal: |
| [ 142.315935] ------------[ cut here ]------------ |
| [ 142.315954] WARNING: CPU: 2 PID: 292 at drivers/leds/led-core.c:455 led_sysfs_enable+0x54/0x80 |
| ... |
| [ 142.500725] Call trace: |
| [ 142.503176] led_sysfs_enable+0x54/0x80 (P) |
| [ 142.507370] led_bl_remove+0x80/0xa8 [led_bl] |
| [ 142.511742] platform_remove+0x30/0x58 |
| [ 142.515501] device_remove+0x54/0x90 |
| ... |
| |
| Indeed, led_sysfs_enable() has to be called with the led_access |
| lock held. |
| |
| Hold the lock when calling led_sysfs_disable(). |
| |
| The Linux kernel CVE team has assigned CVE-2025-23144 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.6 with commit ae232e45acf9621f2c96b41ca3af006ac7552c33 and fixed in 5.10.237 with commit 87d947a0607be384bfe7bb0935884a711e35ca07 |
| Issue introduced in 5.6 with commit ae232e45acf9621f2c96b41ca3af006ac7552c33 and fixed in 5.15.181 with commit 74c7d67a3c305fc1fa03c32a838e8446fb7aee14 |
| Issue introduced in 5.6 with commit ae232e45acf9621f2c96b41ca3af006ac7552c33 and fixed in 6.1.136 with commit b447885ec9130cf86f355e011dc6b94d6ccfb5b7 |
| Issue introduced in 5.6 with commit ae232e45acf9621f2c96b41ca3af006ac7552c33 and fixed in 6.6.88 with commit 1c82f5a393d8b9a5c1ea032413719862098afd4b |
| Issue introduced in 5.6 with commit ae232e45acf9621f2c96b41ca3af006ac7552c33 and fixed in 6.12.24 with commit 61a5c565fd2442d3128f3bab5f022658adc3a4e6 |
| Issue introduced in 5.6 with commit ae232e45acf9621f2c96b41ca3af006ac7552c33 and fixed in 6.13.12 with commit 11d128f7eacec276c75cf4712880a6307ca9c885 |
| Issue introduced in 5.6 with commit ae232e45acf9621f2c96b41ca3af006ac7552c33 and fixed in 6.14.3 with commit b8ddf5107f53789448900f04fa220f34cd2f777e |
| Issue introduced in 5.6 with commit ae232e45acf9621f2c96b41ca3af006ac7552c33 and fixed in 6.15 with commit 276822a00db3c1061382b41e72cafc09d6a0ec30 |
| |
| 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-2025-23144 |
| 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/led_bl.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/87d947a0607be384bfe7bb0935884a711e35ca07 |
| https://git.kernel.org/stable/c/74c7d67a3c305fc1fa03c32a838e8446fb7aee14 |
| https://git.kernel.org/stable/c/b447885ec9130cf86f355e011dc6b94d6ccfb5b7 |
| https://git.kernel.org/stable/c/1c82f5a393d8b9a5c1ea032413719862098afd4b |
| https://git.kernel.org/stable/c/61a5c565fd2442d3128f3bab5f022658adc3a4e6 |
| https://git.kernel.org/stable/c/11d128f7eacec276c75cf4712880a6307ca9c885 |
| https://git.kernel.org/stable/c/b8ddf5107f53789448900f04fa220f34cd2f777e |
| https://git.kernel.org/stable/c/276822a00db3c1061382b41e72cafc09d6a0ec30 |