Skip to content
CVE PROGRAM SOURCE RECORD7.0 High

CVE-2026-93116

platform/x86: asus-wmi: fix resource leaks on probe failure

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86: asus-wmi: fix resource leaks on probe failure During driver initialization in asus_wmi_add(), various subsystems are registered sequentially. However, the error path labels are out of order relative to the registration sequence. Specifically: 1. If asus_wmi_custom_fan_curve_init() fails, the driver jumps to fail_custom_fan_curve. Because this label is placed below fail_sysfs, it bypasses the cleanup calls for the input device and sysfs groups, which were successfully registered before, leaking those resources. 2. If asus_screenpad_init() fails, the driver jumps to fail_screenpad. Because fail_screenpad is placed below fail_backlight, it bypasses the cleanup calls for backlight and rfkill, leaking those resources. Fix these resource leaks by reordering the error path labels in asus_wmi_add() to match the exact reverse order of the resource allocations.

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

  • 0f0ac158d28ff78e75c334e869b1cb8e69372a1f to < 72d792c8053f238ae541fdaa90e609548509b65faffected
  • 0f0ac158d28ff78e75c334e869b1cb8e69372a1f to < 959ed35f8c8f07b8dd43c3f917a43ae2f77e4471affected
  • 0f0ac158d28ff78e75c334e869b1cb8e69372a1f to < 8d5999608da60db45949e5459f74f581cdaacd04affected
  • 0f0ac158d28ff78e75c334e869b1cb8e69372a1f to < 8410cd2690d463b60527d00ac8cffea2d5a041f6affected
  • 0f0ac158d28ff78e75c334e869b1cb8e69372a1f to < 3308b8c5f5a28403611a2f5a46f06aabe4f0c661affected
  • 0f0ac158d28ff78e75c334e869b1cb8e69372a1f to < ef3daa2b84a2b8499ce9e2ce1c865dca36d39f95affected

Linux Linux

Default version status: affected

  • 5.17affected
  • 0 to < 5.17unaffected
  • 6.1.191 to ≤ 6.1.*unaffected
  • 6.6.160 to ≤ 6.6.*unaffected
  • 6.12.114 to ≤ 6.12.*unaffected
  • 6.18.57 to ≤ 6.18.*unaffected
  • 7.2.6 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References