CVE-2024-56587: Linux kernel · leds: class: Protect brightness_show() with led_cdev->led_access mutex
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:49 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix is available that adds mutex protection (led_cdev->led_access) around the brightness_show() and max_brightness_show() functions to prevent concurrent access issues. Users should update to a Linux kernel version that includes this fix. No additional mitigation is required beyond applying the official patch.
Description
CVE-2024-56587 is a Linux kernel vulnerability involving a NULL pointer dereference in the leds class subsystem. The issue arises when concurrent processes access led_cdev attributes without proper synchronization, leading to a potential kernel crash. The flaw is due to missing mutex protection around brightness_show() and related functions. This vulnerability has been fixed by adding mutex protection to prevent concurrent access to led_cdev structures.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56587 (opens in a new tab)
- git.kernel.org/stable/c/4ca7cd938725a4050dcd62ae9472e931d603118d (opens in a new tab)
- git.kernel.org/stable/c/50d9f68e4adf86901cbab1bd5b91f710aa9141b9 (opens in a new tab)
- git.kernel.org/stable/c/84b42d5b5fcd767c9b7f30b0b32065ed949fe804 (opens in a new tab)
- git.kernel.org/stable/c/b8283d52ed15c02bb2eb9b1b8644dcc34f8e98f1 (opens in a new tab)
- git.kernel.org/stable/c/bb4a6236a430cfc3713f470f3a969f39d6d4ca25 (opens in a new tab)
- git.kernel.org/stable/c/ddcfc5708da9972ac23a9121b3d819b0a53d6f21 (opens in a new tab)
- git.kernel.org/stable/c/f6d6fb563e4be245a17bc4261a4b294e8bf8a31e (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)