CVE-2024-58021 Information

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 failurebut this returned value in winwing_init_led() is not checked. Add NULL check in winwing_init_led() to handle kernel NULL pointer dereference error.

Reference

https://git.kernel.org/stable/c/4001f6f79183b8868d80dd2036dfb4ea3d325e8f https://git.kernel.org/stable/c/45ab5166a82d038c898985b0ad43ead69c1f9573 https://git.kernel.org/stable/c/b99dbdee8a89c44d03ae9830ab19f31e124a3f32

Share on: