Breaking
SecurityConfirmed

A 21-Year-Old Kernel Bug in Conntrack

A critical Linux Netfilter flaw lets crafted IPv6 fragments slip past stateful firewalls, and Debian's stable kernels are still unpatched.

··1 day ago·4 min read
blue UTP cord
Photo by Jordan Harrison on Unsplash

A stateful firewall is only as trustworthy as the connection record it consults. When that record and the packet the kernel actually delivers disagree, the rule check becomes a formality — traffic passes because the kernel believes it is something else. A critical Linux kernel flaw does exactly that, and it has been sitting in the Netfilter connection tracking subsystem for close to 21 years.

The vulnerability is tracked as CVE-2026-139281. Red Hat rates it 9.1 out of 10, and exploiting it requires no credentials and no user interaction. It applies only where fragmented IPv6 traffic reaches a vulnerable kernel.

Where the bug actually sits

Netfilter is the in-kernel packet-filtering framework; conntrack is the component that records connections so that stateful iptables or nftables rules can act on them. The defect is in the piece of that machinery that reassembles fragmented IPv6 packets, in net/ipv6/netfilter/nf_conntrack_reasm.c.

The code stores the position of one header field in a variable capped at 255. A sufficiently long chain of IPv6 extension headers pushes that field past the limit. The stored position wraps around, and during reassembly the wrong byte of the packet gets overwritten.

The practical effect is a split between what conntrack logs and where the packet goes. In the example used in the fix, a two-fragment packet is recorded as traffic to UDP port 53, the DNS port, while its payload is delivered to UDP port 9999. A filtering rule that trusts the record will permit traffic it was written to stop.

Two decades of unpatched code

The flaw has existed since the conntrack subsystem was introduced in kernel version 2.6.15 in January 2006, which makes the vulnerable code almost 21 years old. The upstream fix is a single line. It reached mainline Linux in 7.4-rc1 on November 1, and Red Hat's security advisory classifies the flaw as Critical.

Patches began shipping for the maintained stable branches last week. The upstream fix is public, and the affected ranges record the first patched release in each branch:

  • 5.10: 5.10.275
  • 5.15: 5.15.226
  • 6.1: 6.1.193
  • 6.6: 6.6.163
  • 6.12: 6.12.119
  • 6.18: 6.18.65
  • 7.3: 7.3.6
  • Mainline: 7.4-rc1

Debian and Ubuntu lag behind

Debian lists its stable releases, bookworm and trixie, as vulnerable, including the kernels in its security channels, according to its package status. Debian's development branches already carry the fixed 7.3.6.

Ubuntu marks its standard kernel packages across supported releases as still needing evaluation and assigns the flaw Medium priority in its evaluation status.

On the enterprise side, a kernel erratum for Red Hat Enterprise Linux 8 shipped today, and AlmaLinux published the matching update.

No attacks using the flaw have been confirmed in public sources as of publication.

The workaround, where there is one

For systems that cannot update immediately, Red Hat suggests disabling IPv6 where it is not needed. Neither Debian nor Ubuntu lists a workaround. That leaves hosts whose own firewall rules are the sole barrier between a sensitive service and the outside world as the most exposed, since the bug undermines precisely the check those rules depend on.

The patch itself carries an unusual trailer: "Assisted-by: Codex:gpt-5". Neither the patch nor the upstream commit states what the assistance consisted of — whether it was finding the bug, writing the fix, or reviewing it.

Public for months, identified only now

The technical details have been public since August 22, when Jérémy Jean, the researcher who wrote the fix, posted it to the Linux kernel mailing list. The patch was merged upstream on October 19, and the CVE record followed this week, more than three months after the code change went public.

The gap is worth understanding on its own terms. Anyone tracking the mailing list had the technical material months before an identifier existed to put in a scan report, an advisory, or a ticket. Distribution trackers work off identifiers, and the identifier arrived late.

Why it matters

For most administrators the practical question is narrower than the 9.1 score suggests: is this kernel reachable over IPv6 with fragmented traffic, and are conntrack-based rules the thing standing between it and the network? Hosts that answer yes to both should treat the patch as urgent rather than routine.

The distribution picture complicates that. With Debian stable and Ubuntu still without patched kernels or documented workarounds, some operators may face a window where their only options are disabling IPv6 or accepting the exposure. The flaw's age suggests that code which has survived two decades of review and refactoring can still carry a small arithmetic mistake — and that conntrack's record deserves the same scrutiny as the rules written against it.

#linux kernel#ipv6#netfilter#firewall bypass#cve-2026-139281

Sources

Iliyas

Founder & Editor, Xploitwire

This article was written and reviewed against the sources listed above before publication, under editorial policies set by Iliyas. Read our Editorial Policy →

← Back to all stories