# CVE-2026-93116: platform/x86: asus-wmi: fix resource leaks on probe failure

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-09-17T16:11:23.852Z
- Modified: 2026-10-30T13:20:57.660Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0f0ac158d28ff78e75c334e869b1cb8e69372a1f before 72d792c8053f238ae541fdaa90e609548509b65f; from 0f0ac158d28ff78e75c334e869b1cb8e69372a1f before 959ed35f8c8f07b8dd43c3f917a43ae2f77e4471; from 0f0ac158d28ff78e75c334e869b1cb8e69372a1f before 8d5999608da60db45949e5459f74f581cdaacd04; from 0f0ac158d28ff78e75c334e869b1cb8e69372a1f before 8410cd2690d463b60527d00ac8cffea2d5a041f6; from 0f0ac158d28ff78e75c334e869b1cb8e69372a1f before 3308b8c5f5a28403611a2f5a46f06aabe4f0c661; from 0f0ac158d28ff78e75c334e869b1cb8e69372a1f before ef3daa2b84a2b8499ce9e2ce1c865dca36d39f95; 5.17 (not affected: before 5.17; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/72d792c8053f238ae541fdaa90e609548509b65f>
- <https://git.kernel.org/stable/c/959ed35f8c8f07b8dd43c3f917a43ae2f77e4471>
- <https://git.kernel.org/stable/c/8d5999608da60db45949e5459f74f581cdaacd04>
- <https://git.kernel.org/stable/c/8410cd2690d463b60527d00ac8cffea2d5a041f6>
- <https://git.kernel.org/stable/c/3308b8c5f5a28403611a2f5a46f06aabe4f0c661>
- <https://git.kernel.org/stable/c/ef3daa2b84a2b8499ce9e2ce1c865dca36d39f95>

## Sources

- CVE List: [CVE-2026-93116](https://www.cve.org/CVERecord?id=CVE-2026-93116), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-93116](https://nvd.nist.gov/vuln/detail/CVE-2026-93116), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-93116 · Whole record: https://cve.day/CVE-2026-93116.json · Rebuilt by cve.day 2026-11-25T22:59:39.459Z
