CVE-2026-139634

leds: class: Always protect brightness_show() with led_access

Published Nov 30, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel, a race condition exists when the brightness_show() function is called without holding the led_access mutex. A recent commit mistakenly accessed trigger_lock without acquiring led_access, breaking the protection that prevented exposure of transient LED state data. The flaw permits the sysfs interface to reveal incomplete or uninitialized internal state, potentially leaking sensitive kernel information.

Affected Systems

All Linux kernel builds that include the led subsystem and have not incorporated the upstream patch are affected. Vendors and products are Linux:Linux; version details are not specified in the advisory, so any kernel lacking the fix may be vulnerable.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating limited public exploitation data. The CVSS score of 4.7 indicates moderate severity. Based on the description, a local attacker who can read the LED brightness sysfs entry may trigger the race and obtain incomplete or uninitialized state information. The likely attack vector is local file system interaction, with potential confidentiality impact.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the led_access protection for brightness_show()
  • If an immediate kernel update is not possible, disable the LED subsystem in the kernel configuration or block access to /sys/class/leds through boot or runtime settings
  • Restrict read permissions on /sys/class/leds/* entries to root or trusted users, or enforce SELinux policies to limit access

Generated by OpenCVE AI on December 1, 2026 at 17:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-200
CWE-847
Type Values Removed Values Added
Weaknesses CWE-413
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-200
CWE-847
Type Values Removed Values Added
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.
Title leds: class: Always protect brightness_show() with led_access
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-413

    Improper Resource Locking

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:36 PM