Bug 1223730 (CVE-2024-27021) - VUL-0: CVE-2024-27021: kernel: r8169: fix LED-related deadlock on module removal
Summary: VUL-0: CVE-2024-27021: kernel: r8169: fix LED-related deadlock on module removal
Status: RESOLVED INVALID
Alias: CVE-2024-27021
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/403787/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-27021:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 12:10 UTC by SMASH SMASH
Modified: 2024-05-28 12:07 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-05-02 12:10:43 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
Comment 2 Carlos López 2024-05-28 12:07:26 UTC
Done, closing.