# CVE-2026-100055

- Bağlantı: https://www.allsafe.com.tr/cve-2026-100055/
- Yayımlanma: 2026-11-30T17:17:23+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-100055)
