<?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://db.gcve.eu</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>Sat, 05 Dec 2026 12:16:49 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142895 — maple_tree: fix maple_range_64 crashes in RCU mode</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142895</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;maple_tree: fix maple_range_64 crashes in RCU mode&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;maple_tree: fix maple_range_64 crashes in RCU mode&amp;#34;, v3.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Below is the minimal reproducer used during debugging:&lt;/p&gt;
&lt;p&gt;static DEFINE_MTREE(tree);
static int __init maple_fix_init(void)
{
        unsigned long i, j;&lt;/p&gt;
&lt;p&gt;for (i = 10; i &amp;lt; 4000; i++) {
                mt_init_flags(&amp;amp;tree, MT_FLAGS_USE_RCU);&lt;/p&gt;
&lt;p&gt;for (j = 0; j &amp;lt; i; j++) {
                        mtree_insert_range(&amp;amp;tree, j * 10, j * 10 + 9,
                                        xa_mk_value(j), GFP_KERNEL);
                }&lt;/p&gt;
&lt;p&gt;mtree_destroy(&amp;amp;tree);
                rcu_barrier();
        }
        return 0;
}&lt;/p&gt;
&lt;p&gt;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…&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;maple_tree: fix maple_range_64 crashes in RCU mode&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;maple_tree: fix maple_range_64 crashes in RCU mode&amp;#34;, v3.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Below is the minimal reproducer used during debugging:&lt;/p&gt;
&lt;p&gt;static DEFINE_MTREE(tree);
static int __init maple_fix_init(void)
{
        unsigned long i, j;&lt;/p&gt;
&lt;p&gt;for (i = 10; i &amp;lt; 4000; i++) {
                mt_init_flags(&amp;amp;tree, MT_FLAGS_USE_RCU);&lt;/p&gt;
&lt;p&gt;for (j = 0; j &amp;lt; i; j++) {
                        mtree_insert_range(&amp;amp;tree, j * 10, j * 10 + 9,
                                        xa_mk_value(j), GFP_KERNEL);
                }&lt;/p&gt;
&lt;p&gt;mtree_destroy(&amp;amp;tree);
                rcu_barrier();
        }
        return 0;
}&lt;/p&gt;
&lt;p&gt;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…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142895</guid>
    </item>
  </channel>
</rss>
