PT-2026-151729

CVE-2026-99518

·

Published

2026-11-19

·

Updated

2026-11-19

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾