Pull to refresh
Logo
Linux kernel bug lets crafted IPv6 fragments bypass firewall rules

Linux kernel bug lets crafted IPv6 fragments bypass firewall rules

Built World

CVE-2026-139281 lets connection tracking file a packet under one destination while the kernel delivers it to another. Upstream is patched; most distributions are not.

Overview

Updated 1 hour ago

A firewall rule that allows DNS can be made to pass traffic to a port it was meant to block. The flaw is an 8-bit counter in the Linux kernel's connection tracking code, and it tops out at 255.

Long chains of IPv6 extension headers push a header position past that limit. The counter wraps, reassembly overwrites the wrong byte, and the firewall and the kernel end up seeing different destinations. Red Hat rates it 9.1 and calls it critical; Canonical rates the same flaw 6.9 and calls it medium.

Why it matters

A firewall that can be told a packet is DNS while it delivers elsewhere protects nothing. This code runs in routers, hypervisors and cloud hosts.

Questions about this story

Free account needed to ask — your question is kept and asked for you right after sign-up. Answers are public.

No questions yet — be the first to ask.

Key Indicators

9.1
Red Hat's severity score
Rated critical: an unauthenticated remote attacker can bypass stateful rules without privileges or user action.
6.9
Canonical's severity score
Rated medium, with confidentiality impact assessed as none and integrity impact limited.
255
Ceiling of the 8-bit offset variable
Extension header chains longer than 255 bytes push the stored position past its limit.
1
Lines changed in the fix
The patch turns the offset variable from an 8-bit integer into a full integer.
8
Kernel releases carrying the fix
From 5.10.275 through 7.4-rc1, according to the CVE record.
21 years
Time the flaw shipped in Linux
Introduced with connection tracking in kernel version 2.6.15, released January 2006.

Voices

Curated perspectives — historical figures and your fellow readers.

Sign up to generate historical perspectives on this story.

People Involved

Organizations Involved

Timeline

January 2006 December 2026

5 events Latest: Yesterday
Tap a bar to jump to that date
  1. CVE-2026-139281 published with a 9.1 rating

    Latest Disclosure

    Red Hat calls it critical and recommends disabling IPv6 where it is not needed.

  2. Distributions split on severity and timing

    Statement

    Debian lists Bookworm and Trixie vulnerable; Canonical holds at 6.9 medium.

  3. Fixed kernels reach the maintained stable branches

    Release

    Upstream releases from 5.10.275 through 7.4-rc1 carry the correction.

  4. Kernel patch posted to the networking list

    Patch

    A one-line fix changes the offset variable from an 8-bit to a full integer.

  5. Connection tracking ships in Linux 2.6.15

    Origin

    The conntrack subsystem arrives with an 8-bit offset in its IPv6 fragment reassembly path.

Scenarios

1

Patched kernels land before anyone exploits it

Likely Resolves by Q1 2027

Discussed by: Red Hat and Canonical advisories, which treat kernel updates plus the IPv6 workaround as sufficient

Both vendors point administrators at kernel updates and, in the meantime, at turning off IPv6 where it is not needed. If Debian issues fixed kernel packages for Bookworm and Trixie and Canonical finishes its Ubuntu assessment, the exposure window closes without a documented attack. The open question is timing: Debian had no fixed package published when the CVE went public.

2

Attackers use the bypass on edge devices before fleets patch

Possible Resolves by Q2 2027

Discussed by: Cybernews and BreachNews, which flag routers, firewalls and hypervisors as the exposed tier

The attack needs no credentials and no user action: send IPv6 fragments at a host whose connection tracking is active. Edge devices that terminate IPv6 traffic are the obvious targets, and they are often the last machines an organisation patches. A confirmed exploitation would move the flaw onto government patch lists and reset everyone's schedule.

3

Canonical's lower score leaves Ubuntu hosts on a slower clock

Possible Resolves by Q2 2027

Discussed by: The published CVE trackers, which show Red Hat and Canonical scoring the same flaw four rating bands apart

Canonical judged confidentiality impact as none and integrity impact as limited, and had not finished listing affected Ubuntu versions when the flaw became public. If that assessment holds, Ubuntu kernels could sit unpatched through the first half of 2027 while Red Hat customers are told to patch immediately. The split does not mean one vendor is wrong; it means the same bug can rank differently depending on which listeners a system exposes.

Historical Context

3 moments from history that rhyme with this story — and how they unfolded.

August 2018

FragmentSmack (2018)

Researchers found that Linux's IP fragment reassembly could be driven into heavy processor use by a small number of crafted packets, a denial-of-service bug tracked as CVE-2018-5391. It affected Linux 3.9 and later, and FreeBSD as well.

Then

Kernel and distribution patches went out within weeks, and the flaw became a standard item on infrastructure patch lists.

Now

Reassembly stayed a productive place to look for bugs, because it rewrites packet headers before any firewall rule runs.

Why this matters now

CVE-2026-139281 sits in the same reassembly path, but its payoff is a firewall bypass rather than a slowdown.

April 2014

Heartbleed (2014)

A missing bounds check in OpenSSL's heartbeat extension let anyone read up to 64 kilobytes of a server's memory per request. The faulty code had shipped for about two years in a library most encrypted web traffic depended on.

Then

Patches went out within days, and major services reissued certificates and reset passwords.

Now

Funders created the Core Infrastructure Initiative to pay maintainers of widely used open-source projects.

Why this matters now

Same shape as this flaw: a small bound error in shared infrastructure, invisible until someone reads the code closely.

September 2014

Shellshock (2014)

A parsing flaw in Bash, the shell on most Unix systems, let an attacker run commands by smuggling them through an environment variable. The vulnerable code dated to 1989.

Then

Exploits appeared within hours, and distributions raced out patches for a component nobody had treated as security-critical.

Now

It became the standard example of how long latent code can sit directly in the path of internet traffic.

Why this matters now

Twenty-one years is a long run for a kernel bug, but not unusual for the plumbing everything else is built on.

Sources

(8)