Skip to content
FlawDB
Sign in

CVE-2026-139656

UNSCORED

leds: st1202: Take a reference on the LED firmware node

AI summary AI generated

A missing device tree node reference in the Linux kernel st1202 LED driver can leave the LED firmware node dangling, risking use-after-free when dynamic devicetree is enabled.

Mitigation

  • Upgrade Linux to 5882de94edf7a53812a76a882a95e1e86d7105d9 or later.

Who should check

  • Anyone running Linux >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 484f13fc8c23dfb460836b31c73145cbf7f31f61; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 9f76fdb33f1ce78d8ef41a0f912f42113c7dd253; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 5882de94edf7a53812a76a882a95e1e86d7105d9
  • Anyone running Linux 6.14

Vulnerability facts

Affected
Linux >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 484f13fc8c23dfb460836b31c73145cbf7f31f61; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 9f76fdb33f1ce78d8ef41a0f912f42113c7dd253; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 5882de94edf7a53812a76a882a95e1e86d7105d9; Linux 6.14
Fixed in
Linux 484f13fc8c23dfb460836b31c73145cbf7f31f61, Linux 9f76fdb33f1ce78d8ef41a0f912f42113c7dd253, Linux 5882de94edf7a53812a76a882a95e1e86d7105d9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: leds: st1202: Take a reference on the LED firmware node st1202_dt_init() stores each LED's firmware node while walking the device tree with for_each_available_child_of_node_scoped(), which drops its reference to the node at the end of every iteration. The LED class stores the pointer with device_set_node() and does not take a reference of its own, so nothing keeps the node alive for as long as the LED device uses it. That has been the case since the driver was added, when the LED class devices were registered inside that same loop. Commit c72e455b89f2 ("leds: leds-st1202: Fix NULL pointer access on race condition") moved the registration into a separate loop in st1202_probe(), which also leaves the stored pointer unreferenced between the two loops. With CONFIG_OF_DYNAMIC the node can be freed while it is still in use, leaving led->fwnode and the LED device's firmware node dangling. Take a reference when the node is stored and release it through a devm action. The action is registered before the LED class devices are, so it runs after they have been unregistered.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 484f13fc8c23dfb460836b31c73145cbf7f31f61; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 9f76fdb33f1ce78d8ef41a0f912f42113c7dd253; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 5882de94edf7a53812a76a882a95e1e86d7105d9—cvelist
Linux6.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-139656. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139656.md
Affected: Linux >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 484f13fc8c23dfb460836b31c73145cbf7f31f61; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 9f76fdb33f1ce78d8ef41a0f912f42113c7dd253; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 5882de94edf7a53812a76a882a95e1e86d7105d9; Linux 6.14
Fixed in: Linux 484f13fc8c23dfb460836b31c73145cbf7f31f61, Linux 9f76fdb33f1ce78d8ef41a0f912f42113c7dd253, Linux 5882de94edf7a53812a76a882a95e1e86d7105d9

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-139656 being exploited?

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

How serious is CVE-2026-139656?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-139656?

Linux >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 484f13fc8c23dfb460836b31c73145cbf7f31f61; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 9f76fdb33f1ce78d8ef41a0f912f42113c7dd253; >= 259230378c65ebb6b4815b4dd175c5298428b9fa, < 5882de94edf7a53812a76a882a95e1e86d7105d9; Linux 6.14.

Is there a fix for CVE-2026-139656?

Yes. Fixed in Linux 484f13fc8c23dfb460836b31c73145cbf7f31f61, Linux 9f76fdb33f1ce78d8ef41a0f912f42113c7dd253, Linux 5882de94edf7a53812a76a882a95e1e86d7105d9. Upgrade Linux to 5882de94edf7a53812a76a882a95e1e86d7105d9 or later.

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

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors