Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 266c990debad2f9589c7a412e897a8e312b09766 before b99dbdee8a89c44d03ae9830ab19f31e124a3f32; affected 266c990debad2f9589c7a412e897a8e312b09766 before 4001f6f79183b8868d80dd2036dfb4ea3d325e8f; affected 266c990debad2f9589c7a412e897a8e312b09766 before 45ab5166a82d038c898985b0ad43ead69c1f9573 |
| Linux / Linux | affected 6.10; unaffected 0 before 6.10; unaffected 6.12.16 through 6.12.*; unaffected 6.13.4 through 6.13.*; unaffected 6.14 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b99dbdee8a89c44d03ae9830ab19f31e124a3f32
- https://git.kernel.org/stable/c/4001f6f79183b8868d80dd2036dfb4ea3d325e8f
- https://git.kernel.org/stable/c/45ab5166a82d038c898985b0ad43ead69c1f9573
ADP enrichment
No English description supplied.
No references supplied.