Local kernel crash via unchecked allocation
Published Feb 27, 2025 · Updated May 11, 2026
NULL pointer dereference in the WinWing driver in Linux kernel 6.10 through 6.12.15 and 6.13 through 6.13.3 allows local users to crash the kernel. The winwing_init_led() function fails to check whether devm_kasprintf() returned NULL before the initialization path uses the returned pointer. Reachability requires local access and WinWing device initialization during an allocation failure; the bounded consequence is a kernel crash.
Summary
What happened
NULL pointer dereference in the WinWing driver in Linux kernel 6.10 through 6.12.15 and 6.13 through 6.13.3 allows local users to crash the kernel. The winwing_init_led() function fails to check whether devm_kasprintf() returned NULL before the initialization path uses the returned pointer. Reachability requires local access and WinWing device initialization during an allocation failure; the bounded consequence is a kernel crash.
The record
- CVE
- CVE-2024-58021
- Published
- Feb 27, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 2025CVE 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=266c990debad2f9589c7a412e897a8e312b09766 <4001f6f79183b8868d80dd2036dfb4ea3d325e8f
- Affected versionversion=266c990debad2f9589c7a412e897a8e312b09766 <45ab5166a82d038c898985b0ad43ead69c1f9573
- Affected versionversion=266c990debad2f9589c7a412e897a8e312b09766 <b99dbdee8a89c44d03ae9830ab19f31e124a3f32
- Affected versionversion=6.10
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.
Weakness, pattern, technique
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