{"id":40957,"date":"2026-10-19T00:31:40","date_gmt":"2026-10-18T16:31:40","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98485"},"modified":"2026-10-19T00:31:40","modified_gmt":"2026-10-18T16:31:40","slug":"cve-2026-98485","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98485","title":{"rendered":"CVE-2026-98485 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ip6t_rt: f"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>netfilter: ip6t_rt: fix zero-address non-strict match out-of-bounds read<\/p>\n<p>rt_mt6_check() permits rules to be configured with rtinfo-&gt;addrnr == 0<br \/>\neven when address matching (IP6T_RT_FST_MASK) is requested.<\/p>\n<p>In the IP6T_RT_FST_NSTRICT path, rt_mt6() evaluates packet routing<br \/>\naddresses against rtinfo-&gt;addrs[i] and terminates backwards at the bottom<br \/>\nof the loop:<\/p>\n<p>    if (ipv6_addr_equal(ap, &amp;rtinfo-&gt;addrs[i])) {<br \/>\n        i++;<br \/>\n    }<br \/>\n    if (i == rtinfo-&gt;addrnr)<br \/>\n        break;<\/p>\n<p>When addrnr is 0, if the first packet address matches rtinfo-&gt;addrs[0],<br \/>\ni is incremented to 1. Because i is now strictly greater than addrnr (0),<br \/>\nthe loop termination condition (i == rtinfo-&gt;addrnr) is bypassed and will<br \/>\nnever be satisfied.<\/p>\n<p>If a crafted IPv6 packet contains matching routing addresses, i will<br \/>\nadvance past IP6T_RT_HOPS (16). The subsequent call to ipv6_addr_equal()<br \/>\nreads beyond struct ip6t_rt, triggering UBSAN\/KASAN out-of-bounds warnings<br \/>\nor kernel panics.<\/p>\n<p>Fix this by:<br \/>\n1. Rejecting rules in rt_mt6_check() where IP6T_RT_FST_MASK is set but<br \/>\n   rtinfo-&gt;addrnr is zero.<br \/>\n2. In rt_mt6(), moving the termination condition (i addrnr)<br \/>\n   into the for-loop header condition and removing the backwards break<br \/>\n   at the end of the loop body.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>netfilter: ip6t_rt: fix zero-address non-strict match out-of-bounds read<\/p>\n<p>rt_mt6_check() permits rules to be configured with rtinfo<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-40957","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/40957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}