Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-56587

5.5 · MEDIUM
Published Dec 27, 2024 linux CWE-476 EPSS 0.25% (17th pctl)

Overview

CVE-2024-56587 is a medium-severity vulnerability affecting linux linux_kernel. It was published on December 27, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

leds: class: Protect brightness_show() with led_cdev->led_access mutex

There is NULL pointer issue observed if from Process A where hid device

being added which results in adding a led_cdev addition and later a

another call to access of led_cdev attribute from Process B can result

in NULL pointer issue.

Use mutex led_cdev->led_access to protect access to led->cdev and its

attribute inside brightness_show() and max_brightness_show() and also

update the comment for mutex that it should be used to protect the led

class device fields.

Process A Process B

kthread+0x114

worker_thread+0x244

process_scheduled_works+0x248

uhid_device_add_worker+0x24

hid_add_device+0x120

device_add+0x268

bus_probe_device+0x94

device_initial_probe+0x14

__device_attach+0xfc

bus_for_each_drv+0x10c

__device_attach_driver+0x14c

driver_probe_device+0x3c

__driver_probe_device+0xa0

really_probe+0x190

hid_device_probe+0x130

ps_p

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 5.4.287 Affected

Frequently Asked Questions

What is CVE-2024-56587?

CVE-2024-56587 is a medium-severity vulnerability affecting linux linux_kernel. It was published on December 27, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-56587?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-56587?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-56587?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-56587 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.