CVE-2024-42128: leds: an30259a: Use devm_mutex_init() for mutex initialization
Vulnerability summary
CVE-2024-42128 is a medium (CVSS 5.5) Use of Uninitialized Resource vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 10Timeline
- 30-07-2024PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: leds: an30259a: 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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu126 products
- linuxAll versions (No fix recorded) | < 6.8.0-48.48
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1018.20
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9, < 56c05de9749534436f1a3c7859a8167f34dd5010 | ≥ 2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9, < 3ead19aa341de89a8c3d88a091d8093ebea622e8 | ≥ 2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9, < 9dba44460bfca657ca43f03ea9bafa4f9f7dd077 | ≥ 2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9, < c382e2e3eccb6b7ca8c7aff5092c1668428e7de6 | 4.20
- linux_kernel≥ 4.20, < 6.6.39 | ≥ 6.7, < 6.9.9
Debian1 product
- linuxAll versions (No fix recorded) | < 6.9.9-1
3 vendors · 129 products