<?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-04T19:16:49.181978+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-99960</id>
    <title>CVE-2026-99960 — nvmet: take subsys-&gt;lock while force-reconnecting in nvmet_subsys_attr_qid_max_store()</title>
    <updated>2026-12-04T19:16:49.189503+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>nvmet: take subsys-&gt;lock while force-reconnecting in nvmet_subsys_attr_qid_max_store()</p>
<p>nvmet_subsys_attr_qid_max_store() sets subsys-&gt;max_qid and then walks
subsys-&gt;ctrls to force every controller to reconnect, but it holds only
nvmet_config_sem (for write).  subsys-&gt;ctrls is protected by subsys-&gt;lock:
nvmet_alloc_ctrl() adds an entry under subsys-&gt;lock, and nvmet_ctrl_free()
removes it under subsys-&gt;lock with list_del() + kfree() (not kfree_rcu).
The free path takes no nvmet_config_sem, so the two locks are independent.</p>
<p>A controller teardown (host disconnect, keep-alive timeout or fatal error
-&gt; nvmet_sq_destroy() -&gt; nvmet_ctrl_put() -&gt; nvmet_ctrl_free()) can
therefore list_del() an entry while qid_max_store() is iterating the list,
corrupting the walk.</p>
<p>KASAN, concurrent "echo 128 &gt; .../subsystems/&lt;nqn&gt;/attr_qid_max" racing
nvme-loop controllers connecting and disconnecting, panics in seconds:</p>
<p>BUG: KASAN: null-ptr-deref in nvmet_subsys_attr_qid_max_store+0x10d/0x1b0
  Read of size 8 at addr 0000000000000090
  Call Trace:
   nvmet_subsys_attr_qid_max_store+0x10d/0x1b0
   configfs_write_iter+0x1a7/0x250
   vfs_write+0x5df/0x940
   ksys_write+0xfd/0x1e0</p>
<p>(also seen as a general-protection fault dereferencing a LIST_POISON
pointer at the same instruction.)</p>
<p>Take subsys-&gt;lock around the list_for_each_entry() loop, matching every
other subsys-&gt;ctrls accessor.  -&gt;delete_ctrl() only queues asynchronous
contr…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-99960"/>
  </entry>
</feed>
