<?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://vulnerability.circl.lu</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, 02 Oct 2026 15:25:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-74472 — ublk: reset kernel-owned dev_info fields in ublk_ctrl_add_dev()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-74472</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: reset kernel-owned dev_info fields in ublk_ctrl_add_dev()&lt;/p&gt;
&lt;p&gt;ublk_ctrl_add_dev() memcpy()s the userspace ublksrv_ctrl_dev_info into
ub-&amp;gt;dev_info and then fixes up the fields the driver owns, but misses
-&amp;gt;state and -&amp;gt;ublksrv_pid.&lt;/p&gt;
&lt;p&gt;A device added with -&amp;gt;state = UBLK_S_DEV_LIVE passes the
&amp;#34;-&amp;gt;state != UBLK_S_DEV_DEAD&amp;#34; test that ublk_stop_dev_unlocked() uses as its
proxy for &amp;#34;a disk is attached&amp;#34;, while -&amp;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 -&amp;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 -&amp;gt;ublksrv_pid just makes GET_DEV_INFO report an
unrelated task as the ublk server.&lt;/p&gt;
&lt;p&gt;Reset both after the memcpy(), as ublk_detach_disk() does.  Userspace only
ever reads these back, so correcting them silently breaks nothing.&lt;/p&gt;
&lt;p&gt;ADD_DEV has copied -&amp;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
-&amp;gt;state.  The oops became reachable once the disk allocation moved to
START_DEV and those checks switched to -&amp;gt;state.&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: reset kernel-owned dev_info fields in ublk_ctrl_add_dev()&lt;/p&gt;
&lt;p&gt;ublk_ctrl_add_dev() memcpy()s the userspace ublksrv_ctrl_dev_info into
ub-&amp;gt;dev_info and then fixes up the fields the driver owns, but misses
-&amp;gt;state and -&amp;gt;ublksrv_pid.&lt;/p&gt;
&lt;p&gt;A device added with -&amp;gt;state = UBLK_S_DEV_LIVE passes the
&amp;#34;-&amp;gt;state != UBLK_S_DEV_DEAD&amp;#34; test that ublk_stop_dev_unlocked() uses as its
proxy for &amp;#34;a disk is attached&amp;#34;, while -&amp;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 -&amp;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 -&amp;gt;ublksrv_pid just makes GET_DEV_INFO report an
unrelated task as the ublk server.&lt;/p&gt;
&lt;p&gt;Reset both after the memcpy(), as ublk_detach_disk() does.  Userspace only
ever reads these back, so correcting them silently breaks nothing.&lt;/p&gt;
&lt;p&gt;ADD_DEV has copied -&amp;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
-&amp;gt;state.  The oops became reachable once the disk allocation moved to
START_DEV and those checks switched to -&amp;gt;state.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-74472</guid>
    </item>
  </channel>
</rss>
