{"id":"CVE-2026-100055","aliases":["CVE-2026-100055"],"related":[],"kind":"vulnerability","state":"published","title":"ublk: mark the io command cancelable before publishing it","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nublk: mark the io command cancelable before publishing it\n\nFETCH, COMMIT_AND_FETCH and NEED_GET_DATA publish the command in io->cmd\nbefore marking it cancelable. A cancel from the control path (STOP_DEV,\nQUIESCE_DEV) can complete it in between:\n\n  issue path                       control-path cancel\n  io->cmd = C\n                                   take C, io_uring_cmd_done(C):\n                                     C not marked, nothing to unlink\n  ublk_prep_cancel(C)\n    the completed C is linked on the cancelable list\n  ring exit: the cancel walk hits it → GPF (KASAN, with a delay added)\n\nMark the command before ublk_fill_io_cmd() publishes it. The handlers\nrun with uring_lock held, as io_uring's cancel walk does, so marking\ntakes no lock and the walk can't see a marked command before it is\npublished. smp_wmb() orders the mark before the io->cmd store; the\ncancel loads cmd with READ_ONCE(io->cmd) before reading cmd->flags.\n\nA marked command has to be completed by io_uring_cmd_done(), so a failed\nFETCH and the inline UBLK_IO_RES_OK of NEED_GET_DATA now do that. The CQE\nis the same.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nublk: mark the io command cancelable before publishing it\n\nFETCH, COMMIT_AND_FETCH and NEED_GET_DATA publish the command in io->cmd\nbefore marking it cancelable. A cancel from the control path (STOP_DEV,\nQUIESCE_DEV) can complete it in between:\n\n  issue path                       control-path cancel\n  io->cmd = C\n                                   take C, io_uring_cmd_done(C):\n                                     C not marked, nothing to unlink\n  ublk_prep_cancel(C)\n    the completed C is linked on the cancelable list\n  ring exit: the cancel walk hits it → GPF (KASAN, with a delay added)\n\nMark the command before ublk_fill_io_cmd() publishes it. The handlers\nrun with uring_lock held, as io_uring's cancel walk does, so marking\ntakes no lock and the walk can't see a marked command before it is\npublished. smp_wmb() orders the mark before the io->cmd store; the\ncancel loads cmd with READ_ONCE(io->cmd) before reading cmd->flags.\n\nA marked command has to be completed by io_uring_cmd_done(), so a failed\nFETCH and the inline UBLK_IO_RES_OK of NEED_GET_DATA now do that. The CQE\nis the same.","source":"cvelist"}],"published":"2026-11-30T13:23:28.176Z","modified":"2026-12-01T06:17:22.100Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"216c8f5ef0f209a3797292c487bdaa6991ab4b92","fixed":"f1de3e25aa13a74c6580cb922be3522c51407885","status":"affected"},{"type":"git","introduced":"216c8f5ef0f209a3797292c487bdaa6991ab4b92","fixed":"49e950f877abdf49427c252d328727a4fc9e8625","status":"affected"},{"type":"git","introduced":"216c8f5ef0f209a3797292c487bdaa6991ab4b92","fixed":"9a735ee97f7f381374cf10e53acc4c97829c8939","status":"affected"},{"type":"git","introduced":"216c8f5ef0f209a3797292c487bdaa6991ab4b92","fixed":"a261f0cacacc022e4fab5b8e38c59f74ce4942e8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f1de3e25aa13a74c6580cb922be3522c51407885","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/49e950f877abdf49427c252d328727a4fc9e8625","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a735ee97f7f381374cf10e53acc4c97829c8939","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a261f0cacacc022e4fab5b8e38c59f74ce4942e8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100055","url":"https://www.cve.org/CVERecord?id=CVE-2026-100055","licence":"CVE Terms of Use","modified":"2026-12-01T05:40:01.184Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100055","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100055","licence":"Public domain","modified":"2026-12-01T06:17:22.100Z"}],"updatedAt":"2026-12-01T06:32:14.134Z","epss":{"score":0.00163,"percentile":0.05734,"date":"2026-12-01T12:00:22.000Z"}}