<?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>Thu, 01 Oct 2026 05:17:27 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-68285 — libceph: fix potential use-after-free in have_mon_and_osd_map()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-68285</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;libceph: fix potential use-after-free in have_mon_and_osd_map()&lt;/p&gt;
&lt;p&gt;The wait loop in __ceph_open_session() can race with the client
receiving a new monmap or osdmap shortly after the initial map is
received.  Both ceph_monc_handle_map() and handle_one_map() install
a new map immediately after freeing the old one&lt;/p&gt;
&lt;p&gt;kfree(monc-&amp;gt;monmap);
    monc-&amp;gt;monmap = monmap;&lt;/p&gt;
&lt;p&gt;ceph_osdmap_destroy(osdc-&amp;gt;osdmap);
    osdc-&amp;gt;osdmap = newmap;&lt;/p&gt;
&lt;p&gt;under client-&amp;gt;monc.mutex and client-&amp;gt;osdc.lock respectively, but
because neither is taken in have_mon_and_osd_map() it&amp;#39;s possible for
client-&amp;gt;monc.monmap-&amp;gt;epoch and client-&amp;gt;osdc.osdmap-&amp;gt;epoch arms in&lt;/p&gt;
&lt;p&gt;client-&amp;gt;monc.monmap &amp;amp;&amp;amp; client-&amp;gt;monc.monmap-&amp;gt;epoch &amp;amp;&amp;amp;
        client-&amp;gt;osdc.osdmap &amp;amp;&amp;amp; client-&amp;gt;osdc.osdmap-&amp;gt;epoch;&lt;/p&gt;
&lt;p&gt;condition to dereference an already freed map.  This happens to be
reproducible with generic/395 and generic/397 with KASAN enabled:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-use-after-free in have_mon_and_osd_map+0x56/0x70
    Read of size 4 at addr ffff88811012d810 by task mount.ceph/13305
    CPU: 2 UID: 0 PID: 13305 Comm: mount.ceph Not tainted 6.14.0-rc2-build2+ #1266
    ...
    Call Trace:
    &amp;lt;TASK&amp;gt;
    have_mon_and_osd_map+0x56/0x70
    ceph_open_session+0x182/0x290
    ceph_get_tree+0x333/0x680
    vfs_get_tree+0x49/0x180
    do_new_mount+0x1a3/0x2d0
    path_mount+0x6dd/0x730
    do_mount+0x99/0xe0
    __do_sys_mount+0x141/0x180
    do_syscall_64+0x9f/0x100
    entry_SYSCALL_64_af…&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;libceph: fix potential use-after-free in have_mon_and_osd_map()&lt;/p&gt;
&lt;p&gt;The wait loop in __ceph_open_session() can race with the client
receiving a new monmap or osdmap shortly after the initial map is
received.  Both ceph_monc_handle_map() and handle_one_map() install
a new map immediately after freeing the old one&lt;/p&gt;
&lt;p&gt;kfree(monc-&amp;gt;monmap);
    monc-&amp;gt;monmap = monmap;&lt;/p&gt;
&lt;p&gt;ceph_osdmap_destroy(osdc-&amp;gt;osdmap);
    osdc-&amp;gt;osdmap = newmap;&lt;/p&gt;
&lt;p&gt;under client-&amp;gt;monc.mutex and client-&amp;gt;osdc.lock respectively, but
because neither is taken in have_mon_and_osd_map() it&amp;#39;s possible for
client-&amp;gt;monc.monmap-&amp;gt;epoch and client-&amp;gt;osdc.osdmap-&amp;gt;epoch arms in&lt;/p&gt;
&lt;p&gt;client-&amp;gt;monc.monmap &amp;amp;&amp;amp; client-&amp;gt;monc.monmap-&amp;gt;epoch &amp;amp;&amp;amp;
        client-&amp;gt;osdc.osdmap &amp;amp;&amp;amp; client-&amp;gt;osdc.osdmap-&amp;gt;epoch;&lt;/p&gt;
&lt;p&gt;condition to dereference an already freed map.  This happens to be
reproducible with generic/395 and generic/397 with KASAN enabled:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: slab-use-after-free in have_mon_and_osd_map+0x56/0x70
    Read of size 4 at addr ffff88811012d810 by task mount.ceph/13305
    CPU: 2 UID: 0 PID: 13305 Comm: mount.ceph Not tainted 6.14.0-rc2-build2+ #1266
    ...
    Call Trace:
    &amp;lt;TASK&amp;gt;
    have_mon_and_osd_map+0x56/0x70
    ceph_open_session+0x182/0x290
    ceph_get_tree+0x333/0x680
    vfs_get_tree+0x49/0x180
    do_new_mount+0x1a3/0x2d0
    path_mount+0x6dd/0x730
    do_mount+0x99/0xe0
    __do_sys_mount+0x141/0x180
    do_syscall_64+0x9f/0x100
    entry_SYSCALL_64_af…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-68285</guid>
    </item>
  </channel>
</rss>
