# CVE-2024-27021: r8169: fix LED-related deadlock on module removal

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-05-01T05:30:21.242Z
- Modified: 2026-06-17T07:18:57.677Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

r8169: fix LED-related deadlock on module removal

Binding devm_led_classdev_register() to the netdev is problematic
because on module removal we get a RTNL-related deadlock. Fix this
by avoiding the device-managed LED functions.

Note: We can safely call led_classdev_unregister() for a LED even
if registering it failed, because led_classdev_unregister() detects
this and is a no-op in this case.

(As written by CVE List.)

## Affected

- Linux Linux: from 18764b883e157e28126b54e7d4ba9dd487d5bf54 before 53d986f39acd8ea11c9e460732bfa5add66360d9; from 18764b883e157e28126b54e7d4ba9dd487d5bf54 before 19fa4f2a85d777a8052e869c1b892a2f7556569d; 6.8 (not affected: before 6.8; from 6.8.8 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.8 before 6.8.8; 6.9
- fedoraproject fedora: 38; 39; 40

## References

- <https://git.kernel.org/stable/c/53d986f39acd8ea11c9e460732bfa5add66360d9> (patch)
- <https://git.kernel.org/stable/c/19fa4f2a85d777a8052e869c1b892a2f7556569d> (patch)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/>

## Sources

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

---

Page: https://cve.day/CVE-2024-27021 · Whole record: https://cve.day/CVE-2024-27021.json · Rebuilt by cve.day 2026-11-25T22:58:39.776Z
