# CVE-2026-100055: ublk: mark the io command cancelable before publishing it

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:28.176Z
- Modified: 2026-12-01T06:17:22.100Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 216c8f5ef0f209a3797292c487bdaa6991ab4b92 before f1de3e25aa13a74c6580cb922be3522c51407885; from 216c8f5ef0f209a3797292c487bdaa6991ab4b92 before 49e950f877abdf49427c252d328727a4fc9e8625; from 216c8f5ef0f209a3797292c487bdaa6991ab4b92 before 9a735ee97f7f381374cf10e53acc4c97829c8939; from 216c8f5ef0f209a3797292c487bdaa6991ab4b92 before a261f0cacacc022e4fab5b8e38c59f74ce4942e8; 6.7 (not affected: before 6.7; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/f1de3e25aa13a74c6580cb922be3522c51407885>
- <https://git.kernel.org/stable/c/49e950f877abdf49427c252d328727a4fc9e8625>
- <https://git.kernel.org/stable/c/9a735ee97f7f381374cf10e53acc4c97829c8939>
- <https://git.kernel.org/stable/c/a261f0cacacc022e4fab5b8e38c59f74ce4942e8>

## Sources

- CVE List: [CVE-2026-100055](https://www.cve.org/CVERecord?id=CVE-2026-100055), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-100055](https://nvd.nist.gov/vuln/detail/CVE-2026-100055), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-100055 · Whole record: https://cve.day/CVE-2026-100055.json · Rebuilt by cve.day 2026-12-01T06:32:14.134Z
