Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2024-58021

HID: winwing: Add NULL check in winwing_init_led()

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 266c990debad2f9589c7a412e897a8e312b09766 to < b99dbdee8a89c44d03ae9830ab19f31e124a3f32affected
  • 266c990debad2f9589c7a412e897a8e312b09766 to < 4001f6f79183b8868d80dd2036dfb4ea3d325e8faffected
  • 266c990debad2f9589c7a412e897a8e312b09766 to < 45ab5166a82d038c898985b0ad43ead69c1f9573affected

Linux Linux

Default version status: affected

  • 6.10affected
  • 0 to < 6.10unaffected
  • 6.12.16 to ≤ 6.12.*unaffected
  • 6.13.4 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References