Linux kernel vulnerability allows bypassing IPv6 packet filtering rules

A vulnerability (CVE-2026-139281) has been discovered in the Linux kernel that can be exploited over IPv6 to access network services blocked by the nftables or iptables packet filter. It has a severity score of 9.1 out of 10 (CVSS). By sending specially crafted IPv6 packet fragments with a long chain of extension headers, an attacker can trigger integer truncation when the nf_conntrack module in the NetFilter subsystem calculates an internal offset.

The overflow occurs because the find_prev_fhdr() function returns the offset of the “Next Header” field as an int, but the code stores this value in a local variable of type u8 (maximum value: 255). If the original value exceeds 255, it is truncated to u8. For example, an offset of 260 is stored as 4. When fragments are reassembled into a single packet, the truncated value is used to update the “Next Header” field of the previous header, overwriting other data in the IPv6 header.

By exploiting this vulnerability, an attacker can cause controlled corruption of packet header data and make the connection-tracking mechanism (conntrack) misclassify traffic. As a result, a packet may initially be treated as destined for an allowed network port, such as UDP port 53, which is used for DNS. However, after conntrack processes the request, the kernel network stack delivers it to a different UDP port that is closed to direct access through the packet filter.

The issue affects Linux kernel versions dating back to 2.6.15 (2006) and has been fixed in 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. The status of vulnerability fixes in distributions can be checked on these pages: Debian, Ubuntu, SUSE/openSUSE, RHEL, Gentoo, Arch, and Fedora.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster