PT-2026-152690
CVE-2026-99797
·
Publicado
2026-11-20
·
Atualizado
2026-11-20
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:
io uring/cancel: drop sqd->lock while SQPOLL waits
An exiting SQPOLL thread calls io uring cancel generic() with sqd->lock
held, and keeps it across cond resched() and the sleep until nothing is
in flight anymore. A zero-copy send notification can't be canceled and
stays pending as long as the peer doesn't read, so the lock is held for
as long as a user cares to. io ring exit work() needs it to park the
thread, and so do IORING REGISTER IOWQ AFF and IOWQ MAX WORKERS. With
64 such rings sharing the thread, every iou exit slot sleeps on the lock
and no ring gets freed for anyone.
Drop the lock around cond resched() and the sleep, like the main loop of
the thread does. Each walk of ctx list is still under one hold, and
nothing is kept across the unlock. The thread drops its io-wq, frees its
tctx and clears sqd->thread under one hold after the loop, so whoever
holds the lock and finds sqd->thread set can still use them.
[axboe: adapted to the schedule timeout() based loop]
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾