PT-2024-36894 · Linux+7 · Linux Kernel+7
Published
2024-12-27
·
Updated
2025-10-03
·
CVE-2024-56587
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.74
Description
A NULL pointer issue was observed in the Linux kernel when a hid device is added from Process A, resulting in the addition of a led cdev, and a subsequent call to access the led cdev attribute from Process B can result in a NULL pointer issue. The issue is resolved by protecting access to led->cdev and its attribute inside
brightness show() and max brightness show() using the led cdev->led access mutex.Recommendations
Update to Linux kernel version 6.6.74 or later to resolve the issue. As a temporary workaround, consider disabling the
dualshock4 led get brightness() function until a patch is available. Restrict access to the led cdev module to minimize the risk of exploitation. Avoid using the brightness show() and max brightness show() functions in the affected API endpoint until the issue is resolved.Exploit
Fix
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu