PT-2026-163129
CVE-2026-139088
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNã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:
fs pin: do not trust the pin after a spurious wakeup in pin kill()
A task waiting in pin kill() for another task's ->kill() can take
p->wait.lock after the pin has been freed, and can return with its
on-stack wait entry still on p->wait. With BSD process accounting this
is a use-after-free of the acct structure when umount() of the mount
holding the accounting file races with acct(2).
pin kill() takes a still-queued entry as proof that pin remove() has not
run, so p is alive. But autoremove wake function() dequeues only when
try to wake up() succeeds: if the waiter was already woken spuriously,
pin remove() leaves the entry queued, acct pin kill() frees the acct
with kfree rcu(), and the grace period can end while the waiter sits
between schedule() and rcu read lock().
Dequeue the entry unconditionally in a private wake function;
pin remove() is the only waker and sets p->done first.
Reproduced under QEMU with KASAN and test-only delays: a
slab-use-after-free in pin kill() before the patch, no report after.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾