PT-2026-166520

CVE-2026-142797

·

Publicado

2026-12-03

·

Atualizado

2026-12-03

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:
media: s5p-mfc: use timer shutdown sync() for the self-rearming watchdog
The MFC watchdog timer (s5p mfc watchdog) is self-rearming: every callback re-arms itself with add timer() and, on a timeout, schedules watchdog work. s5p mfc remove() tears this down with timer delete sync() followed by flush work().
timer delete sync() dequeues the timer and waits for a callback that is already running, but it does not prevent a subsequent re-arm. Because the watchdog callback re-arms via add timer(), this is the wrong shutdown primitive: once the wait returns nothing guarantees a just-queued re-arm will not fire later, dereferencing dev (clock on/off, deinit hw, load firmware, init hw) after video unregister device(), DMA teardown and s5p mfc final pm() have run, a potential use-after-free.
Use timer shutdown sync(), which puts the timer into a shutdown state so that any add timer()/mod timer() from the callback becomes a no-op and no later firing is possible. Switch flush work() to cancel work sync() so any watchdog work that was already queued before the timer was stopped is cancelled rather than allowed to run to completion against the torn-down device.
This issue was found by an in-house static analysis tool. No runtime reproducer is available.
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾