CVE-2024-42129

leds: mlxreg: Use devm_mutex_init() for mutex initialization

MEDIUM
5.5
CVSS Score
Published: July 30, 2024 at 07:46 AM UTC
Updated: June 17, 2026 at 07:48 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: leds: mlxreg: Use devm_mutex_init() for mutex initialization In this driver LEDs are registered using devm_led_classdev_register() so they are automatically unregistered after module's remove() is done. led_classdev_unregister() calls module's led_set_brightness() to turn off the LEDs and that callback uses mutex which was destroyed already in module's remove() so use devm API instead.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.1324.17 ≤ v < 6.1.1324.17 ≤ v < 6.104.17 ≤ v < 6.6.634.17 ≤ v < 6.9.96.2 ≤ v < 6.6.636.7 ≤ v < 6.9.9386570d76f2f25a347a7118fa54315d56b46e7be4.17
Vendor states this is fixed in 172ffd26a5af13e951d0e82df7cfc5a95b04fa80 (fixed)
Vendor states this is fixed in 3b62888307ae44b68512d3f7735c26a4c8e45b51 (fixed)
Vendor states this is fixed in 618c6ce83471ab4f7ac744d27b9d03af173bc141 (fixed)
Vendor states this is fixed in efc347b9efee1c2b081f5281d33be4559fa50a16 (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 6.1.132 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.63 (unaffected)
Vendor states this is fixed in 6.9.9 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/172ffd26a5af13e951d0e82df7cfc5a95b04fa80
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b62888307ae44b68512d3f7735c26a4c8e45b51
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/618c6ce83471ab4f7ac744d27b9d03af173bc141
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/efc347b9efee1c2b081f5281d33be4559fa50a16
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card