<?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:17:04 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-100053 — ublk: let STOP_DEV cancel the server's commands before its release</title>
      <link>https://db.gcve.eu/vuln/cve-2026-100053</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: let STOP_DEV cancel the server&amp;#39;s commands before its release&lt;/p&gt;
&lt;p&gt;STOP_DEV cancels the fetched commands after dropping ub-&amp;gt;mutex, so
START_DEV and FETCH can run in between:&lt;/p&gt;
&lt;p&gt;STOP_DEV                          START_DEV / FETCH
  lock ub-&amp;gt;mutex
    ublk_stop_dev_unlocked()        (not started: does nothing)
  unlock ub-&amp;gt;mutex
                                    START_DEV goes live, schedules scan
                                    FETCH publishes a new command
  cancel_work_sync(scan)            cancels the new disk&amp;#39;s scan
  ublk_cancel_dev()                 takes the new command: NULL io-&amp;gt;cmd
                                    on a queue which isn&amp;#39;t canceling&lt;/p&gt;
&lt;p&gt;A START_DEV after STOP_DEV also goes live over the canceled commands.&lt;/p&gt;
&lt;p&gt;Hold a reference on the server&amp;#39;s /dev/ublkcN while canceling:&lt;/p&gt;
&lt;p&gt;STOP_DEV
  lock ub-&amp;gt;mutex
    ublk_stop_dev_unlocked()
    cancel_work_sync(scan)
    server attached: take a reference on its file, set STOPPING
  unlock ub-&amp;gt;mutex
  ublk_cancel_dev()
  drop the reference&lt;/p&gt;
&lt;p&gt;- STOPPING makes FETCH and PREP get UBLK_IO_RES_ABORT and START_DEV
   -EBUSY; a START_DEV or END_USER_RECOVERY waiting for the device
   to get ready wakes up too; the reset in the server&amp;#39;s release
   clears it
 - the release can&amp;#39;t run before the reference is dropped, so no new
   server can attach, and the cancel only meets this server&amp;#39;s commands
 - the cancel still runs after the unlock: io_uring_cmd_done(…&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: let STOP_DEV cancel the server&amp;#39;s commands before its release&lt;/p&gt;
&lt;p&gt;STOP_DEV cancels the fetched commands after dropping ub-&amp;gt;mutex, so
START_DEV and FETCH can run in between:&lt;/p&gt;
&lt;p&gt;STOP_DEV                          START_DEV / FETCH
  lock ub-&amp;gt;mutex
    ublk_stop_dev_unlocked()        (not started: does nothing)
  unlock ub-&amp;gt;mutex
                                    START_DEV goes live, schedules scan
                                    FETCH publishes a new command
  cancel_work_sync(scan)            cancels the new disk&amp;#39;s scan
  ublk_cancel_dev()                 takes the new command: NULL io-&amp;gt;cmd
                                    on a queue which isn&amp;#39;t canceling&lt;/p&gt;
&lt;p&gt;A START_DEV after STOP_DEV also goes live over the canceled commands.&lt;/p&gt;
&lt;p&gt;Hold a reference on the server&amp;#39;s /dev/ublkcN while canceling:&lt;/p&gt;
&lt;p&gt;STOP_DEV
  lock ub-&amp;gt;mutex
    ublk_stop_dev_unlocked()
    cancel_work_sync(scan)
    server attached: take a reference on its file, set STOPPING
  unlock ub-&amp;gt;mutex
  ublk_cancel_dev()
  drop the reference&lt;/p&gt;
&lt;p&gt;- STOPPING makes FETCH and PREP get UBLK_IO_RES_ABORT and START_DEV
   -EBUSY; a START_DEV or END_USER_RECOVERY waiting for the device
   to get ready wakes up too; the reset in the server&amp;#39;s release
   clears it
 - the release can&amp;#39;t run before the reference is dropped, so no new
   server can attach, and the cancel only meets this server&amp;#39;s commands
 - the cancel still runs after the unlock: io_uring_cmd_done(…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-100053</guid>
    </item>
  </channel>
</rss>
