<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T18:42:20.502227+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-100053</id>
    <title>CVE-2026-100053 — ublk: let STOP_DEV cancel the server's commands before its release</title>
    <updated>2026-12-04T18:42:20.504441+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>ublk: let STOP_DEV cancel the server's commands before its release</p>
<p>STOP_DEV cancels the fetched commands after dropping ub-&gt;mutex, so
START_DEV and FETCH can run in between:</p>
<p>STOP_DEV                          START_DEV / FETCH
  lock ub-&gt;mutex
    ublk_stop_dev_unlocked()        (not started: does nothing)
  unlock ub-&gt;mutex
                                    START_DEV goes live, schedules scan
                                    FETCH publishes a new command
  cancel_work_sync(scan)            cancels the new disk's scan
  ublk_cancel_dev()                 takes the new command: NULL io-&gt;cmd
                                    on a queue which isn't canceling</p>
<p>A START_DEV after STOP_DEV also goes live over the canceled commands.</p>
<p>Hold a reference on the server's /dev/ublkcN while canceling:</p>
<p>STOP_DEV
  lock ub-&gt;mutex
    ublk_stop_dev_unlocked()
    cancel_work_sync(scan)
    server attached: take a reference on its file, set STOPPING
  unlock ub-&gt;mutex
  ublk_cancel_dev()
  drop the reference</p>
<p>- 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's release
   clears it
 - the release can't run before the reference is dropped, so no new
   server can attach, and the cancel only meets this server's commands
 - the cancel still runs after the unlock: io_uring_cmd_done(…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-100053"/>
  </entry>
</feed>
