netfilter: ip6t_rt: reject oversized addrnr in rt_mt6_check()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < d8795fde1f78669a87c87ac29fceab2f104daa8c| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s netfilter ip6t_rt match did not reject rules whose addrnr exceeds IP6T_RT_HOPS. Installing a malformed rule could let the match logic use an out-of-range value when accessing rtinfo->addrs[]. The input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with netfilter ip6t_rt should check their versions; affected versions are not specified.