Vulnerability In Linux Kernel That Allows You To Bypass Packet Filter Rules For IPv6

A vulnerability has been identified in the Linux kernel (CVE-2026-139281), which allows when using the IPv6 protocol access network services, access to which is blocked at the nftables or iptables packet filter level. The issue has been rated with a severity level of 9.1 out of 10 (CVSS). By sending specially crafted fragments of an IPv6 packet with a long chain of additional headers, an attacker can achieve truncation of an integer when calculating the internal offset in the nf_conntrack module of the NetFilter subsystem.

The overflow occurs because the find_prev_fhdr() function returns the offset of the “Next Header” field using type int, but in the code this value is stored in a local variable with type u8 (maximum value 255). If the original value exceeds 255, then a truncation of type u8 occurs, for example, instead of an offset of 260, the value of 4 was stored in the offset field. When reassembling fragments into a single packet, the truncated value is used to update the “Next Header” field of the previous header, which leads to overwriting of other data in the IPv6 header.

By exploiting the vulnerability, controlled data corruption in the packet header and incorrect classification of traffic can be achieved a mechanism for tracking the state of network connections (conntrack). As a result, the packet will initially be processed as sent to a permitted network port, for example, UDP port 53, used for DNS, but after processing in conntrack, the request will be delivered by the kernel network stack to another UDP port, closed for direct access by the packet filter.

The problem has been appearing since the Linux kernel 2.6.15 (2006) and removed in releases 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 status of vulnerabilities in distributions can be assessed on these pages: Debian, Ubuntu, SUSE/openSUSE, RHEL, Gentoo, Arch, Fedora.

/Reports, release notes, official announcements.