{"id":"CVE-2026-139655","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:49.377","lastModified":"2026-11-30T14:19:49.377","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nleds: st1202: Do not set brightness from atomic context\n\nst1202_brightness_set() takes the chip mutex and performs I2C transfers,\nboth of which can sleep, but it is installed as the brightness_set\ncallback. led_set_brightness_nopm() calls that op directly on the\nassumption that it never sleeps, including from softirq context, so the\ndriver can sleep in atomic context.\n\nThe driver also installs brightness_set_blocking, but the core only\nfalls back to it when brightness_set is absent, so st1202_led_set() was\nnever reached. It merely turned the channel on or off and ignored the\nrequested brightness, so dropping brightness_set on its own would have\nlost brightness control entirely.\n\nMove the register programming into st1202_led_set() so the blocking\ncallback honours the brightness value, and drop brightness_set. The core\nnow defers the update to a work queue, where sleeping is allowed. Errors\nfrom the register writes are propagated rather than discarded.\nst1202_led_set() was the last user of the locking st1202_channel_set()\nwrapper, which is removed.\n\nProgramming every PWM slot to full scale is kept: it is what makes the\nbrightness visible while the global sequencer is running, without having\nto stop the sequencer and disturb the other channels."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/leds/leds-st1202.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"259230378c65ebb6b4815b4dd175c5298428b9fa","lessThan":"e864466082a7fa35628d978846c22f2fa186e867","versionType":"git","status":"affected"},{"version":"259230378c65ebb6b4815b4dd175c5298428b9fa","lessThan":"b6a6e9be5a2bbecc64781f4aed2d410b7164a560","versionType":"git","status":"affected"},{"version":"259230378c65ebb6b4815b4dd175c5298428b9fa","lessThan":"1ec35fa181981b4b9581b3dae967bac7ed82c89c","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/leds/leds-st1202.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.14","status":"affected"},{"version":"0","lessThan":"6.14","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1ec35fa181981b4b9581b3dae967bac7ed82c89c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b6a6e9be5a2bbecc64781f4aed2d410b7164a560","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e864466082a7fa35628d978846c22f2fa186e867","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}