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

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ublk: mark the io command cancelable before publishing it

FETCH, COMMITANDFETCH and NEEDGETDATA publish the command in io->cmd before marking it cancelable. A cancel from the control path (STOPDEV, QUIESCEDEV) can complete it in between:

issue path control-path cancel io->cmd = C take C, iouringcmddone(C): C not marked, nothing to unlink ublkprepcancel(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 ublkfilliocmd() publishes it. The handlers run with uringlock held, as iouring's cancel walk does, so marking takes no lock and the walk can't see a marked command before it is published. smpwmb() orders the mark before the io->cmd store; the cancel loads cmd with READONCE(io->cmd) before reading cmd->flags.

A marked command has to be completed by iouringcmddone(), so a failed FETCH and the inline UBLKIORESOK of NEEDGETDATA now do that. The CQE is the same.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203