All reports
Medium

kernel: netfilter: ip6t_rt: reject oversized addrnr in rt_mt6_check()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-31674

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-22

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: ip6t_rt: reject oversized addrnr in rt_mt6_check() Reject rt match rules whose addrnr exceeds IP6T_RT_HOPS. rt_mt6() expects addrnr to stay within the bounds of rtinfo->addrs[]. Validate addrnr during rule installation so malformed rules are rejected before the match logic can use an out-of-range value.

A flaw was found in the Linux kernel's netfilter subsystem, specifically within the ip6t_rt module. This vulnerability occurs when processing IPv6 routing header (RT) match rules with an oversized address number (addrnr). A local attacker could exploit this by crafting a malicious netfilter rule, leading to an out-of-bounds memory access. This could result in a denial of service, causing the system to crash or become unresponsive.