CVE-2024-58021

published 27 Feb 2025 · updated 11 May 2026

HID: winwing: Add NULL check in winwing_init_led()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4001f6f79183b8868d80dd2036dfb4ea3d325e8f, Kernel 45ab5166a82d038c898985b0ad43ead69c1f9573 and Kernel b99dbdee8a89c44d03ae9830ab19f31e124a3f32.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.10, >=266c990debad2f9589c7a412e897a8e312b09766 <4001f6f79183b8868d80dd2036dfb4ea3d325e8f, >=266c990debad2f9589c7a412e897a8e312b09766 <45ab5166a82d038c898985b0ad43ead69c1f9573, >=266c990debad2f9589c7a412e897a8e312b09766 <b99dbdee8a89c44d03ae9830ab19f31e124a3f324001f6f79183b8868d80dd2036dfb4ea3d325e8f, 45ab5166a82d038c898985b0ad43ead69c1f9573, b99dbdee8a89c44d03ae9830ab19f31e124a3f32

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58021 severity on Zeptric[![CVE-2024-58021](https://zeptric.io/badge/cve/CVE-2024-58021.svg)](https://zeptric.io/cve/CVE-2024-58021)