CVE-2026-139634: leds: class: Always protect brightness_show() with led_access
In the Linux kernel, the following vulnerability has been resolved:
leds: class: Always protect brightnessshow() with ledaccess
The ledclassdevregisterext() protects transient states when registering with the ledaccess mutex and relies on all sensitive sysfs attribute callbacks holding the mutex to prevent exposing transient states.
The Fixes: commit broke this as it accessed triggerlock without holding ledaccess. Fix it by protecting brightnessshow() with ledaccess in all code paths.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
Protect brightness_show() with the led_access mutex so the attribute callback holds the mutex and does not expose transient states.
Event History
Frequently Asked Questions
What conditions are required to trigger this issue?
The issue involves concurrent access to the LED class brightness sysfs show callback during LED device registration, when transient registration states are meant to be protected by the led_access mutex. The affected path accesses trigger_lock without holding led_access.
What is the practical impact described by the fix?
Without the required locking, sensitive sysfs callbacks can expose transient LED registration states. The fix ensures brightness_show() holds led_access on every code path before accessing the relevant state.
How can I determine whether my kernel includes the fix?
Check whether the kernel source or applied stable patches include the changes referenced by commit IDs da9a0890591e37e648a4ca9447d7ac3a5c3aab99 or 6887f40dadb5a263de1d9e4b5517400c08089d35. The corrected code protects brightness_show() with led_access in all paths.