VDB

CVE-2026-98485

CVE-2026-98485 PUBLISHED CVSS 7.1 HIGH

netfilter: ip6t_rt: fix zero-address non-strict match out-of-bounds read

Reported by linux · Published October 18, 2026

In the Linux kernel, the following vulnerability has been resolved: netfilter: ip6t_rt: fix zero-address non-strict match out-of-bounds read rt_mt6_check() permits rules to be configured with rtinfo->addrnr == 0 even when address matching (IP6T_RT_FST_MASK) is requested. In the IP6T_RT_FST_NSTRICT path, rt_mt6() evaluates packet routing addresses against rtinfo->addrs[i] and terminates backwards at the bottom of the loop: if (ipv6_addr_equal(ap, &rtinfo->addrs[i])) { i++; } if (i == rtinfo->addrnr) break; When addrnr is 0, if the first packet address matches rtinfo->addrs[0], i is incremented to 1. Because i is now strictly greater than addrnr (0), the loop termination condition (i == rtinfo->addrnr) is bypassed and will never be satisfied. 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. Fix this by: 1. Rejecting rules in rt_mt6_check() where IP6T_RT_FST_MASK is set but rtinfo->addrnr is zero. 2. In rt_mt6(), moving the termination condition (i < rtinfo->addrnr) into the for-loop header condition and removing the backwards break at the end of the loop body.

EPSS 0.17% · 6.8th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extraAmazon Linux1:6.18.56-125.164.amzn2023
perfAmazon Linux1:6.1.189-236.399.amzn2023
kernel-tools-develAmazon Linux1:6.1.189-236.399.amzn2023
kernel-headersAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.113-138.209.amzn2023
kernel-toolsAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.12-develAmazon Linux1:6.12.113-138.209.amzn2023
kernel-develAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.12-headersAmazon Linux1:6.12.113-138.209.amzn2023
bpftool6.18Amazon Linux1:6.18.56-125.164.amzn2023

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS Score
0.17%
6.8th percentile

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.10.271
amazon:2023kernel6.18-modules-extra0
amazon:2023perf0
amazon:2023kernel-tools-devel0
amazon:2023kernel-headers0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-tools0
amazon:2023kernel-tools0
amazon:2023kernel6.12-devel0
amazon:2023kernel-devel0
amazon:2023kernel6.12-headers0
amazon:2023bpftool6.180
amazon:2023perf6.120
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023kernel6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel-livepatch-6.18.56-125.1640

…and 20 more

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (6 in total, the first dated here)
  • Oct 24, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98485
vulnetix vdb fixes CVE-2026-98485

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98485/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›