CVE-2026-139655

Source
https://cve.org/CVERecord?id=CVE-2026-139655
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139655.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139655
Downstream
Published
2026-11-30T13:36:45Z
Modified
2026-11-30T15:02:29Z
Summary
leds: st1202: Do not set brightness from atomic context
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139655.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
259230378c65ebb6b4815b4dd175c5298428b9fa
Fixed
e864466082a7fa35628d978846c22f2fa186e867
Fixed
b6a6e9be5a2bbecc64781f4aed2d410b7164a560
Fixed
1ec35fa181981b4b9581b3dae967bac7ed82c89c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139655.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139655.json"