CVE-2026-139655
leds: st1202: Do not set brightness from atomic context
AI summary AI generated
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.
Mitigation
- Upgrade Linux to 1ec35fa181981b4b9581b3dae967bac7ed82c89c or later.
Who should check
- Anyone running Linux >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < e864466082a7fa35628d978846c22f2fa186e867; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < b6a6e9be5a2bbecc64781f4aed2d410b7164a560; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 1ec35fa181981b4b9581b3dae967bac7ed82c89c
- Anyone running Linux 6.14
Vulnerability facts
- Affected
- Linux >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < e864466082a7fa35628d978846c22f2fa186e867; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < b6a6e9be5a2bbecc64781f4aed2d410b7164a560; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 1ec35fa181981b4b9581b3dae967bac7ed82c89c; Linux 6.14
- Fixed in
- Linux 1ec35fa181981b4b9581b3dae967bac7ed82c89c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < e864466082a7fa35628d978846c22f2fa186e867; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < b6a6e9be5a2bbecc64781f4aed2d410b7164a560; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 1ec35fa181981b4b9581b3dae967bac7ed82c89c | — | cvelist |
| Linux | 6.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
Technologies
References
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |