CVE-2023-54190 leds: led-core: Fix refcount leak in of_led_get()
A refcount leak in the Linux kernel LED core allows local attackers to cause a denial of service by exhausting kernel resources.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-54190?
CVE-2023-54190 is a denial of service vulnerability in Linux, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
leds: led-core: Fix refcount leak in of_led_get()
class_find_device_by_of_node() calls class_find_device(), it will take the reference, use the put_device() to drop the reference when not need anymore.
Which versions are affected by CVE-2023-54190?
How do I fix CVE-2023-54190?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-54190 being exploited?
There is no known exploitation of CVE-2023-54190 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2023-54190, DEBIAN-CVE-2023-54190, GHSA-964v-hgf6-j872, ROOT-OS-UBUNTU-2204-CVE-2023-54190, ROOT-OS-UBUNTU-2404-CVE-2023-54190, UBUNTU-CVE-2023-54190.