CVE-2024-27021 r8169: fix LED-related deadlock on module removal
A deadlock in the r8169 network driver during module removal can cause a denial of service in the Linux kernel.
- 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-2024-27021?
CVE-2024-27021 is a high-severity vulnerability in Fedoraproject Fedora, published on 1 May 2024. 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:
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.
Weakness: CWE-667
Which versions are affected by CVE-2024-27021?
It affects 2 products.
Products include Fedoraproject Fedora, Linux kernel.
How do I fix CVE-2024-27021?
Apply the vendor's patch.
Is CVE-2024-27021 being exploited?
There is no known exploitation of CVE-2024-27021 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as BELL-CVE-2024-27021, DEBIAN-CVE-2024-27021, GHSA-684m-v6v9-3h53, UBUNTU-CVE-2024-27021.