CVE-2026-139655: leds: st1202: Do not set brightness from atomic context

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

leds: st1202: Do not set brightness from atomic context

st1202brightnessset() takes the chip mutex and performs I2C transfers, both of which can sleep, but it is installed as the brightnessset callback. ledsetbrightnessnopm() calls that op directly on the assumption that it never sleeps, including from softirq context, so the driver can sleep in atomic context.

The driver also installs brightnesssetblocking, but the core only falls back to it when brightnessset is absent, so st1202ledset() was never reached. It merely turned the channel on or off and ignored the requested brightness, so dropping brightnessset on its own would have lost brightness control entirely.

Move the register programming into st1202ledset() so the blocking callback honours the brightness value, and drop brightnessset. The core now defers the update to a work queue, where sleeping is allowed. Errors from the register writes are propagated rather than discarded. st1202ledset() was the last user of the locking st1202channelset() wrapper, which is removed.

Programming every PWM slot to full scale is kept: it is what makes the brightness visible while the global sequencer is running, without having to stop the sequencer and disturb the other channels.

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.14.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1

Event History

Nov 30, 2026
CVE Published
via MITRE·01:36 PM
Data Sourced
via MITRE·01:36 PM
Description
Data Sourced
via OSV·01:36 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel ST1202 LED driver are exposed when that driver handles brightness updates. The problematic path can be reached when LED brightness is set through the non-power-management brightness API, including from softirq context.

2

What conditions trigger the bug?

The issue occurs when the driver's brightness_set callback runs and attempts to take its chip mutex and perform I2C transfers. Those operations can sleep, but the callback may be invoked from atomic or softirq context where sleeping is not permitted.

3

What changes in the fix?

The fix removes the non-blocking brightness_set callback and moves register programming to the blocking callback. Brightness updates are then deferred to a work queue, where sleeping is allowed, and I2C register-write errors are propagated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203