{"id":"CVE-2024-58021","summary":"HID: winwing: Add NULL check in winwing_init_led()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: winwing: Add NULL check in winwing_init_led()\n\ndevm_kasprintf() can return a NULL pointer on failure,but this\nreturned value in winwing_init_led() is not checked.\nAdd NULL check in winwing_init_led(), to handle kernel NULL\npointer dereference error.","modified":"2026-04-02T12:25:29.134342Z","published":"2025-02-27T02:18:10.575Z","related":["USN-7521-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58021.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4001f6f79183b8868d80dd2036dfb4ea3d325e8f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/45ab5166a82d038c898985b0ad43ead69c1f9573"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b99dbdee8a89c44d03ae9830ab19f31e124a3f32"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58021.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58021"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"266c990debad2f9589c7a412e897a8e312b09766"},{"fixed":"b99dbdee8a89c44d03ae9830ab19f31e124a3f32"},{"fixed":"4001f6f79183b8868d80dd2036dfb4ea3d325e8f"},{"fixed":"45ab5166a82d038c898985b0ad43ead69c1f9573"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58021.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}