← All articles

Linux Kernel Flaw Can Misroute IPv6 Traffic Past Firewalls

Linux Kernel Flaw Can Misroute IPv6 Traffic Past Firewalls

A critical Linux kernel flaw can let remote attackers send specially crafted IPv6 traffic past stateful firewall rules and reach services those rules were intended to block. The vulnerability is tracked as CVE-2026-139281 and has a Red Hat severity rating of 9.1 out of 10. It needs no login credentials and no action from a user, but it affects systems only when fragmented IPv6 traffic reaches a vulnerable kernel.

The issue affects Netfilter, the packet-filtering framework built into the Linux kernel. Its connection-tracking component, known as conntrack, records network connections so that stateful firewall rules written with iptables or nftables can decide whether traffic belongs to an allowed connection. A stateful firewall is one that makes filtering decisions using the recorded status of a connection, rather than examining each packet in isolation.

The vulnerable code reassembles fragmented IPv6 packets in net/ipv6/netfilter/nf_conntrack_reasm.c. IPv6 packets can be split into fragments before they travel across a network and reassembled at their destination. The code stores the position of a header field in a variable that can hold values only up to 255. A long sequence of IPv6 extension headers, which carry additional packet information, can push that position beyond the limit. The value then wraps around, causing the wrong byte of the packet to be overwritten during reassembly.

That corruption can make conntrack record a destination different from the one the kernel ultimately uses to deliver the packet. In the example included with the fix, a packet split into two fragments is recorded as traffic for UDP port 53, the port commonly used for the Domain Name System (DNS), while the payload is delivered to UDP port 9999. Firewall rules relying on conntrack's record could therefore allow traffic that they were supposed to block.

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

The first fixed releases listed in the CVE's affected ranges are 5.10.275 for the 5.10 branch, 5.15.226 for 5.15, 6.1.193 for 6.1, 6.6.163 for 6.6, 6.12.119 for 6.12, 6.18.65 for 6.18, 7.3.6 for 7.3, and 7.4-rc1 for mainline Linux. Kernel updates for maintained stable branches began shipping last week.

Distribution availability is uneven. Debian lists its stable bookworm and trixie releases as vulnerable, including kernels provided through its security channels. Debian's development branches already contain the fix in 7.3.6. Ubuntu marks standard kernel packages across its supported releases as needing evaluation and gives the vulnerability Medium priority. No Ubuntu fix status is stated yet. A kernel erratum for Red Hat Enterprise Linux 8 shipped today, and AlmaLinux published the matching update.

Red Hat recommends disabling IPv6 on systems that do not need it while an update is pending. Debian and Ubuntu do not list a workaround. The risk is greatest when a machine's own firewall rules are the only barrier protecting a sensitive service from the public internet. No attacks exploiting CVE-2026-139281 have been confirmed in public sources as of publication.

The technical details became public on August 22, when 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 was made public. The patch also includes the trailer "Assisted-by: Codex:gpt-5", but neither the patch nor the upstream commit explains whether that assistance involved finding the bug, writing the fix or checking it.

Organizations that need help reviewing their Linux infrastructure can consider AEU-I, which provides security-first IT, infrastructure and consulting. Administrators should still confirm the exact kernel and distribution status for every exposed system, because a fix being available in one branch does not mean it is already packaged for every release.

Also available in: DeutschItalianoShqip