<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:27:52 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-100054 — ublk: mark the batch fetch command cancelable before linking it</title>
      <link>https://db.gcve.eu/vuln/cve-2026-100054</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;ublk: mark the batch fetch command cancelable before linking it&lt;/p&gt;
&lt;p&gt;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&amp;#39;s
cancelable list.&lt;/p&gt;
&lt;p&gt;Mark it before linking it. evts_lock orders the mark before the link,
which is where the cancel finds it.&lt;/p&gt;
&lt;p&gt;Batch commands are not bounced to task work, so they can run from io-wq
without uring_lock, and io_uring&amp;#39;s cancel walk can now find a fetch
command before it is linked. Two things make that safe:&lt;/p&gt;
&lt;p&gt;- initialize fcmd-&amp;gt;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&lt;/p&gt;
&lt;p&gt;Also use data-&amp;gt;cmd instead of fcmd-&amp;gt;cmd after dropping evts_lock: once
fcmd is linked and not the active one, a control-path cancel may
complete and free it.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;ublk: mark the batch fetch command cancelable before linking it&lt;/p&gt;
&lt;p&gt;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&amp;#39;s
cancelable list.&lt;/p&gt;
&lt;p&gt;Mark it before linking it. evts_lock orders the mark before the link,
which is where the cancel finds it.&lt;/p&gt;
&lt;p&gt;Batch commands are not bounced to task work, so they can run from io-wq
without uring_lock, and io_uring&amp;#39;s cancel walk can now find a fetch
command before it is linked. Two things make that safe:&lt;/p&gt;
&lt;p&gt;- initialize fcmd-&amp;gt;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&lt;/p&gt;
&lt;p&gt;Also use data-&amp;gt;cmd instead of fcmd-&amp;gt;cmd after dropping evts_lock: once
fcmd is linked and not the active one, a control-path cancel may
complete and free it.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-100054</guid>
    </item>
  </channel>
</rss>
