CVE-2024-58021

HID: winwing: Add NULL check in winwing_init_led()

State
Published
Severity
5.5 Medium
Published
Feb 27, 2025
Updated
May 11, 2026
Reserved
Feb 27, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 266c990debad2f9589c7a412e897a8e312b09766 to before b99dbdee8a89c44d03ae9830ab19f31e124a3f32Affected
  • 266c990debad2f9589c7a412e897a8e312b09766 to before 4001f6f79183b8868d80dd2036dfb4ea3d325e8fAffected
  • 266c990debad2f9589c7a412e897a8e312b09766 to before 45ab5166a82d038c898985b0ad43ead69c1f9573Affected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.16 through 6.12.*Not affected
  • 6.13.4 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.