{"id":"CVE-2026-100055","summary":"ublk: mark the io command cancelable before publishing it","details":"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-\u003ecmd\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-\u003ecmd = 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-\u003ecmd store; the\ncancel loads cmd with READ_ONCE(io-\u003ecmd) before reading cmd-\u003eflags.\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.","modified":"2026-12-01T07:00:19.281226056Z","published":"2026-11-30T13:23:28.176Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100055.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/49e950f877abdf49427c252d328727a4fc9e8625"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a735ee97f7f381374cf10e53acc4c97829c8939"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a261f0cacacc022e4fab5b8e38c59f74ce4942e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1de3e25aa13a74c6580cb922be3522c51407885"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100055.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100055"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"216c8f5ef0f209a3797292c487bdaa6991ab4b92"},{"fixed":"f1de3e25aa13a74c6580cb922be3522c51407885"},{"fixed":"49e950f877abdf49427c252d328727a4fc9e8625"},{"fixed":"9a735ee97f7f381374cf10e53acc4c97829c8939"},{"fixed":"a261f0cacacc022e4fab5b8e38c59f74ce4942e8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100055.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100055.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}