# CVE-2023-54190: leds: led-core: Fix refcount leak in of_led_get()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-12-30T12:08:58.605Z
- Modified: 2026-10-28T19:10:00.193Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 699a8c7c4bd376aee4808e6272188319e900c8af before 1d6101d9222e1ca8c01b3fa9ebf0dcf7bcd82564; from 699a8c7c4bd376aee4808e6272188319e900c8af before 690efcb5827c3bacbf1de90cd14907b91bf8cb7b; from 699a8c7c4bd376aee4808e6272188319e900c8af before d880981b82223f9bf128dfdd2424abb0c658f345; from 699a8c7c4bd376aee4808e6272188319e900c8af before ddf3e82164afd9381b1d52c9f00b3878f7b6d308; from 699a8c7c4bd376aee4808e6272188319e900c8af before da1afe8e6099980fe1e2fd7436dca284af9d3f29; 5.6 (not affected: before 5.6; from 5.10.173 up to 5.10.*; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)

## References

- <https://git.kernel.org/stable/c/1d6101d9222e1ca8c01b3fa9ebf0dcf7bcd82564>
- <https://git.kernel.org/stable/c/690efcb5827c3bacbf1de90cd14907b91bf8cb7b>
- <https://git.kernel.org/stable/c/d880981b82223f9bf128dfdd2424abb0c658f345>
- <https://git.kernel.org/stable/c/ddf3e82164afd9381b1d52c9f00b3878f7b6d308>
- <https://git.kernel.org/stable/c/da1afe8e6099980fe1e2fd7436dca284af9d3f29>

## Sources

- CVE List: [CVE-2023-54190](https://www.cve.org/CVERecord?id=CVE-2023-54190), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54190](https://nvd.nist.gov/vuln/detail/CVE-2023-54190), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2023-54190 · Whole record: https://cve.day/CVE-2023-54190.json · Rebuilt by cve.day 2026-11-25T22:58:35.212Z
