Technical impact
The Linux kernel driver for st1202 LEDs stores a hardware firmware node pointer while iterating over device tree child nodes but fails to hold a reference to that node. When the dynamic OF subsystem frees the node, the pointer held by the LED class becomes dangling, allowing a use‑after‑free that can corrupt kernel memory and result in a crash.
Affected Systems
The issue appears in the Linux kernel whenever the st1202 LED driver is compiled and CONFIG_OF_DYNAMIC is enabled. It affects all distributions using the driver with this configuration.
Risk and Exploitability
Because the exploit requires the node to be freed while the driver is still using it, the attack vector is likely local, such as an attacker with the ability to trigger the driver’s initialization path. No EPSS score is available, and the vulnerability is not listed in KEV. The CVSS score is 4.1, indicating moderate severity. The flaw could lead to a denial‑of‑service or potential privilege escalation if an attacker can cause the kernel to crash.