CVE-2026-139655
publishedleds: st1202: Do not set brightness from atomic context
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux259230378c65ebb6b4815b4dd175c5298428b9fa to < e864466082a7fa35628d978846c22f2fa186e867 · 259230378c65ebb6b4815b4dd175c5298428b9fa to < b6a6e9be5a2bbecc64781f4aed2d410b7164a560 · 259230378c65ebb6b4815b4dd175c5298428b9fa to < 1ec35fa181981b4b9581b3dae967bac7ed82c89c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 259230378c65ebb6b4815b4dd175c5298428b9fa to < e864466082a7fa35628d978846c22f2fa186e867 (affected · git)259230378c65ebb6b4815b4dd175c5298428b9fa to < b6a6e9be5a2bbecc64781f4aed2d410b7164a560 (affected · git)259230378c65ebb6b4815b4dd175c5298428b9fa to < 1ec35fa181981b4b9581b3dae967bac7ed82c89c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
leds: st1202: Do not set brightness from atomic context
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cd6de5f823037db4e722be19112b5858aa074ee0af003a99851c373fc7987483
- Ingested
- 30 Nov 2026, 13:43:49 UTC
- Source record
- Official CVE record