GHSA-FC8F-PRHJ-QMW7
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-19 15:31In 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": [],
"aliases": [
"CVE-2026-99518"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:18:07Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: asus-wmi: fix use-after-free unregistering kbd_led led\n\nkbd_led_update_all() registers asus-\u003ekbd_led with\ndevm_led_classdev_register() on the platform device, but kbd_led is\nembedded in struct asus_wmi, which asus_wmi_remove() frees at its end.\nThe driver core calls .remove() before devres_release_all(), so the\ndeferred devres release runs led_classdev_unregister() on memory that\nhas already been freed. Whether that faults depends on whether the\nslab has been reused in between, which makes the crash on module\nunload intermittent and silently corrupts the led classdev state in\nthe remaining runs.\n\nUnregister the led classdev explicitly in asus_wmi_led_exit(), after\nthe led workqueue has been destroyed: kbd_led_work can then neither\nrun nor be queued anymore, since asus_ref.asus is NULL too, so\nkbd_led_registered is stable and the classdev can be released while\nthe memory embedding it is still alive. devm_led_classdev_unregister()\nalso drops the devres entry, leaving nothing to run at unbind cleanup\ntime; it warns when no devres entry exists, hence the\nkbd_led_registered check.",
"id": "GHSA-fc8f-prhj-qmw7",
"modified": "2026-11-19T15:31:27Z",
"published": "2026-11-19T15:31:27Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99518"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/465f3074762ad943370881d7b6f096e70d9a5a5a"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/639bc2254816b7c4e7a9801a7b3aa71bfa3f915c"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.