leds: class: Always protect brightness_show() with led_access
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
leds: class: Always protect brightness_show() with led_access
The led_classdev_register_ext() protects transient states when registering with the led_access 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 trigger_lock without holding led_access. Fix it by protecting brightness_show() with led_access in all code paths.
| Product | Versions |
|---|---|
| Linux Linux | b819dc7d8fb2896b07e51eba0381d61daf35edd7 to before da9a0890591e37e648a4ca9447d7ac3a5c3aab99 Affectedb819dc7d8fb2896b07e51eba0381d61daf35edd7 to before 6887f40dadb5a263de1d9e4b5517400c08089d35 Affected |
| Linux Linux | 7.2 Affectedbefore 7.2 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.