<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T15:25:29.991276+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/cve-2026-74472</id>
    <title>CVE-2026-74472 — ublk: reset kernel-owned dev_info fields in ublk_ctrl_add_dev()</title>
    <updated>2026-10-02T15:25:30.401787+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: reset kernel-owned dev_info fields in ublk_ctrl_add_dev()</p>
<p>ublk_ctrl_add_dev() memcpy()s the userspace ublksrv_ctrl_dev_info into
ub-&gt;dev_info and then fixes up the fields the driver owns, but misses
-&gt;state and -&gt;ublksrv_pid.</p>
<p>A device added with -&gt;state = UBLK_S_DEV_LIVE passes the
"-&gt;state != UBLK_S_DEV_DEAD" test that ublk_stop_dev_unlocked() uses as its
proxy for "a disk is attached", while -&gt;ub_disk is still NULL, so DEL_DEV
right after ADD_DEV oopses in del_gendisk().  UBLK_S_DEV_QUIESCED plus
UBLK_F_USER_RECOVERY dies one step earlier, in ublk_force_abort_dev().  A
poisoned -&gt;state also gets START_USER_RECOVERY and the char device
read/write path onto a device that was never started, and wedges START_DEV
at -EEXIST.  A poisoned -&gt;ublksrv_pid just makes GET_DEV_INFO report an
unrelated task as the ublk server.</p>
<p>Reset both after the memcpy(), as ublk_detach_disk() does.  Userspace only
ever reads these back, so correcting them silently breaks nothing.</p>
<p>ADD_DEV has copied -&gt;state in unsanitized since ublk was merged, but back
then it was harmless: the gendisk was allocated during ADD_DEV, and both
teardown and the START_DEV -EEXIST check keyed off disk_live() rather than
-&gt;state.  The oops became reachable once the disk allocation moved to
START_DEV and those checks switched to -&gt;state.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-74472"/>
  </entry>
</feed>
