Skip to content
Brief Security & Trust ·

Linux firewall flaw lets crafted IPv6 packets slip past rules

A 21-year-old bug in the kernel's connection tracking can make firewalls misread where traffic is going.

In brief
  • A Linux kernel bug can make firewalls misread IPv6 fragments. Attackers could reach services the rules were meant to block.
  • Fixes exist upstream, but distributions are still assessing or preparing updates.

BleepingComputer reported on 3 December that a critical Linux kernel bug, CVE-2026-139281, could let remote attackers slip crafted IPv6 packets past firewall rules. It sits in Netfilter's connection tracking, which firewalls use to follow traffic. Jérémy Jean of France's ANSSI described it in a kernel patch on 22 August. The bug dates to January 2006, BleepingComputer says.

The patch says one variable held a spot in the IPv6 header chain in a single byte, which tops out at 255. A long chain of extension headers can push that spot past it, so the number wraps. Reassembly then overwrites the wrong byte. Conntrack and the receiving host read different ports: UDP 53 versus 9999 in the patch's example. Red Hat rates the flaw critical, 9.1. Canonical rates it medium, 6.9, citing no confidentiality impact and limited integrity impact. Real severity likely depends on how much a firewall relies on conntrack-based rules.

A rule that trusts conntrack is only as sound as conntrack's view, and here that view differs from what the host receives. Ask which rules depend on conntrack state, whether IPv6 is on where it is not needed, and who owns kernel patch status. Upstream fixes exist in eight kernel lines; distributions are still assessing or preparing updates. Red Hat suggests turning off IPv6 as a stopgap.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: Linux kernel netdev mailing list (kernel patch submission disclosing the flaw, by Jérémy Jean of ANSSI).