CVE-2026-99518

Not scored yetLast modified Nov 19, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, < 465f3074762ad943370881d7b6f096e70d9a5a5a; >= fac55d29581fcd4c3b66b9c2b9f7995c459c0064, < 639bc2254816b7c4e7a9801a7b3aa71bfa3f915c
LinuxLinux7.0

References

Timeline

Published
Nov 19, 2026
Last modified
Nov 19, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99519In the Linux kernel, the following vulnerability has been resolved: PM: EM: Fix use-after-free of perf domain in netlink doit handlers TheCVE-2026-99528.8Use after free in WebAudio in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code inside a sandbox viaCVE-2026-99520In the Linux kernel, the following vulnerability has been resolved: pps: generators: fix use-after-free when closing a removed device The CVE-2026-99521In the Linux kernel, the following vulnerability has been resolved: rapidio: mport_cdev: fix use-after-free in mport_mm_close() A use-afteCVE-2026-99522In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: avoid use-after-free in icrdma_remove icrdma_remove() dereCVE-2026-995237.8In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Fix DMABUF use-after-free during ufile cleanup The DMABUFCVE-2026-99524In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix use-after-free of a local reenq node left on an inactiveCVE-2026-99525In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free in cifs_ses_add_channel() The error paCVE-2026-99526In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free infoleak via the readdir resume name CCVE-2026-99527In the Linux kernel, the following vulnerability has been resolved: spmi: Fix potential use-after-free by grabbing of_node reference As noCVE-2026-995287.8In the Linux kernel, the following vulnerability has been resolved: SUNRPC: fix netns use-after-free in write_gssp() While fuzzing with a CVE-2026-99529In the Linux kernel, the following vulnerability has been resolved: wifi: b43: fix use-after-free in b43_bcma_remove() b43_one_core_detach
CVE-2026-99518: Unscored | Vulnix