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

Published May 1, 2024
·
Updated

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

r8169: fix LED-related deadlock on module removal

Binding devmledclassdevregister() 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 ledclassdevunregister() for a LED even if registering it failed, because ledclassdevunregister() detects this and is a no-op in this case.

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=6.8<6.8.8
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
Linux Linux kernel=6.9-rc3
Fedoraproject Fedora=38
Fedoraproject Fedora=39
Fedoraproject Fedora=40
debian/linux<6.8.9-1
6.8.9-1
debian/linux<6.8.9-1
6.8.9-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.8.9-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  3. Compensating control

    In the r8169 driver, avoid device-managed LED functions such as devm_led_classdev_register(); explicitly call led_classdev_unregister() during module removal, including when LED registration failed.

Event History

May 1, 2024
CVE Published
via MITRE·05:30 AM
Data Sourced
via MITRE·05:30 AM
Description
Data Sourced
via NVD·06:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-27021?

CVE-2024-27021 has a medium severity due to the resultant deadlock during module removal in the Linux kernel.

2

How do I fix CVE-2024-27021?

To address CVE-2024-27021, update to the corrected versions of the Linux kernel, such as 5.10.223-1, 6.1.123-1, or later.

3

Which versions of the Linux kernel are affected by CVE-2024-27021?

CVE-2024-27021 affects Linux kernel versions between 6.8 and 6.9-rc3.

4

What kind of exploitation risk does CVE-2024-27021 pose?

CVE-2024-27021 can lead to system instability due to a deadlock condition during module removal.

5

Is CVE-2024-27021 a remote or local vulnerability?

CVE-2024-27021 is considered a local vulnerability, as it requires module removal actions on the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203