<?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-09-29T04:49:53.315229+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-89654</id>
    <title>CVE-2026-89654 — ceph: fix UAF in check_new_map() on session freed during unlock</title>
    <updated>2026-09-29T04:49:53.329357+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>ceph: fix UAF in check_new_map() on session freed during unlock</p>
<p>check_new_map() iterates mdsc-&gt;sessions[] and for each active session
drops mdsc-&gt;mutex to perform per-session operations.  The forced-close
path (rank removed from map) correctly takes a reference on s via
ceph_get_mds_session() before releasing mdsc-&gt;mutex, but three other
paths do not:</p>
<p>Path A (address changed):  mutex_unlock → mutex_lock(&amp;s-&gt;s_mutex)
  Path B (reconnect):        mutex_unlock → send_mds_reconnect(mdsc, s)
  Path C (active transition): mutex_unlock → mutex_lock(&amp;s-&gt;s_mutex)</p>
<p>Without the extra reference, another thread can acquire mdsc-&gt;mutex
during the unlock window, call __unregister_session() which drops the
last reference on s, and free it.  The original thread then accesses
freed memory via s-&gt;s_mutex.</p>
<p>Fix by adding ceph_get_mds_session(s) before each mutex_unlock and
ceph_put_mds_session(s) after the corresponding mutex_lock, matching
the pattern already used in the forced-close path.</p>
<p>Race timeline (Path A):</p>
<p>Thread A (check_new_map)             Thread B (another map update
    holds mdsc-&gt;mutex                      or session teardown)
  --------------------------           --------------------------
  s = mdsc-&gt;sessions[i]
  (refcount == 1, held only by
   sessions[] array)</p>
<p>mutex_unlock(&amp;mdsc-&gt;mutex)
                               ---&gt;    acquires mdsc-&gt;mutex
                                       __unregiste…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-89654"/>
  </entry>
</feed>
