{"id":"CVE-2026-23101","state":"PUBLISHED","title":"leds: led-class: Only Add LED to leds_list when it is fully ready","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nleds: led-class: Only Add LED to leds_list when it is fully ready\n\nBefore this change the LED was added to leds_list before led_init_core()\ngets called adding it the list before led_classdev.set_brightness_work gets\ninitialized.\n\nThis leaves a window where led_trigger_register() of a LED's default\ntrigger will call led_trigger_set() which calls led_set_brightness()\nwhich in turn will end up queueing the *uninitialized*\nled_classdev.set_brightness_work.\n\nThis race gets hit by the lenovo-thinkpad-t14s EC driver which registers\n2 LEDs with a default trigger provided by snd_ctl_led.ko in quick\nsuccession. The first led_classdev_register() causes an async modprobe of\nsnd_ctl_led to run and that async modprobe manages to exactly hit\nthe window where the second LED is on the leds_list without led_init_core()\nbeing called for it, resulting in:\n\n ------------[ cut here ]------------\n WARNING: CPU: 11 PID: 5608 at kernel/workqueue.c:4234 __flush_work+0x344/0x390\n Hardware name: LENOVO 21N2S01F0B/21N2S01F0B, BIOS N42ET93W (2.23 ) 09/01/2025\n ...\n Call trace:\n  __flush_work+0x344/0x390 (P)\n  flush_work+0x2c/0x50\n  led_trigger_set+0x1c8/0x340\n  led_trigger_register+0x17c/0x1c0\n  led_trigger_register_simple+0x84/0xe8\n  snd_ctl_led_init+0x40/0xf88 [snd_ctl_led]\n  do_one_initcall+0x5c/0x318\n  do_init_module+0x9c/0x2b8\n  load_module+0x7e0/0x998\n\nClose the race window by moving the adding of the LED to leds_list to\nafter the led_init_core() call.","publishedAt":"2026-02-04T16:08:23.329Z","updatedAt":"2026-10-19T18:25:30.935Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"f7a6df659af777058833802c29b3b7974db5e78a","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"d117fdcb21b05c0e0460261d017b92303cd9ba77","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"e90c861411fc84629a240384b0a72830539d3386","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"2757f7748ce2d0fa44112024907bafb37e104d6e","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"da565bf98c9ad0eabcb09fc97859e0b52f98b7c3","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"78822628165f3d817382f67f91129161159ca234","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"d1883cefd31752f0504b94c3bcfa1f6d511d6e87","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/leds/led-class.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"5.10.249","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.199","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.162","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.122","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.68","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.8","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/leds/led-class.c"]}],"references":["https://git.kernel.org/stable/c/f7a6df659af777058833802c29b3b7974db5e78a","https://git.kernel.org/stable/c/d117fdcb21b05c0e0460261d017b92303cd9ba77","https://git.kernel.org/stable/c/e90c861411fc84629a240384b0a72830539d3386","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"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23101.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23101","state":"PUBLISHED","datePublished":"2026-02-04T16:08:23.329Z","dateUpdated":"2026-10-19T18:25:30.935Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:45.965Z"},"containers":{"cna":{"title":"leds: led-class: Only Add LED to leds_list when it is fully ready","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nleds: led-class: Only Add LED to leds_list when it is fully ready\n\nBefore this change the LED was added to leds_list before led_init_core()\ngets called adding it the list before led_classdev.set_brightness_work gets\ninitialized.\n\nThis leaves a window where led_trigger_register() of a LED's default\ntrigger will call led_trigger_set() which calls led_set_brightness()\nwhich in turn will end up queueing the *uninitialized*\nled_classdev.set_brightness_work.\n\nThis race gets hit by the lenovo-thinkpad-t14s EC driver which registers\n2 LEDs with a default trigger provided by snd_ctl_led.ko in quick\nsuccession. The first led_classdev_register() causes an async modprobe of\nsnd_ctl_led to run and that async modprobe manages to exactly hit\nthe window where the second LED is on the leds_list without led_init_core()\nbeing called for it, resulting in:\n\n ------------[ cut here ]------------\n WARNING: CPU: 11 PID: 5608 at kernel/workqueue.c:4234 __flush_work+0x344/0x390\n Hardware name: LENOVO 21N2S01F0B/21N2S01F0B, BIOS N42ET93W (2.23 ) 09/01/2025\n ...\n Call trace:\n  __flush_work+0x344/0x390 (P)\n  flush_work+0x2c/0x50\n  led_trigger_set+0x1c8/0x340\n  led_trigger_register+0x17c/0x1c0\n  led_trigger_register_simple+0x84/0xe8\n  snd_ctl_led_init+0x40/0xf88 [snd_ctl_led]\n  do_one_initcall+0x5c/0x318\n  do_init_module+0x9c/0x2b8\n  load_module+0x7e0/0x998\n\nClose the race window by moving the adding of the LED to leds_list to\nafter the led_init_core() call."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"f7a6df659af777058833802c29b3b7974db5e78a","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"d117fdcb21b05c0e0460261d017b92303cd9ba77","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"e90c861411fc84629a240384b0a72830539d3386","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"2757f7748ce2d0fa44112024907bafb37e104d6e","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"da565bf98c9ad0eabcb09fc97859e0b52f98b7c3","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"78822628165f3d817382f67f91129161159ca234","versionType":"git"},{"version":"d23a22a74fded23a12434c9463fe66cec2b0afcd","status":"affected","lessThan":"d1883cefd31752f0504b94c3bcfa1f6d511d6e87","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/leds/led-class.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.7","versionType":"semver"},{"version":"5.10.249","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.199","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.162","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.122","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.68","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.8","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/leds/led-class.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f7a6df659af777058833802c29b3b7974db5e78a"},{"url":"https://git.kernel.org/stable/c/d117fdcb21b05c0e0460261d017b92303cd9ba77"},{"url":"https://git.kernel.org/stable/c/e90c861411fc84629a240384b0a72830539d3386"},{"url":"https://git.kernel.org/stable/c/2757f7748ce2d0fa44112024907bafb37e104d6e"},{"url":"https://git.kernel.org/stable/c/da565bf98c9ad0eabcb09fc97859e0b52f98b7c3"},{"url":"https://git.kernel.org/stable/c/78822628165f3d817382f67f91129161159ca234"},{"url":"https://git.kernel.org/stable/c/d1883cefd31752f0504b94c3bcfa1f6d511d6e87"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:00:04.278Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.10.249"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.15.199"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.1.162"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.6.122"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.12.68"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.18.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-23101","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-06-10T20:41:07.068971Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","type":"CWE","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T18:25:30.935Z"}}]}}}