PT-2026-162636

CVE-2026-100054

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

CVSS 3.1
7.8
عالية
المقاييسAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
In the Linux kernel, the following vulnerability has been resolved:
ublk: mark the batch fetch command cancelable before linking it
UBLK U IO FETCH IO CMDS has the same order problem as the per-io commands: ublk batch attach() links the fetch command into fcmd head and marks it cancelable only after dropping evts lock. A cancel from the control path (ublk batch cancel queue()) can take it in between and complete it, and the later mark puts a completed request on io uring's cancelable list.
Mark it before linking it. evts lock orders the mark before the link, which is where the cancel finds it.
Batch commands are not bounced to task work, so they can run from io-wq without uring lock, and io uring's cancel walk can now find a fetch command before it is linked. Two things make that safe:
  • initialize fcmd->node: it came from kzalloc(), so list empty() saw a linked node and ublk batch cancel cmd() would list del init() NULL pointers
  • on the -ENODEV path, complete the command with io uring cmd done() before freeing fcmd: that removes it from the cancelable list under uring lock, after which nothing can see fcmd
Also use data->cmd instead of fcmd->cmd after dropping evts lock: once fcmd is linked and not the active one, a control-path cancel may complete and free it.
قابلية الاستغلال
إصلاح
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾