← Database

CVE-2024-58021

MEDIUM CVSS: 5.5 Published: 2025-02-27 Modified: 2026-06-17

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-476, CWE-476

References