Bugzilla – Bug 1223730
VUL-0: CVE-2024-27021: kernel: r8169: fix LED-related deadlock on module removal
Last modified: 2024-05-28 12:07:26 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-27021 https://www.cve.org/CVERecord?id=CVE-2024-27021 https://git.kernel.org/stable/c/19fa4f2a85d777a8052e869c1b892a2f7556569d https://git.kernel.org/stable/c/53d986f39acd8ea11c9e460732bfa5add66360d9 https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-27021.mbox https://bugzilla.redhat.com/show_bug.cgi?id=2278254
Done, closing.