CVE-2026-99518
Last modified
CVE-2026-99518 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: platform/x86: asus-wmi: fix use-after-free unregistering kbd_led led kbd_led_update_all() registers asus->kbd_led with devm_led_classdev_register() on the platform device, but kbd_led is embedded in struct asus_wmi, which asus_wmi_remove() frees at its end. The driver core calls .remove() before devres_release_all(), so the deferred devres release runs led_classdev_unregister() on memory that has already been freed. Whether that faults depends on whether the slab has been reused in between, which makes the crash on module unload intermittent and silently corrupts the led classdev state in the remaining runs. Unregister the led classdev explicitly in asus_wmi_led_exit(), after the led workqueue has been destroyed: kbd_led_work can then neither run nor be queued anymore, since asus_ref.asus is NULL too, so kbd_led_registered is stable and the classdev can be released while the memory embedding it is still alive.
Description
In the Linux kernel, the following vulnerability has been resolved: platform/x86: asus-wmi: fix use-after-free unregistering kbd_led led kbd_led_update_all() registers asus->kbd_led with devm_led_classdev_register() on the platform device, but kbd_led is embedded in struct asus_wmi, which asus_wmi_remove() frees at its end. The driver core calls .remove() before devres_release_all(), so the deferred devres release runs led_classdev_unregister() on memory that has already been freed. Whether that faults depends on whether the slab has been reused in between, which makes the crash on module unload intermittent and silently corrupts the led classdev state in the remaining runs. Unregister the led classdev explicitly in asus_wmi_led_exit(), after the led workqueue has been destroyed: kbd_led_work can then neither run nor be queued anymore, since asus_ref.asus is NULL too, so kbd_led_registered is stable and the classdev can be released while the memory embedding it is still alive. devm_led_classdev_unregister() also drops the devres entry, leaving nothing to run at unbind cleanup time; it warns when no devres entry exists, hence the kbd_led_registered check.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, < 465f3074762ad943370881d7b6f096e70d9a5a5a; >= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, < 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c |
| Linux | Linux | 7.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99518?
How severe is CVE-2026-99518?
How do I fix CVE-2026-99518?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99512In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99513In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-99514In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99515In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99516In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-99517In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99519In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9952Use after free in WebAudio in Google Chrome prior to 148.0.7…8.8
- CVE-2026-99520In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99521In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99522In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99523In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-99518?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
