CVE 9.1 CRITICAL

netfilter: nft_inner: Fix IPv6 inner_thoff desync_CVE-2026-46244

9.1 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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.

Basic Information

ID CVE-2026-46244
Source Linux
Published Jun 3, 2026 at 15:48
Modified Jun 5, 2026 at 06:06

Affected Product

Vendor Linux
Product Linux
Version 3a07327d10a09379315c844c63f27941f5081e0a
Affected Versions Linux Linux 3a07327d10a09379315c844c63f27941f5081e0a
Linux Linux 3a07327d10a09379315c844c63f27941f5081e0a
Linux Linux 3a07327d10a09379315c844c63f27941f5081e0a
Linux Linux 3a07327d10a09379315c844c63f27941f5081e0a
Linux Linux 3a07327d10a09379315c844c63f27941f5081e0a
Linux Linux 6.2

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.