CVE-2024-58021
JSON

5.5medium

HID: winwing: Add NULL check in winwing_init_led()

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 266c990debad2f9589c7a412e897a8e312b09766 before b99dbdee8a89c44d03ae9830ab19f31e124a3f32, from 266c990debad2f9589c7a412e897a8e312b09766 before 4001f6f79183b8868d80dd2036dfb4ea3d325e8f, from 266c990debad2f9589c7a412e897a8e312b09766 before 45ab5166a82d038c898985b0ad43ead69c1f9573, 6.10
Not affected: before 6.10, from 6.12.16 up to 6.12.*, from 6.13.4 up to 6.13.*, from 6.14 up to *
CVE List
linux linux_kernelfrom 6.10 before 6.12.16, from 6.13 before 6.13.4, 6.14NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: winwing: Agregar comprobación NULL en winwing_init_led() devm_kasprintf() puede devolver un puntero NULL en caso de error, pero este valor devuelto en winwing_init_led() no se comprueba. Agregar comprobación NULL en winwing_init_led() para controlar el error de desreferencia de puntero NULL del kernel.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58021 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-58021 changed 2026-06-17Public domain