<?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>Mon, 09 Nov 2026 17:54:17 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98485 — netfilter: ip6t_rt: fix zero-address non-strict match out-of-bounds read</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98485</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;netfilter: ip6t_rt: fix zero-address non-strict match out-of-bounds read&lt;/p&gt;
&lt;p&gt;rt_mt6_check() permits rules to be configured with rtinfo-&amp;gt;addrnr == 0
even when address matching (IP6T_RT_FST_MASK) is requested.&lt;/p&gt;
&lt;p&gt;In the IP6T_RT_FST_NSTRICT path, rt_mt6() evaluates packet routing
addresses against rtinfo-&amp;gt;addrs[i] and terminates backwards at the bottom
of the loop:&lt;/p&gt;
&lt;p&gt;if (ipv6_addr_equal(ap, &amp;amp;rtinfo-&amp;gt;addrs[i])) {
        i++;
    }
    if (i == rtinfo-&amp;gt;addrnr)
        break;&lt;/p&gt;
&lt;p&gt;When addrnr is 0, if the first packet address matches rtinfo-&amp;gt;addrs[0],
i is incremented to 1. Because i is now strictly greater than addrnr (0),
the loop termination condition (i == rtinfo-&amp;gt;addrnr) is bypassed and will
never be satisfied.&lt;/p&gt;
&lt;p&gt;If a crafted IPv6 packet contains matching routing addresses, i will
advance past IP6T_RT_HOPS (16). The subsequent call to ipv6_addr_equal()
reads beyond struct ip6t_rt, triggering UBSAN/KASAN out-of-bounds warnings
or kernel panics.&lt;/p&gt;
&lt;p&gt;Fix this by:
1. Rejecting rules in rt_mt6_check() where IP6T_RT_FST_MASK is set but
   rtinfo-&amp;gt;addrnr is zero.
2. In rt_mt6(), moving the termination condition (i &amp;lt; rtinfo-&amp;gt;addrnr)
   into the for-loop header condition and removing the backwards break
   at the end of the loop body.&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;netfilter: ip6t_rt: fix zero-address non-strict match out-of-bounds read&lt;/p&gt;
&lt;p&gt;rt_mt6_check() permits rules to be configured with rtinfo-&amp;gt;addrnr == 0
even when address matching (IP6T_RT_FST_MASK) is requested.&lt;/p&gt;
&lt;p&gt;In the IP6T_RT_FST_NSTRICT path, rt_mt6() evaluates packet routing
addresses against rtinfo-&amp;gt;addrs[i] and terminates backwards at the bottom
of the loop:&lt;/p&gt;
&lt;p&gt;if (ipv6_addr_equal(ap, &amp;amp;rtinfo-&amp;gt;addrs[i])) {
        i++;
    }
    if (i == rtinfo-&amp;gt;addrnr)
        break;&lt;/p&gt;
&lt;p&gt;When addrnr is 0, if the first packet address matches rtinfo-&amp;gt;addrs[0],
i is incremented to 1. Because i is now strictly greater than addrnr (0),
the loop termination condition (i == rtinfo-&amp;gt;addrnr) is bypassed and will
never be satisfied.&lt;/p&gt;
&lt;p&gt;If a crafted IPv6 packet contains matching routing addresses, i will
advance past IP6T_RT_HOPS (16). The subsequent call to ipv6_addr_equal()
reads beyond struct ip6t_rt, triggering UBSAN/KASAN out-of-bounds warnings
or kernel panics.&lt;/p&gt;
&lt;p&gt;Fix this by:
1. Rejecting rules in rt_mt6_check() where IP6T_RT_FST_MASK is set but
   rtinfo-&amp;gt;addrnr is zero.
2. In rt_mt6(), moving the termination condition (i &amp;lt; rtinfo-&amp;gt;addrnr)
   into the for-loop header condition and removing the backwards break
   at the end of the loop body.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98485</guid>
    </item>
  </channel>
</rss>
