CVE-2024-58021 Details
Description
In the Linux kernel, the following vulnerability has been resolved: HID: winwing: Add NULL check in winwing_init_led() devm_kasprintf() can return a NULL pointer on failure,but this returned value in winwing_init_led() is not checked. Add NULL check in winwing_init_led(), to handle kernel NULL pointer dereference error.
A vulnerability in the Linux kernel's HID Winwing driver has been addressed by adding a NULL pointer check in the 'winwing_init_led()' function. The original implementation did not verify the return value of 'devm_kasprintf()', which could lead to a NULL pointer dereference. This issue has been resolved by incorporating the necessary NULL check to prevent potential kernel crashes.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/4001f6f79183b8868d80dd2036dfb4ea3d325e8f | kernel.org | Patch |
| https://git.kernel.org/stable/c/45ab5166a82d038c898985b0ad43ead69c1f9573 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b99dbdee8a89c44d03ae9830ab19f31e124a3f32 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.10, < 6.12.16 >= 6.13, < 6.13.4 6.14 rc1 6.14 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 6, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | New CVE Received | kernel.org |