<?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 20:17:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-100055 — ublk: mark the io command cancelable before publishing it</title>
      <link>https://db.gcve.eu/vuln/cve-2026-100055</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 io command cancelable before publishing it&lt;/p&gt;
&lt;p&gt;FETCH, COMMIT_AND_FETCH and NEED_GET_DATA publish the command in io-&amp;gt;cmd
before marking it cancelable. A cancel from the control path (STOP_DEV,
QUIESCE_DEV) can complete it in between:&lt;/p&gt;
&lt;p&gt;issue path                       control-path cancel
  io-&amp;gt;cmd = C
                                   take C, io_uring_cmd_done(C):
                                     C not marked, nothing to unlink
  ublk_prep_cancel(C)
    the completed C is linked on the cancelable list
  ring exit: the cancel walk hits it → GPF (KASAN, with a delay added)&lt;/p&gt;
&lt;p&gt;Mark the command before ublk_fill_io_cmd() publishes it. The handlers
run with uring_lock held, as io_uring&amp;#39;s cancel walk does, so marking
takes no lock and the walk can&amp;#39;t see a marked command before it is
published. smp_wmb() orders the mark before the io-&amp;gt;cmd store; the
cancel loads cmd with READ_ONCE(io-&amp;gt;cmd) before reading cmd-&amp;gt;flags.&lt;/p&gt;
&lt;p&gt;A marked command has to be completed by io_uring_cmd_done(), so a failed
FETCH and the inline UBLK_IO_RES_OK of NEED_GET_DATA now do that. The CQE
is the same.&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 io command cancelable before publishing it&lt;/p&gt;
&lt;p&gt;FETCH, COMMIT_AND_FETCH and NEED_GET_DATA publish the command in io-&amp;gt;cmd
before marking it cancelable. A cancel from the control path (STOP_DEV,
QUIESCE_DEV) can complete it in between:&lt;/p&gt;
&lt;p&gt;issue path                       control-path cancel
  io-&amp;gt;cmd = C
                                   take C, io_uring_cmd_done(C):
                                     C not marked, nothing to unlink
  ublk_prep_cancel(C)
    the completed C is linked on the cancelable list
  ring exit: the cancel walk hits it → GPF (KASAN, with a delay added)&lt;/p&gt;
&lt;p&gt;Mark the command before ublk_fill_io_cmd() publishes it. The handlers
run with uring_lock held, as io_uring&amp;#39;s cancel walk does, so marking
takes no lock and the walk can&amp;#39;t see a marked command before it is
published. smp_wmb() orders the mark before the io-&amp;gt;cmd store; the
cancel loads cmd with READ_ONCE(io-&amp;gt;cmd) before reading cmd-&amp;gt;flags.&lt;/p&gt;
&lt;p&gt;A marked command has to be completed by io_uring_cmd_done(), so a failed
FETCH and the inline UBLK_IO_RES_OK of NEED_GET_DATA now do that. The CQE
is the same.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-100055</guid>
    </item>
  </channel>
</rss>
