{"id":"CVE-2024-58021","aliases":["CVE-2024-58021"],"related":[],"kind":"vulnerability","state":"published","title":"HID: winwing: Add NULL check in winwing_init_led()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: winwing: Agregar comprobación NULL en winwing_init_led() devm_kasprintf() puede devolver un puntero NULL en caso de error, pero este valor devuelto en winwing_init_led() no se comprueba. Agregar comprobación NULL en winwing_init_led() para controlar el error de desreferencia de puntero NULL del kernel.","source":"nvd"}],"published":"2025-02-27T02:18:10.575Z","modified":"2026-06-17T08:14:28.893Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"266c990debad2f9589c7a412e897a8e312b09766","fixed":"b99dbdee8a89c44d03ae9830ab19f31e124a3f32","status":"affected"},{"type":"git","introduced":"266c990debad2f9589c7a412e897a8e312b09766","fixed":"4001f6f79183b8868d80dd2036dfb4ea3d325e8f","status":"affected"},{"type":"git","introduced":"266c990debad2f9589c7a412e897a8e312b09766","fixed":"45ab5166a82d038c898985b0ad43ead69c1f9573","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.12.16","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.4","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.10","fixed":"6.12.16"},{"status":"affected","introduced":"6.13","fixed":"6.13.4"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b99dbdee8a89c44d03ae9830ab19f31e124a3f32","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4001f6f79183b8868d80dd2036dfb4ea3d325e8f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45ab5166a82d038c898985b0ad43ead69c1f9573","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:30:52.393Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58021","url":"https://www.cve.org/CVERecord?id=CVE-2024-58021","licence":"CVE Terms of Use","modified":"2026-05-11T21:02:15.895Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58021","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58021","licence":"Public domain","modified":"2026-06-17T08:14:28.893Z"}],"updatedAt":"2026-11-25T22:58:52.109Z","epss":{"score":0.00208,"percentile":0.11554,"date":"2026-12-01T12:00:22.000Z"}}