Linux IPv6 firewall-bypass fixes arrive, but distro coverage varies
CVE-2026-139281 lets crafted IPv6 fragments bypass Linux conntrack firewall rules. Fixed kernels, distro status and the Red Hat mitigation.
A Linux kernel connection-tracking flaw can let crafted IPv6 fragments bypass stateful firewall rules, and upstream fixes do not yet mean every distribution is patched. BleepingComputer reported on December 3 that CVE-2026-139281 dates to Linux 2.6.15, released in January 2006. Red Hat rates it Critical with a CVSS 3.1 score of 9.1. Debian's stable releases remain listed as vulnerable, while Ubuntu is still evaluating affected releases.
The practical consequence is for hosts whose protection rests on conntrack-based rules in iptables or nftables, such as perimeter Linux firewalls, container hosts and appliances that filter IPv6. If you run any of those, find out whether your vendor kernel carries the fix, and weigh disabling IPv6 where you do not use it. No in-the-wild exploitation has been publicly confirmed in the sources we reviewed, and we did not check the CISA KEV catalog directly, so treat KEV status as unconfirmed.
What the bug is
The patch posted to the netdev list on August 22 by Jérémy Jean, who works at France's ANSSI, describes the cause. In net/ipv6/netfilter/nf_conntrack_reasm.c, find_prev_fhdr() returns the offset of the Next Header field that precedes an IPv6 Fragment header through an int pointer, but keeps its working value in a u8. A long chain of extension headers can place that field beyond byte 255, so the offset wraps before it is saved in the fragment queue.
Reassembly later uses the wrapped value to update the preceding Next Header field, overwriting a different byte in the header chain. Conntrack can then parse a different transport tuple from the one the kernel uses for local delivery. The patch's own example is a two-fragment packet recorded as UDP destination port 53 while its payload reaches UDP port 9999. Firewall rules that rely on the incorrectly recorded conntrack tuple can therefore be evaluated against the wrong port; the sources do not establish that every rule filtering those ports is bypassed. The fix changes the local variable from u8 to int. Red Hat classifies it as CWE-681, incorrect conversion between numeric types.
The CVSS vector is network, low complexity, no privileges, no user interaction, with high confidentiality and integrity impact and no availability impact. Reaching the code requires fragmented IPv6 traffic arriving at a vulnerable kernel that uses conntrack reassembly. Hosts with IPv6 disabled, or with no IPv6 path from an attacker, are not exposed through this route.
Fixed kernels versus distro status
BleepingComputer lists the fixed upstream versions as 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1. The Debian tracker identifies 48d522b6 as the mainline fix in 7.4-rc1. SSBCrack also reports distribution update status, summarized below.
The distribution picture as of December 4, 2026:
- Debian: the tracker marks bookworm (6.1.192-3 in security) and trixie (6.12.118-1 in security) vulnerable. The development branch, forky, is fixed in 7.3.6-1 and unstable, sid, in 7.3.7-1. Both vulnerable stable kernels sit one release below the upstream fixed versions.
- Red Hat: rated Critical. SSBCrack reports a kernel update for RHEL 8 on December 3 and a matching AlmaLinux update; we have not confirmed errata numbers or status for RHEL 9 and 10.
- Ubuntu: per BleepingComputer, Canonical rates it Medium with a CVSS of 6.9 and is still evaluating which releases are affected. Check the Ubuntu CVE page.
BleepingComputer reports that Canonical assesses confidentiality impact as none and integrity impact as limited, while Red Hat scores both high. The captured guidance does not explain the specific reason for that difference. For prioritization, identify which restricted services an IPv6 firewall bypass could expose on your systems.
Because enterprise distributions backport fixes, the running kernel's version string need not match the upstream numbers above. Red Hat notes that scanners comparing only package versions can misreport. Verify the package against your vendor's advisory or changelog, then reboot into the fixed kernel and check uname -r. Installing a kernel package alone does not replace the running kernel. For appliances and embedded systems with vendor-managed kernels, check the vendor's firmware advisory rather than relying on the upstream version list.
Mitigation
Red Hat's only listed workaround is disabling IPv6, with its instructions here. It warns this removes all IPv6 connectivity and should be applied only where IPv6 is not needed. Debian and Ubuntu list no workaround, per SSBCrack. Where IPv6 is needed, the captured vendor guidance offers no other workaround, so the remedy is an updated kernel. We have not found a source validating any other interim filtering measure.
Origin of the fix
The patch carries the tag Assisted-by: Codex:gpt-5. Neither the patch nor the sources say whether the AI tool found the bug, wrote the fix or reviewed it. The details were public on a kernel mailing list from August 22, and the CVE record only appeared this week, so anyone reading the list had the mechanism for more than three months.
Comments ()