CVE-2026-31674

netfilter: ip6t_rt: reject oversized addrnr in rt_mt6_check()

State
Published
Severity
7.1 High
Published
Apr 25, 2026
Updated
Oct 19, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 13e3e30ed3b5b67cc1db2bd58a5d09b0f07debfaAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before af9b7e2b765966457f4ec23be5bd34a141f89574Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 29ea965a1353bc8303877422f79c8211e9ba9c55Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c6a503a9f4debc654e3a6a7ca1f7fce6a9953c59Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ded71f5684df16fa645cca5bf4fe6b0cd8a46119Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d8795fde1f78669a87c87ac29fceab2f104daa8cAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a28ebf6f99de270d6338ccdc3b49f3e818f99b7bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9d3f027327c2fa265f7f85ead41294792c3296edAffected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.168 through 6.1.*Not affected
  • 6.6.131 through 6.6.*Not affected
  • 6.12.80 through 6.12.*Not affected
  • 6.18.21 through 6.18.*Not affected
  • 6.19.11 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.