<?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-05T12:16:50.154261+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-142895</id>
    <title>CVE-2026-142895 — maple_tree: fix maple_range_64 crashes in RCU mode</title>
    <updated>2026-12-05T12:16:50.155316+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>maple_tree: fix maple_range_64 crashes in RCU mode</p>
<p>Patch series "maple_tree: fix maple_range_64 crashes in RCU mode", v3.</p>
<p>The patch series fixes two RCU destroy path issues on maple_range_64
nodes.  Both arising from the fact that a maple_range_64 node repurposes
the last slot to hold metadata when the node is not full.  Patch 1
addresses the issues, and patch 2 adds a test used to catch them.</p>
<p>Currently there is no in-tree user of maple_range_64 nodes in RCU mode. 
All in-tree users of MT_FLAGS_USE_RCU also set MT_FLAGS_ALLOC_RANGE which
makes the internal nodes maple_arange_64.</p>
<p>Below is the minimal reproducer used during debugging:</p>
<p>static DEFINE_MTREE(tree);
static int __init maple_fix_init(void)
{
        unsigned long i, j;</p>
<p>for (i = 10; i &lt; 4000; i++) {
                mt_init_flags(&amp;tree, MT_FLAGS_USE_RCU);</p>
<p>for (j = 0; j &lt; i; j++) {
                        mtree_insert_range(&amp;tree, j * 10, j * 10 + 9,
                                        xa_mk_value(j), GFP_KERNEL);
                }</p>
<p>mtree_destroy(&amp;tree);
                rcu_barrier();
        }
        return 0;
}</p>
<p>The splat for the first issue addressed by the first patch is shown below.
mt_clear_meta() runs after the slots have been rewritten with raw
pointers by mte_dead_leaves(), so it cannot recognize a valid last pointer
because the type information is stripped.  On my 64-bit LE machine, it
clear…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-142895"/>
  </entry>
</feed>
