5.5medium
HID: winwing: Add NULL check in winwing_init_led()
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 266c990debad2f9589c7a412e897a8e312b09766 before b99dbdee8a89c44d03ae9830ab19f31e124a3f32, from 266c990debad2f9589c7a412e897a8e312b09766 before 4001f6f79183b8868d80dd2036dfb4ea3d325e8f, from 266c990debad2f9589c7a412e897a8e312b09766 before 45ab5166a82d038c898985b0ad43ead69c1f9573, 6.10 Not affected: before 6.10, from 6.12.16 up to 6.12.*, from 6.13.4 up to 6.13.*, from 6.14 up to * | CVE List |
| linux linux_kernel | from 6.10 before 6.12.16, from 6.13 before 6.13.4, 6.14 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-58021 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-58021 changed 2026-06-17 | Public domain |