# CVE-2026-98485: netfilter: ip6t\_rt: fix zero-address non-strict match out-of-bounds read

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-10-18T15:16:00.435Z
- **Modified:** 2026-10-24T14:16:43.780Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 959d1829d1ce8b91b435b24a923b51bcc8897090; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fe336bab13834394320997de8b16ca4a913b4f13; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5a54f8b7f7fe207a5c14713015a5820588faf1ad; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b89249819a7d6698bed152feafd3bc6c08489d15; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dd55c0ea87bf70e4e4b3b683acd29ef981335b26; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 191239b0939692e92459d8d32cad14247fa93f89; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d9cf4ac6f326330e1fe4d95671d36a6ff3593f64; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 82313c169eddc02b1bf5ba6b427803e272d3ec42
- Anyone running Linux 2.6.12

## Description

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.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 959d1829d1ce8b91b435b24a923b51bcc8897090; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fe336bab13834394320997de8b16ca4a913b4f13; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5a54f8b7f7fe207a5c14713015a5820588faf1ad; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b89249819a7d6698bed152feafd3bc6c08489d15; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dd55c0ea87bf70e4e4b3b683acd29ef981335b26; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 191239b0939692e92459d8d32cad14247fa93f89; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d9cf4ac6f326330e1fe4d95671d36a6ff3593f64; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 82313c169eddc02b1bf5ba6b427803e272d3ec42 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 82313c169eddc02b1bf5ba6b427803e272d3ec42 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98485. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98485.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 959d1829d1ce8b91b435b24a923b51bcc8897090; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fe336bab13834394320997de8b16ca4a913b4f13; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5a54f8b7f7fe207a5c14713015a5820588faf1ad; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 959d1829d1ce8b91b435b24a923b51bcc8897090, Linux 5a54f8b7f7fe207a5c14713015a5820588faf1ad, Linux 191239b0939692e92459d8d32cad14247fa93f89, Linux 82313c169eddc02b1bf5ba6b427803e272d3ec42

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98485 being exploited?

There is no confirmed exploitation: CVE-2026-98485 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98485?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98485?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 959d1829d1ce8b91b435b24a923b51bcc8897090; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fe336bab13834394320997de8b16ca4a913b4f13; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5a54f8b7f7fe207a5c14713015a5820588faf1ad; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b89249819a7d6698bed152feafd3bc6c08489d15; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dd55c0ea87bf70e4e4b3b683acd29ef981335b26; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 191239b0939692e92459d8d32cad14247fa93f89; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d9cf4ac6f326330e1fe4d95671d36a6ff3593f64; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 82313c169eddc02b1bf5ba6b427803e272d3ec42; Linux 2.6.12.

### Is there a fix for CVE-2026-98485?

Yes. Fixed in Linux 959d1829d1ce8b91b435b24a923b51bcc8897090, Linux 5a54f8b7f7fe207a5c14713015a5820588faf1ad, Linux 191239b0939692e92459d8d32cad14247fa93f89, Linux 82313c169eddc02b1bf5ba6b427803e272d3ec42. Upgrade Linux to 82313c169eddc02b1bf5ba6b427803e272d3ec42 or later.

### How do I check if I'm affected by CVE-2026-98485?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/959d1829d1ce8b91b435b24a923b51bcc8897090>
- other: <https://git.kernel.org/stable/c/fe336bab13834394320997de8b16ca4a913b4f13>
- other: <https://git.kernel.org/stable/c/5a54f8b7f7fe207a5c14713015a5820588faf1ad>
- other: <https://git.kernel.org/stable/c/b89249819a7d6698bed152feafd3bc6c08489d15>
- other: <https://git.kernel.org/stable/c/dd55c0ea87bf70e4e4b3b683acd29ef981335b26>
- other: <https://git.kernel.org/stable/c/191239b0939692e92459d8d32cad14247fa93f89>
- other: <https://git.kernel.org/stable/c/d9cf4ac6f326330e1fe4d95671d36a6ff3593f64>
- other: <https://git.kernel.org/stable/c/82313c169eddc02b1bf5ba6b427803e272d3ec42>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98485>

HTML: <https://flawdb.com/CVE-2026-98485> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98485>
