21-year-old Linux kernel flaw bypasses IPv6 firewall rules (CVE-2026-139281)
Red Hat rates the unauthenticated Netfilter conntrack bug 9.1; its RHEL 8 kernel fix requires a reboot.
IPv6 nexthdr offset truncation in Linux nf_conntrack
In Linux kernel netfilter conntrack, find_prev_fhdr() stores an IPv6 Next Header offset in an 8-bit value. A remote attacker can send a two-fragment IPv6 packet whose extension-header chain places that field past byte 255, wrapping the offset. Reassembly then overwrites another header byte, so conntrack can record a different transport tuple than local delivery uses, such as UDP port 53 versus 9999. Systems using nf_conntrack on IPv6 are affected; affected builds are not listed.
What to do: Apply the Linux kernel update that resolves CVE-2026-139281.
| Product | Affected |
|---|---|
| Linux kernel | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset find_prev_fhdr() returns the offset of the Next Header field before an IPv6 Fragment header through an int pointer, but stores the offset in a u8 local. An extension header chain can put this field beyond byte 255, causing the offset to wrap before it is saved in the fragment queue. Reassembly later uses the wrapped value to update the preceding Next Header field. This overwrites another byte in the IPv6 header chain and can make conntrack parse a different transport tuple from the one used by IPv6 local delivery. A two-fragment packet can, for example, be recorded as UDP destination port 53 while its payload is delivered to UDP port 9999. Use int for the working offset, matching the output argument and the other offset variables in this path.
Red Hat rates the unauthenticated Netfilter conntrack bug 9.1; its RHEL 8 kernel fix requires a reboot.
Red Hat rates it Critical at CVSS 9.1; the RHEL 8 fix is kernel 4.18.0-553.193.1.el8_10 and needs a reboot.
Red Hat scores the conntrack bug 9.1; upstream fixes exist, but several distributions are still preparing updates.
CVE-2026-139281 scores 9.1; Debian stable is still unpatched and no attacks are publicly confirmed.
Today 1.2K readers · 1.7K views · 330 reads · all time 300K views