Advisory · CVE-2026-139281
Linux kernel netfilter flaw lets crafted IPv6 packets slip past the firewall
A Linux kernel flaw in netfilter connection tracking truncates an IPv6 extension header offset, so a crafted two-fragment packet can be recorded as one transport flow while its payload is delivered to another. Crafted IPv6 traffic can slip past firewall rules that rely on connection tracking. Fixed in stable releases 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6.
- Vendor
- Linux
- Product
- Linux kernel
- Identifier / CWE
- CVE-2026-139281
- Action timing
- Immediate
Explain it like I’m five
The kernel's firewall keeps a notebook of which network conversations are allowed, and it files IPv6 packets by reading a small number that says where the next piece of the packet starts. That number is stored in a box too small for it, so for long packets it wraps around and the packet gets filed under the wrong conversation. A packet meant for one destination can be recorded as if it were meant for another, and the firewall waves it through.
- 01Fragmented packet
An attacker sends a crafted IPv6 packet in two fragments with a long extension header chain.
- 02Offset truncated
Connection tracking stores the Next Header offset in a one-byte field, and the value wraps past 255.
- 03Wrong tuple recorded
Reassembly uses the wrapped value, so conntrack records the packet under a different transport tuple than the one used for delivery.
- 04Firewall bypassed
A packet recorded as one flow, for example UDP port 53, is delivered to another, for example UDP port 9999, slipping past rules that rely on connection tracking.
- 05Traffic reaches target
Crafted IPv6 traffic reaches services the firewall rules were meant to shield.
What happened
The Linux kernel’s netfilter connection tracking truncates an IPv6 Next Header offset when reassembling fragmented packets. The offset is stored in a one-byte field, so an extension header chain that puts the field beyond byte 255 wraps the value. Reassembly then uses the wrapped value to update the preceding Next Header field, and connection tracking parses a different transport tuple from the one used by local delivery. A two-fragment packet can, for example, be recorded as UDP destination port 53 while its payload is delivered to UDP port 9999.
The flaw has been present since kernel 2.6.15. The Linux CNA rates it CVSS 3.1 9.1. Fixed stable releases are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 and 7.3.6, with the fix also in 7.4-rc1.
What to do
- Install your distribution’s kernel update carrying the netfilter fix, or move to one of the fixed stable releases.
- Prioritize hosts where firewall rules rely on connection tracking to shield IPv6 services.
- Review firewall and connection tracking logs for fragmented IPv6 traffic with unusual extension header chains.
- Where an update cannot happen immediately, consider dropping fragmented IPv6 traffic that is not needed, if the network allows it.
- Verify the running kernel version on every host after updating.
Management note
This flaw does not crash anything or grant a shell, which is why it is easy to underrate. It quietly misfiles traffic, so the firewall’s picture of what is allowed stops matching reality. On any host where IPv6 firewalling matters, the kernel update is the fix, and there is no configuration workaround in the flaw itself.