<?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-11-09T17:54:17.503955+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-98485</id>
    <title>CVE-2026-98485 — netfilter: ip6t_rt: fix zero-address non-strict match out-of-bounds read</title>
    <updated>2026-11-09T17:54:17.506283+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>netfilter: ip6t_rt: fix zero-address non-strict match out-of-bounds read</p>
<p>rt_mt6_check() permits rules to be configured with rtinfo-&gt;addrnr == 0
even when address matching (IP6T_RT_FST_MASK) is requested.</p>
<p>In the IP6T_RT_FST_NSTRICT path, rt_mt6() evaluates packet routing
addresses against rtinfo-&gt;addrs[i] and terminates backwards at the bottom
of the loop:</p>
<p>if (ipv6_addr_equal(ap, &amp;rtinfo-&gt;addrs[i])) {
        i++;
    }
    if (i == rtinfo-&gt;addrnr)
        break;</p>
<p>When addrnr is 0, if the first packet address matches rtinfo-&gt;addrs[0],
i is incremented to 1. Because i is now strictly greater than addrnr (0),
the loop termination condition (i == rtinfo-&gt;addrnr) is bypassed and will
never be satisfied.</p>
<p>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.</p>
<p>Fix this by:
1. Rejecting rules in rt_mt6_check() where IP6T_RT_FST_MASK is set but
   rtinfo-&gt;addrnr is zero.
2. In rt_mt6(), moving the termination condition (i &lt; rtinfo-&gt;addrnr)
   into the for-loop header condition and removing the backwards break
   at the end of the loop body.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-98485"/>
  </entry>
</feed>
