PT-2026-151729

CVE-2026-99518

·

Publicado

2026-11-19

·

Atualizado

2026-11-19

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

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.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾