Local kernel crash via destroyed LED mutex
Published Jul 30, 2024 · Updated May 11, 2026
Use-after-destroy in Linux 4.20 through 6.6.38 and 6.7 through 6.9.8 allows local users to crash the kernel during driver removal. The AN30259A LED driver's remove callback destroys its mutex before managed LED unregistration invokes led_set_brightness, which locks the destroyed mutex. Exploitation requires local low-privileged access and a system using the AN30259A driver; the bounded consequence is a kernel crash.
Summary
What happened
Use-after-destroy in Linux 4.20 through 6.6.38 and 6.7 through 6.9.8 allows local users to crash the kernel during driver removal. The AN30259A LED driver's remove callback destroys its mutex before managed LED unregistration invokes led_set_brightness, which locks the destroyed mutex. Exploitation requires local low-privileged access and a system using the AN30259A driver; the bounded consequence is a kernel crash.
The record
- CVE
- CVE-2024-42128
- Published
- Jul 30, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-908, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 30, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9 <3ead19aa341de89a8c3d88a091d8093ebea622e8
- Affected versionversion=2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9 <9dba44460bfca657ca43f03ea9bafa4f9f7dd077
- Affected versionversion=2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9 <c382e2e3eccb6b7ca8c7aff5092c1668428e7de6
- Affected versionversion=4.20
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo