Back to Newsroom

Threat intel5 min read

Linux kernel flaw lets IPv6 packets bypass host firewalls

A bug in netfilter's IPv6 connection tracking, present since kernel 2.6.15, lets a remote sender get packets past stateful firewall rules. Fixed kernels are out; Debian and Ubuntu stable kernels are still waiting.

4Tify Team

Linux kernel flaw lets IPv6 packets bypass host firewalls

A flaw in the Linux kernel's IPv6 connection tracking lets a remote sender get packets through host firewall rules that should block them. It is tracked as CVE-2026-139281 and scored 9.1 out of 10. The vulnerable code has been in the kernel since version 2.6.15, released in January 2006. Fixed stable kernels are available and Red Hat shipped a patched RHEL 8 kernel on December 3. Debian and Ubuntu have not released fixes for their stable kernels yet.

What happened

Netfilter's connection tracking (conntrack) puts fragmented IPv6 packets back together before the firewall rules see them. During reassembly it records where the "Next Header" field sits in the packet's chain of IPv6 extension headers. The kernel kept that position in an 8-bit variable, which holds values up to 255. A packet with a long enough chain of extension headers pushes the field past byte 255. The number wraps around and reassembly writes to the wrong byte.

After that, conntrack and the IPv6 stack read the same packet differently. The CVE record gives an example: a packet sent in two fragments is recorded as UDP traffic to port 53, the DNS port, while its payload is delivered to UDP port 9999. A ruleset that allows DNS and drops everything else lets that packet in, and a service the firewall was meant to hide receives it.

The attacker needs no account and no user action, only IPv6 packets that reach the host. The flaw does not crash the machine. Its effect is a wrong verdict from the host's own firewall, which is why it is rated high for confidentiality and integrity and not for availability. The fix widens the offset variable to a normal integer.

Who is affected

Linux kernels from 2.6.15 up to the fixed releases below, on hosts with IPv6 enabled where stateful netfilter rules (iptables or nftables) filter IPv6 traffic. IPv6 defragmentation is active whenever such rules are loaded, so most hosts that filter IPv6 statefully are in scope.

Kernel branchFirst fixed release
5.105.10.275
5.155.15.226
6.16.1.193
6.66.6.163
6.126.12.119
6.186.18.65
7.37.3.6
Mainline7.4-rc1

Distribution status on December 4, 2026:

  • Red Hat rates the flaw Critical. Advisory RHSA-2026:107608, issued December 3, updates RHEL 8 (including 8.10 Extended Life Cycle) to kernel-4.18.0-553.193.1.el8_10. For other RHEL releases, check Red Hat's CVE page.
  • Debian's security tracker lists bookworm and trixie as vulnerable, including the kernels in their security repositories. Forky and sid are fixed in 7.3.6-1.
  • Ubuntu rates it Medium and lists no fixed kernel for its supported releases yet.

The flaw is not in CISA's Known Exploited Vulnerabilities catalog and no exploitation has been confirmed. The technical details have been public since August, when the patch was posted to the kernel mailing list, so proof-of-concept code may follow.

What to do now

  1. Find the hosts that filter IPv6 statefully. ip6tables -S or nft list ruleset will show conntrack rules (ct state, -m state or -m conntrack), and lsmod | grep nf_defrag_ipv6 shows whether IPv6 defragmentation is loaded.
  2. Compare uname -r with the table above, or with your distribution's fixed package. On RHEL 8, install the update from RHSA-2026:107608 and reboot: the new kernel only takes effect after a restart.
  3. On Debian and Ubuntu stable, watch the security trackers and patch as soon as a fixed kernel lands.
  4. Until then, on hosts that don't use IPv6, Red Hat suggests disabling it. This cuts all IPv6 connectivity, so test it first.
  5. Where a host firewall is the only barrier between a sensitive service and the internet, add another layer: bind the service only to the interface it needs, or filter IPv6 upstream.

Our vulnerability scanning service checks the kernel versions on your hosts against fixes like these and lists the machines still running a vulnerable build, so you know where to patch first.

NEWSLETTER

The week’s news,
every Friday.

A short email with what we published that week. You can unsubscribe from any of them.

FRIDAY DIGEST · SAMPLE4TIFY NEWSROOM

This week in security

  • 01Fake UNO game installer hides a Java RAT that steals passwords
  • 02Woolworths says attackers accessed a database of 14 million customer records
  • 03AWS decoy caught a suspected AI agent taking 94 actions in 12.7 minutes

+ 6 MORE IN THIS ISSUE · UNSUBSCRIBE IN ONE CLICK

ONE OFFER

More than one product?
Get one offer.

Tell us what you need to protect and your budget, monthly or yearly. We combine the products into one offer and one contract, sized to that budget, and we stay with you after it is signed.

Ask for an offer Just tell us how many assets you have and what you want to spend.