CVE-2026-46244

netfilter: nft_inner: Fix IPv6 inner_thoff desync

State
Published
Severity
9.1 Critical
Published
Jun 3, 2026
Updated
Oct 19, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nft_inner: Fix IPv6 inner_thoff desync

In nft_inner_parse_l2l3(), when processing inner IPv6 packets, ipv6_find_hdr() correctly computes the transport header offset traversing all extension headers, but the result is immediately overwritten with nhoff + sizeof(_ip6h) (40 bytes), which only accounts for the IPv6 base header. This creates a desync between inner_thoff (wrong — points to extension header start) and l4proto (correct — e.g., IPPROTO_TCP), enabling transport header forgery and potential firewall bypass. This issue affects stable versions from Linux 6.2.

For comparison, the normal (non-inner) IPv6 path correctly preserves ipv6_find_hdr()'s result. Removing the incorrect overwrite ensures that ipv6_find_hdr()'s calculated transport header offset is preserved, thereby fixing the desynchronization.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NLinux
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:Hredhat-SADP

Weaknesses

  • CWE-823 Use of Out-of-range Pointer Offset
  • CWE-682 Incorrect Calculation

Affected Products

ProductVersions
LinuxLinux
  • 3a07327d10a09379315c844c63f27941f5081e0a to before c161ad9157f5a0429b5ff94d9770faf3bf48d273Affected
  • 3a07327d10a09379315c844c63f27941f5081e0a to before 870d59e2cf218e7418491e26bad768cb16654582Affected
  • 3a07327d10a09379315c844c63f27941f5081e0a to before 689bbf48c1f45130086ae1c46ab83ea4c753c601Affected
  • 3a07327d10a09379315c844c63f27941f5081e0a to before d0f98a3617f6ae5b1e95cde1e68e7ead4a1279ceAffected
  • 3a07327d10a09379315c844c63f27941f5081e0a to before b6a91f68ebfed9c38e0e9150f58a9b85da07181cAffected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 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.