CVE-2025-23144
backlight: led_bl: Hold led_access lock when calling led_sysfs_disable()
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().
Produtos afetados
Linux · LinuxQuer saber se a sua infraestrutura está exposta a isto?
Falar com a TrueHacking →Referências
https://git.kernel.org/stable/c/11d128f7eacec276c75cf4712880a6307ca9c885https://git.kernel.org/stable/c/1c82f5a393d8b9a5c1ea032413719862098afd4bhttps://git.kernel.org/stable/c/276822a00db3c1061382b41e72cafc09d6a0ec30https://git.kernel.org/stable/c/61a5c565fd2442d3128f3bab5f022658adc3a4e6https://git.kernel.org/stable/c/74c7d67a3c305fc1fa03c32a838e8446fb7aee14https://git.kernel.org/stable/c/87d947a0607be384bfe7bb0935884a711e35ca07https://git.kernel.org/stable/c/b447885ec9130cf86f355e011dc6b94d6ccfb5b7https://git.kernel.org/stable/c/b8ddf5107f53789448900f04fa220f34cd2f777ehttps://lists.debian.org/debian-lts-announce/2025/05/msg00030.htmlhttps://lists.debian.org/debian-lts-announce/2025/05/msg00045.html