PT-2026-162637
CVE-2026-100055
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
CVSS 3.1
7.8
AltaMétricasAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
ublk: mark the io command cancelable before publishing it
FETCH, COMMIT AND FETCH and NEED GET DATA publish the command in io->cmd
before marking it cancelable. A cancel from the control path (STOP DEV,
QUIESCE DEV) can complete it in between:
issue path control-path cancel
io->cmd = C
take C, io uring cmd done(C):
C not marked, nothing to unlink
ublk prep cancel(C)
the completed C is linked on the cancelable list
ring exit: the cancel walk hits it → GPF (KASAN, with a delay added)
Mark the command before ublk fill io cmd() publishes it. The handlers
run with uring lock held, as io uring's cancel walk does, so marking
takes no lock and the walk can't see a marked command before it is
published. smp wmb() orders the mark before the io->cmd store; the
cancel loads cmd with READ ONCE(io->cmd) before reading cmd->flags.
A marked command has to be completed by io uring cmd done(), so a failed
FETCH and the inline UBLK IO RES OK of NEED GET DATA now do that. The CQE
is the same.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾