Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43B844279E0 for ; Wed, 4 Feb 2026 16:21:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222063; cv=none; b=nMdQqt9t+4zw5kFQl41aJwrlsai9OGwpvlzO/v+cF/6ecyQXG8PcgpklT7gL24wPNy+T39SBVo7B9yCDuc6u3zjcobeCS78uK7WF+I7i13WZMGnefLDImSMyNvT83ptKQbfYso1AKFjkk3EKBr0jXJ0+Sknmn90BUXJTy+gkUDA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222063; c=relaxed/simple; bh=deCmpmz46kjXa+vF04lYNJN9RDu1afEr+VfebInIGtM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CR3nh/JTzTMkKOFweQNepE8DxAEiffyBJ/HUGMm3mzGQRsFyTSXOmN7dK0gQGfz6TioUzojXcPfwrTB9P/v3thVXGyHEIhwciePiyby3oa7o9D8F04JT67+rX66VtCdA57Fa3MEFr3wvLiwS61kvjr3bef8F4Auq7IWQh+VfYVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MJAUhaBj; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MJAUhaBj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74844C4CEF7; Wed, 4 Feb 2026 16:21:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770222063; bh=deCmpmz46kjXa+vF04lYNJN9RDu1afEr+VfebInIGtM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=MJAUhaBjyWmuCqe7RhJkG529z0TJ9NMsby2/iqCrhiWzOQgfTGGf/SA1MshRSYy1c gIiYgfkwu6wlygXn+mcoXBDSCng2KPfCX0Zs5R8LrTRtyaiEzx4TgvoANtyWQ3XAPx KU5OtofZo3PAviwGbq6BoW2cevOMQZBngKSKbSro= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23101: leds: led-class: Only Add LED to leds_list when it is fully ready Date: Wed, 4 Feb 2026 17:15:00 +0100 Message-ID: <2026020428-CVE-2026-23101-47e0@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3648; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=p9nZT2mu6a9NwZjVKcnnBpMA9M0LfNNB1BBin/9P2xw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNBSkZiZP7XIJ+WUy5LH6nba6F0W4Nl3v/K7julF15t 8KRfZpURywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEo4NhwRov7ffebtP4tj8q tn9unjprZlt7IcM8gy0nP5T79wgXhfJJX4yJdFKfMzsBAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: leds: led-class: Only Add LED to leds_list when it is fully ready Before this change the LED was added to leds_list before led_init_core() gets called adding it the list before led_classdev.set_brightness_work gets initialized. This leaves a window where led_trigger_register() of a LED's default trigger will call led_trigger_set() which calls led_set_brightness() which in turn will end up queueing the *uninitialized* led_classdev.set_brightness_work. This race gets hit by the lenovo-thinkpad-t14s EC driver which registers 2 LEDs with a default trigger provided by snd_ctl_led.ko in quick succession. The first led_classdev_register() causes an async modprobe of snd_ctl_led to run and that async modprobe manages to exactly hit the window where the second LED is on the leds_list without led_init_core() being called for it, resulting in: ------------[ cut here ]------------ WARNING: CPU: 11 PID: 5608 at kernel/workqueue.c:4234 __flush_work+0x344/0x390 Hardware name: LENOVO 21N2S01F0B/21N2S01F0B, BIOS N42ET93W (2.23 ) 09/01/2025 ... Call trace: __flush_work+0x344/0x390 (P) flush_work+0x2c/0x50 led_trigger_set+0x1c8/0x340 led_trigger_register+0x17c/0x1c0 led_trigger_register_simple+0x84/0xe8 snd_ctl_led_init+0x40/0xf88 [snd_ctl_led] do_one_initcall+0x5c/0x318 do_init_module+0x9c/0x2b8 load_module+0x7e0/0x998 Close the race window by moving the adding of the LED to leds_list to after the led_init_core() call. The Linux kernel CVE team has assigned CVE-2026-23101 to this issue. Affected and fixed versions =========================== Issue introduced in 3.7 with commit d23a22a74fded23a12434c9463fe66cec2b0afcd and fixed in 6.6.122 with commit 2757f7748ce2d0fa44112024907bafb37e104d6e Issue introduced in 3.7 with commit d23a22a74fded23a12434c9463fe66cec2b0afcd and fixed in 6.12.68 with commit da565bf98c9ad0eabcb09fc97859e0b52f98b7c3 Issue introduced in 3.7 with commit d23a22a74fded23a12434c9463fe66cec2b0afcd and fixed in 6.18.8 with commit 78822628165f3d817382f67f91129161159ca234 Issue introduced in 3.7 with commit d23a22a74fded23a12434c9463fe66cec2b0afcd and fixed in 6.19-rc7 with commit d1883cefd31752f0504b94c3bcfa1f6d511d6e87 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-23101 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/led-class.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/2757f7748ce2d0fa44112024907bafb37e104d6e https://git.kernel.org/stable/c/da565bf98c9ad0eabcb09fc97859e0b52f98b7c3 https://git.kernel.org/stable/c/78822628165f3d817382f67f91129161159ca234 https://git.kernel.org/stable/c/d1883cefd31752f0504b94c3bcfa1f6d511d6e87