The Morning Patch Wire

CYBER SECURITY NEWS REPORT

EXPLAINER · FRIDAY, DECEMBER 4, 2026

CVE-2026-139281: how one wrong variable type let IPv6 packets dodge Linux firewall rules since 2006

A one-line bug in the Linux kernel's connection tracking let a crafted IPv6 packet look like one thing to the firewall and be delivered as another. Red Hat rates it 9.1, and it has been there since conntrack arrived in Linux 2.6.15 in January 2006. This page explains the bug in plain words and shows how to check your own machines.

This explains reporting by Jérémy Jean: netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset (LKML, Aug. 22, 2026).
Read the original first: https://lkml.iu.edu/hypermail/linux/kernel/2608.2/11966.html

In one minute

What conntrack does

Most Linux firewalls are stateful. They let a reply in because they remember the request that went out. The part of the kernel that remembers is called conntrack (connection tracking).

To remember a connection, conntrack reads each packet's address, protocol and port. Firewall rules then decide using what conntrack read.

IPv6 packets can be split into fragments. Before conntrack can read a split packet, the kernel puts the pieces back together. That step is called reassembly.

The bug, in plain words

An IPv6 packet can carry a chain of extra headers before the real data. Each header says what comes next, in a one-byte field called Next Header.

During reassembly, a function called find_prev_fhdr() finds where that Next Header field sits, as a count of bytes from the start. The patch says the function hands the answer back as an int, but the code stored it in a u8.

A u8 can only hold 0 to 255. If the attacker adds enough extra headers, the real position is past byte 255, so the stored number wraps around to a small one.

Later, the kernel uses that wrong number to patch the header chain. It overwrites a different byte than it meant to.

Now conntrack and the part of the kernel that delivers the packet disagree about what the packet is. The patch gives an example: a two-fragment packet recorded as UDP port 53 (DNS, often allowed) while its data goes to UDP port 9999.

So a rule like "allow DNS, block everything else" can be walked around.

The fix

The fix changes one line in net/ipv6/netfilter/nf_conntrack_reasm.c: the variable prev_nhoff becomes an int instead of a u8. That matches the other offset variables in the same code.

The patch was posted to the kernel mailing list on August 22. The Hacker News reports it was merged on October 19 and reached mainline in 7.4-rc1 on November 1.

The patch carries an "Assisted-by: Codex:gpt-5" line. It does not say what the help covered.

Check your machines

First, see which kernel you run, then compare it with the table below or your distribution's notice.

uname -r

Second, see if IPv6 is on. A 0 means IPv6 is on; a 1 means it is off for all interfaces.

sysctl net.ipv6.conf.all.disable_ipv6

Third, see if conntrack is loaded. If it is not, this firewall bypass does not apply to that machine.

lsmod | grep nf_conntrack

Who is affected

CaseStatus
Linux kernels since 2.6.15 with IPv6 conntrack in useAffected until updated.
5.10 / 5.15 / 6.1 branchesFirst fixed in 5.10.275, 5.15.226 and 6.1.193 (per The Hacker News).
6.6 / 6.12 / 6.18 branchesFirst fixed in 6.6.163, 6.12.119 and 6.18.65 (per The Hacker News).
7.3 branch and mainlineFirst fixed in 7.3.6 and 7.4-rc1 (per The Hacker News).
RHEL 8Kernel update shipped (RHSA-2026:107608).
Debian bookworm and trixieListed as vulnerable in Debian's tracker when The Hacker News reported it.

What to do

What is still unknown

Sources

Today's full edition: Cyber Security News Report · every headline, every morning.