Critical Linux Flaw Can Bypass IPv6 Firewall Rules
CVE-2026-139281 can make Linux conntrack classify a fragmented IPv6 packet differently from the network stack. Here is what is affected, which fixes are available, and what administrators should do.
A Linux kernel bug can make a stateful firewall misread specially crafted IPv6 traffic. Tracked as CVE-2026-139281, the flaw affects Netfilter connection tracking (conntrack). The Linux kernel CVE record and Red Hat rate it CVSS 9.1.
The issue is in IPv6 fragment reassembly. An extension-header chain can place the “Next Header” field beyond byte 255, but the code stored its offset in an 8-bit value. The offset wrapped, so reassembly could overwrite the wrong byte. Conntrack could then classify a different transport header from the one the IPv6 stack eventually delivered.
The kernel’s example is a packet recorded by conntrack as UDP traffic to port 53 while local delivery sends its payload to UDP port 9999. If a firewall relies on conntrack state, the mismatch can let traffic reach a service that rules were meant to restrict. This is a firewall-policy bypass; the published description does not say the bug itself grants remote code execution.
Who may be affected
Linux systems may be affected when they run a vulnerable kernel and use the affected Netfilter connection-tracking path for IPv6. Distribution status varies by kernel flavor and support channel, so check the vendor tracker for the exact packages installed on each host.
- Debian: Debian’s tracker lists Bookworm’s 6.1.176-1 and 6.1.192-3 security package, and Trixie’s 6.12.117-1 and 6.12.118-1 security package, as vulnerable. It lists Linux 7.3.6-1 as fixed in Forky and Sid.
- Ubuntu: Canonical’s tracker marks some release/package combinations as needing evaluation or not yet in the release. Check the tracker for your exact Ubuntu kernel package; do not infer status from the upstream version list.
- Red Hat: Red Hat rates the issue Critical and publishes fixes through product-specific advisories. Check the advisory for your RHEL release and support stream.
Fixes are available upstream
The upstream fix changes the working offset to an integer type so it is not truncated. The kernel CVE record lists fixed stable versions 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. Distributions may backport the fix to packages with different version numbers. Install the update supplied for your distribution and reboot if required.
Sources: Red Hat advisory, Debian Security Tracker, Ubuntu CVE tracker, and the Linux kernel CVE record.
What to do before your update is ready
- Inventory Linux hosts that accept IPv6 traffic and record the distribution, kernel flavor, and installed package version.
- Check your vendor’s CVE advisory and install its fixed kernel as soon as it is available.
- Reboot into the patched kernel, then verify the running version with
uname -rand confirm the vendor package status. - If IPv6 is not required on a host, follow the distribution vendor’s documented procedure to disable it temporarily. Treat this as temporary risk reduction, not a substitute for patching.
Do not assume a firewall rule alone protects the host: the reported failure is that conntrack can classify a crafted packet differently from the protocol stack. Prioritize externally reachable services that rely on stateful IPv6 filtering, and review the vendor advisory for product-specific mitigations.