← Home / Nathan's Short News

Critical 21-Year-Old Linux Kernel Flaw Bypasses Firewalls via IPv6

A critical 21-year-old security vulnerability in the Linux kernel allows remote attackers to bypass stateful firewalls using specially crafted IPv6 packets. According to The Hacker News, patches are rolling out across major distributions, though some enterprise systems remain vulnerable.

Background

According to The Hacker News, Netfilter is the internal packet-filtering framework of the Linux kernel, while its connection tracking subsystem, known as conntrack, records network connections to enforce stateful firewall rules written with tools like iptables or nftables. This mechanism ensures that incoming network traffic matches permitted communication flows before reaching internal services.

What happened

A critical vulnerability tracked as CVE-2026-139281, rated 9.1 out of 10 by Red Hat, allows unauthenticated remote attackers to bypass stateful firewall rules without user interaction. The flaw resides within the IPv6 packet reassembly module in net/ipv6/netfilter/nf_conntrack_reasm.c. The code stores a header position field in a variable limited to a maximum value of 255. When crafted IPv6 traffic containing a long chain of extension headers is processed, this variable wraps around, causing packet reassembly to overwrite the wrong byte.

As reported by The Hacker News, this memory corruption causes conntrack to record an incorrect destination port for the network traffic. For example, a two-fragment packet might be logged by conntrack as traffic destined for UDP port 53 (DNS), while its payload is actually delivered to an unauthorised destination such as UDP port 9999. Consequently, stateful firewall rules relying on conntrack tracking allow the malicious traffic through to blocked services.

The underlying defect has existed in the Linux kernel since the conntrack subsystem was introduced in version 2.6.15 in January 2006, making the vulnerable code nearly 21 years old. Independent researcher Jérémy Jean submitted the fix to the Linux kernel mailing list on August 22, which was merged upstream on October 19 and reached mainline Linux version 7.4-rc1 on November 1. Notably, the commit credits AI assistance via the trailer ‘Assisted-by: Codex:gpt-5’, though the exact nature of the AI assistance was not detailed in upstream records.

Who is affected

According to The Hacker News, the flaw impacts Linux systems processing fragmented IPv6 traffic. Upstream fixes have reached stable kernel release branches, such as version 7.3.6. Red Hat Enterprise Linux 8 and AlmaLinux have issued security updates to address the issue. However, Debian stable releases (bookworm and trixie) remain vulnerable while awaiting patched packages, and Ubuntu has assigned the flaw a Medium priority while evaluating standard kernel packages across supported releases. No active public attacks exploiting the flaw have been confirmed as of publication.

Why it matters

This vulnerability presents a severe risk for enterprise infrastructure where host-based firewall rules serve as the primary defensive barrier protecting sensitive services from untrusted networks. Because the flaw requires no credentials or user interaction, remote attackers can bypass intended network access controls simply by transmitting manipulated IPv6 traffic.

For enterprise IT teams, security operations, and business owners in India, the delayed patch availability across major Linux distributions like Debian and Ubuntu creates an immediate window of exposure. Systems relying on stateful filtering to segregate network segments could find their local firewall boundaries silently compromised until updates are fully deployed.

What to do now

  1. Identify all Linux servers exposing stateful firewalls to IPv6 traffic across enterprise environments, according to guidance from The Hacker News.
  2. Apply published kernel security updates immediately for Red Hat Enterprise Linux 8, AlmaLinux, and maintained stable Linux branches.
  3. Disable IPv6 processing on systems where it is not strictly required if official distribution patches are not yet available.
  4. Monitor security advisories from Debian and Ubuntu for the release of patched kernel packages.
  5. Review host-based firewall configurations to ensure sensitive services do not rely solely on conntrack filtering over untrusted IPv6 routes.

Key takeaways

  • A 21-year-old Linux kernel bug allows remote IPv6 traffic to bypass stateful conntrack firewalls.
  • Red Hat and AlmaLinux have issued patches, while Debian and Ubuntu systems await updates.
  • Disabling unused IPv6 provides immediate mitigation where official distribution patches are unavailable.

This is a summary of reporting by The Hacker News. For full details, read the original: Critical 21-Year-Old Linux Kernel Flaw Lets Attackers Bypass Firewalls with Crafted IPv6 Packets.