{"id":"CVE-2026-100055","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:23.663","lastModified":"2026-12-01T06:17:22.100","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/block/ublk_drv.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"216c8f5ef0f209a3797292c487bdaa6991ab4b92","lessThan":"f1de3e25aa13a74c6580cb922be3522c51407885","versionType":"git","status":"affected"},{"version":"216c8f5ef0f209a3797292c487bdaa6991ab4b92","lessThan":"49e950f877abdf49427c252d328727a4fc9e8625","versionType":"git","status":"affected"},{"version":"216c8f5ef0f209a3797292c487bdaa6991ab4b92","lessThan":"9a735ee97f7f381374cf10e53acc4c97829c8939","versionType":"git","status":"affected"},{"version":"216c8f5ef0f209a3797292c487bdaa6991ab4b92","lessThan":"a261f0cacacc022e4fab5b8e38c59f74ce4942e8","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/block/ublk_drv.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","versionType":"semver","status":"unaffected"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/49e950f877abdf49427c252d328727a4fc9e8625","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9a735ee97f7f381374cf10e53acc4c97829c8939","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a261f0cacacc022e4fab5b8e38c59f74ce4942e8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f1de3e25aa13a74c6580cb922be3522c51407885","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}