NetSight
medium5.5

CVE-2024-58021

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 point…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 6.10 before 6.12.16
from 6.13 before 6.13.4
Version 6.14

Weakness classification

References