HID: winwing: Add NULL check in winwing_init_led()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.166.13.46.14In 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.
From the CVE record · Linux
In the Linux kernel’s HID winwing code, winwing_init_led() does not check whether devm_kasprintf() returned NULL after a failure. This can cause a kernel NULL pointer dereference; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the HID winwing fix; affected versions are not specified.