What’s Vulnerable › Vulnerabilities

CVE-2024-58021: HID: winwing: Add NULL check in winwing_init_led()

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.16, 6.13.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-58021 or the next vulnerability affects your stack