CVE-2024-27021
JSON

7.8high

r8169: fix LED-related deadlock on module removal

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.8 before 6.8.8, 6.9NVD
fedoraproject fedora38, 39, 40NVD

Classification

CWE-667

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: r8169: corrige el punto muerto relacionado con el LED al eliminar el módulo. Vincular devm_led_classdev_register() al netdev es problemático porque al eliminar el módulo obtenemos un punto muerto relacionado con RTNL. Solucione este problema evitando las funciones LED administradas por el dispositivo. Nota: Podemos llamar con seguridad a led_classdev_unregister() para un LED incluso si falla el registro, porque led_classdev_unregister() detecta esto y no es operativo en este caso.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27021 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-27021 changed 2026-06-17Public domain