CVE-2024-42129

Source
https://cve.org/CVERecord?id=CVE-2024-42129
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42129.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42129
Downstream
Published
2024-07-30T07:46:25.436Z
Modified
2026-05-18T05:57:53.904102583Z
Summary
leds: mlxreg: Use devm_mutex_init() for mutex initialization
Details

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

leds: mlxreg: Use devmmutexinit() for mutex initialization

In this driver LEDs are registered using devmledclassdevregister() so they are automatically unregistered after module's remove() is done. ledclassdevunregister() calls module's ledset_brightness() to turn off the LEDs and that callback uses mutex which was destroyed already in module's remove() so use devm API instead.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42129.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
386570d76f2f25a347a7118fa54315d56b46e7be
Fixed
618c6ce83471ab4f7ac744d27b9d03af173bc141
Fixed
172ffd26a5af13e951d0e82df7cfc5a95b04fa80
Fixed
3b62888307ae44b68512d3f7735c26a4c8e45b51
Fixed
efc347b9efee1c2b081f5281d33be4559fa50a16

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42129.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.17.0
Fixed
6.1.132
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.63
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42129.json"