PT-2026-163736

CVE-2026-139695

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

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:
wifi: wfx: fix use-after-free of the cooling work on device removal
When the device reports that it is too hot, wfx suspend hot dev() blocks the Tx queues and arms cooling timeout work with a 10s delay. If the device recovers a normal temperature before the delay expires, the work is canceled. Else, the work declares the chip frozen and unblocks the Tx queues.
However, this work is never canceled when the device is removed. cooling timeout work is queued on the system workqueue, while struct wfx dev is released by wfx free common() (through ieee80211 free hw()). So, if the device is unbound during this 10s window, the work fires after struct wfx dev has been freed and dereferences it.
Cancel the work during the teardown. It has to be done after wfx bh unregister(): the "device too hot" indication is processed by the bh, so canceling the work earlier would allow the bh to rearm it. On the other hand, the work calls wfx tx unlock(), which may in turn call wfx bh request tx(). So it has to be canceled before bh wq is destroyed.
Note that the Tx queues are intentionally left blocked: the device is going away, so there is nothing to unblock.
The issue was reported by the Sashiko review bot and the fix has been written by Copilot (including the commit log). The use-case is difficult to reproduce, so this code has not been tested. However, I don't believe this patch could cause any regression.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾