<?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:36:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-100056 — ublk: keep a canceled FETCH round canceling until the server is gone</title>
      <link>https://db.gcve.eu/vuln/cve-2026-100056</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: keep a canceled FETCH round canceling until the server is gone&lt;/p&gt;
&lt;p&gt;A cancel completes a fetched io command and sets io-&amp;gt;cmd to NULL, but
the io still counts as ready. Only ubq-&amp;gt;canceling stops ublk_queue_rq()
from using the NULL io-&amp;gt;cmd. Two paths clear that flag too early:&lt;/p&gt;
&lt;p&gt;partial FETCH round                 recovery, two queues
  -------------------                 --------------------
  task A: FETCH tags 0-2              q0 ready: q0-&amp;gt;canceling = false
  task A exits:                       q0 task exits:
    start_cancel(): mark queues         start_cancel(): ub-&amp;gt;canceling
    tags 0-2: io-&amp;gt;cmd = NULL              is still set -&amp;gt; q0 not marked
  task B: FETCH tag 3                   q0: io-&amp;gt;cmd = NULL
    queue ready: canceling = false    q1 ready
  START_DEV                           END_USER_RECOVERY
  read -&amp;gt; ublk_queue_cmd(NULL)        read on q0 -&amp;gt; ublk_queue_cmd(NULL)&lt;/p&gt;
&lt;p&gt;A FETCH round runs from the open of /dev/ublkcN until
ublk_reset_ch_dev() resets the queues. A canceled command can&amp;#39;t be
fetched again in the same round. So the ready check only needs one
fact: did this round see a cancel? ub-&amp;gt;canceling already records it:
ublk_start_cancel() sets it under cancel_mutex before any command is
taken. It is only cleared too early, when all queues are ready.&lt;/p&gt;
&lt;p&gt;Fix:&lt;/p&gt;
&lt;p&gt;- clear ub-&amp;gt;canceling only in ublk_reset_ch_dev()
 - when a queue gets ready, clear ubq-&amp;gt;canceling only if ub-&amp;gt;canceling
   is not set…&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: keep a canceled FETCH round canceling until the server is gone&lt;/p&gt;
&lt;p&gt;A cancel completes a fetched io command and sets io-&amp;gt;cmd to NULL, but
the io still counts as ready. Only ubq-&amp;gt;canceling stops ublk_queue_rq()
from using the NULL io-&amp;gt;cmd. Two paths clear that flag too early:&lt;/p&gt;
&lt;p&gt;partial FETCH round                 recovery, two queues
  -------------------                 --------------------
  task A: FETCH tags 0-2              q0 ready: q0-&amp;gt;canceling = false
  task A exits:                       q0 task exits:
    start_cancel(): mark queues         start_cancel(): ub-&amp;gt;canceling
    tags 0-2: io-&amp;gt;cmd = NULL              is still set -&amp;gt; q0 not marked
  task B: FETCH tag 3                   q0: io-&amp;gt;cmd = NULL
    queue ready: canceling = false    q1 ready
  START_DEV                           END_USER_RECOVERY
  read -&amp;gt; ublk_queue_cmd(NULL)        read on q0 -&amp;gt; ublk_queue_cmd(NULL)&lt;/p&gt;
&lt;p&gt;A FETCH round runs from the open of /dev/ublkcN until
ublk_reset_ch_dev() resets the queues. A canceled command can&amp;#39;t be
fetched again in the same round. So the ready check only needs one
fact: did this round see a cancel? ub-&amp;gt;canceling already records it:
ublk_start_cancel() sets it under cancel_mutex before any command is
taken. It is only cleared too early, when all queues are ready.&lt;/p&gt;
&lt;p&gt;Fix:&lt;/p&gt;
&lt;p&gt;- clear ub-&amp;gt;canceling only in ublk_reset_ch_dev()
 - when a queue gets ready, clear ubq-&amp;gt;canceling only if ub-&amp;gt;canceling
   is not set…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-100056</guid>
    </item>
  </channel>
</rss>
