<?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:28:50 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142869 — assoc_array: don't lose objects when a shortcut is split on a word boundary</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142869</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;assoc_array: don&amp;#39;t lose objects when a shortcut is split on a word boundary&lt;/p&gt;
&lt;p&gt;When assoc_array_insert_mid_shortcut() splits a shortcut at level diff,
the new shortcut in front of the split, new_s0, gets the first
round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE) bits of the old shortcut&amp;#39;s
index key, and the bits from diff onwards are then cleared from its
last word:&lt;/p&gt;
&lt;p&gt;blank = ULONG_MAX &amp;lt;&amp;lt; (diff &amp;amp; ASSOC_ARRAY_KEY_CHUNK_MASK);
	new_s0-&amp;gt;index_key[keylen - 1] &amp;amp;= ~blank;&lt;/p&gt;
&lt;p&gt;When diff is a multiple of ASSOC_ARRAY_KEY_CHUNK_SIZE, the shift is 0,
blank is all ones, and the whole last word is cleared, although all of
it lies below diff.  A walk then compares the key it is looking for
against that zeroed word, takes the shortcut to point elsewhere, and
every object below it can no longer be found.&lt;/p&gt;
&lt;p&gt;assoc_array_insert_into_terminal_node() trims a new shortcut&amp;#39;s key the
same way, and only when the level is not a multiple of the chunk size.
Do the same here.&lt;/p&gt;
&lt;p&gt;Found by a userspace build of the array with a test that inserts, in
order, string keys whose first word is their length and the rest their
bytes.  The 102nd key split a shortcut at bit 256, and 76 of the keys
already in the array could no longer be found; AddressSanitizer also
reported assoc_array_walk() reading a word past the end of a shortcut&amp;#39;s
index key.  With this change the test passes, and AddressSanitizer and
UndefinedBehaviorSanitizer report nothing.&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;assoc_array: don&amp;#39;t lose objects when a shortcut is split on a word boundary&lt;/p&gt;
&lt;p&gt;When assoc_array_insert_mid_shortcut() splits a shortcut at level diff,
the new shortcut in front of the split, new_s0, gets the first
round_up(diff, ASSOC_ARRAY_KEY_CHUNK_SIZE) bits of the old shortcut&amp;#39;s
index key, and the bits from diff onwards are then cleared from its
last word:&lt;/p&gt;
&lt;p&gt;blank = ULONG_MAX &amp;lt;&amp;lt; (diff &amp;amp; ASSOC_ARRAY_KEY_CHUNK_MASK);
	new_s0-&amp;gt;index_key[keylen - 1] &amp;amp;= ~blank;&lt;/p&gt;
&lt;p&gt;When diff is a multiple of ASSOC_ARRAY_KEY_CHUNK_SIZE, the shift is 0,
blank is all ones, and the whole last word is cleared, although all of
it lies below diff.  A walk then compares the key it is looking for
against that zeroed word, takes the shortcut to point elsewhere, and
every object below it can no longer be found.&lt;/p&gt;
&lt;p&gt;assoc_array_insert_into_terminal_node() trims a new shortcut&amp;#39;s key the
same way, and only when the level is not a multiple of the chunk size.
Do the same here.&lt;/p&gt;
&lt;p&gt;Found by a userspace build of the array with a test that inserts, in
order, string keys whose first word is their length and the rest their
bytes.  The 102nd key split a shortcut at bit 256, and 76 of the keys
already in the array could no longer be found; AddressSanitizer also
reported assoc_array_walk() reading a word past the end of a shortcut&amp;#39;s
index key.  With this change the test passes, and AddressSanitizer and
UndefinedBehaviorSanitizer report nothing.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142869</guid>
    </item>
  </channel>
</rss>
