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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:36:45.662Z
- **Modified:** 2026-11-30T14:19:49.377Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker-triggered LED brightness update can sleep in atomic context in the Linux kernel's st1202 LED driver, because the brightness callback takes a mutex and performs I2C transfers.

## Who should check

- Anyone running Linux \>= 259230378c65ebb6b4815b4dd175c5298428b9fa, \< e864466082a7fa35628d978846c22f2fa186e867; \>= 259230378c65ebb6b4815b4dd175c5298428b9fa, \< b6a6e9be5a2bbecc64781f4aed2d410b7164a560; \>= 259230378c65ebb6b4815b4dd175c5298428b9fa, \< 1ec35fa181981b4b9581b3dae967bac7ed82c89c
- Anyone running Linux 6.14

## Description

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

leds: st1202: Do not set brightness from atomic context

st1202\_brightness\_set() takes the chip mutex and performs I2C transfers,
both of which can sleep, but it is installed as the brightness\_set
callback. led\_set\_brightness\_nopm() 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 brightness\_set\_blocking, but the core only
falls back to it when brightness\_set is absent, so st1202\_led\_set() was
never reached. It merely turned the channel on or off and ignored the
requested brightness, so dropping brightness\_set on its own would have
lost brightness control entirely.

Move the register programming into st1202\_led\_set() so the blocking
callback honours the brightness value, and drop brightness\_set. The core
now defers the update to a work queue, where sleeping is allowed. Errors
from the register writes are propagated rather than discarded.
st1202\_led\_set() was the last user of the locking st1202\_channel\_set()
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 and fixed versions

- Linux: \>= 259230378c65ebb6b4815b4dd175c5298428b9fa, \< e864466082a7fa35628d978846c22f2fa186e867; \>= 259230378c65ebb6b4815b4dd175c5298428b9fa, \< b6a6e9be5a2bbecc64781f4aed2d410b7164a560; \>= 259230378c65ebb6b4815b4dd175c5298428b9fa, \< 1ec35fa181981b4b9581b3dae967bac7ed82c89c (cvelist)
- Linux: 6.14 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 1ec35fa181981b4b9581b3dae967bac7ed82c89c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139655. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139655.md
Affected: Linux >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < e864466082a7fa35628d978846c22f2fa186e867; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < b6a6e9be5a2bbecc64781f4aed2d410b7164a560; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 1ec35fa181981b4b9581b3dae967bac7ed82c89c; Linux 6.14
Fixed in: Linux 1ec35fa181981b4b9581b3dae967bac7ed82c89c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139655 being exploited?

There is no confirmed exploitation: CVE-2026-139655 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139655?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139655?

Linux \>= 259230378c65ebb6b4815b4dd175c5298428b9fa, \< e864466082a7fa35628d978846c22f2fa186e867; \>= 259230378c65ebb6b4815b4dd175c5298428b9fa, \< b6a6e9be5a2bbecc64781f4aed2d410b7164a560; \>= 259230378c65ebb6b4815b4dd175c5298428b9fa, \< 1ec35fa181981b4b9581b3dae967bac7ed82c89c; Linux 6.14.

### Is there a fix for CVE-2026-139655?

Yes. Fixed in Linux 1ec35fa181981b4b9581b3dae967bac7ed82c89c. Upgrade Linux to 1ec35fa181981b4b9581b3dae967bac7ed82c89c or later.

### How do I check if I'm affected by CVE-2026-139655?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e864466082a7fa35628d978846c22f2fa186e867>
- other: <https://git.kernel.org/stable/c/b6a6e9be5a2bbecc64781f4aed2d410b7164a560>
- other: <https://git.kernel.org/stable/c/1ec35fa181981b4b9581b3dae967bac7ed82c89c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139655>

HTML: <https://flawdb.com/CVE-2026-139655> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139655>
