Critical Linux Kernel Flaw Allows IPv6 Firewall Bypass

A critical Linux kernel vulnerability (CVE-2026-139281) dating back nearly 21 years allows unauthenticated remote attackers to bypass stateful firewall rules using specially crafted IPv6 packets. The flaw carries a CVSS score of 9.1. Upstream kernel patches are available, while Linux distributions are preparing security updates.

A critical vulnerability in the Linux kernel, identified as CVE-2026-139281, allows remote attackers to bypass stateful firewall restrictions through specially crafted IPv6 traffic.

Published on November 30, 2026, the vulnerability affects the Netfilter connection tracking subsystem (conntrack). The vulnerable code dates back to Linux kernel 2.6.15, released in January 2006.

Red Hat has classified the vulnerability as critical, assigning it a CVSS 3.1 score of 9.1.

The vulnerability is particularly relevant to hosting providers, network operators, and administrators managing Linux-based firewalls, routers, hypervisors, and Internet-facing servers.

Security Vulnerability

Parameter Description
CVE Identifier CVE-2026-139281
Affected Software Linux Kernel
Affected Component Netfilter Connection Tracking (conntrack)
CVSS 3.1 Score 9.1
Severity Critical
CWE Identifier CWE-681
Vulnerability Type Integer Truncation
Security Impact Stateful Firewall Bypass
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Confidentiality Impact High
Integrity Impact High
Availability Impact None
Introduced in Linux Kernel 2.6.15
Active Exploitation Not publicly confirmed
Upstream Security Fix Available

Vulnerability Details

Netfilter is a fundamental component of the Linux networking stack responsible for packet filtering, connection tracking, and network address translation.

The vulnerability originates from incorrect integer handling during IPv6 fragment reassembly in the following kernel source file:

net/ipv6/netfilter/nf_conntrack_reasm.c

An integer truncation error can cause connection tracking information to become inconsistent with the packet ultimately processed by the networking stack.

Consequently, firewall decisions based on connection tracking may no longer accurately reflect the actual destination of network traffic.

The attack does not require authentication, local system access, or interaction from an authorized user.

Successful exploitation depends on fragmented IPv6 traffic reaching the vulnerable connection tracking subsystem.

Affected and Fixed Versions

The vulnerability was introduced in Linux kernel 2.6.15 and remained present in subsequent releases until the corresponding security fixes were applied.

The following upstream kernel releases contain the correction:

Linux Kernel Branch First Fixed Version
5.10.x 5.10.275
5.15.x 5.15.226
6.1.x 6.1.193
6.6.x 6.6.163
6.12.x 6.12.119
6.18.x 6.18.65
7.3.x 7.3.6
Mainline 7.4-rc1

Linux distributions frequently backport security corrections into their maintained kernel packages without adopting the corresponding upstream version number.

Administrators should therefore verify the security status of their distribution's kernel packages rather than relying exclusively on upstream version comparisons.

Unsupported kernel branches should be replaced with supported releases.

Linux Distribution Status

As of December 3, 2026, upstream security patches are available, but distribution-specific remediation remains in progress.

Distribution Security Status
Debian 12 (Bookworm) Vulnerable — update pending
Debian 13 (Trixie) Vulnerable — update pending
Debian Testing / Unstable Fixed in 7.3.6-1
Ubuntu Kernel evaluation in progress
Red Hat Enterprise Linux Critical vulnerability acknowledged
AlmaLinux Distribution-specific fix status must be verified
Rocky Linux Distribution-specific fix status must be verified
CentOS Stream Distribution-specific fix status must be verified

Canonical has assigned the vulnerability a medium priority, with a CVSS 4.0 score of 6.9, reflecting a different assessment of its security impact.

Administrators should regularly check their distribution's security advisories for updated information.

Affected Environments

The vulnerability is particularly relevant to Linux systems relying on stateful IPv6 packet filtering.

Potentially exposed environments include:

  • Virtual private servers (VPS).
  • Dedicated servers.
  • KVM and QEMU hypervisors.
  • Linux-based routers and firewalls.
  • VPN gateways.
  • Container hosting infrastructure.
  • Kubernetes environments.
  • Cloud networking infrastructure.
  • Network address translation gateways.
  • Servers using iptables, nftables, or firewalld.

Using a different firewall management utility does not necessarily eliminate exposure because these utilities can rely on the same underlying Linux kernel subsystem.

Security Impact

Depending on the network architecture and firewall configuration, successful exploitation could result in:

  • Unauthorized access to restricted network services.
  • Circumvention of stateful firewall policies.
  • Exposure of internal application interfaces.
  • Unauthorized communication with protected infrastructure.
  • Reduced effectiveness of network segmentation.
  • Increased exposure of database and management services.
  • Further attacks against services previously protected by firewall rules.

The vulnerability does not directly provide remote code execution, root privileges, or a virtual machine escape mechanism.

However, bypassing network security restrictions may expose additional vulnerabilities in services that were not intended to be publicly accessible.

Checking the Installed Kernel

Check the currently running Linux kernel:

uname -r

Display operating system information:

cat /etc/os-release

Checking IPv6 Configuration

Review the IPv6 addresses configured on the system:

ip -6 addr show

Display IPv6 routing information:

ip -6 route show

Check whether IPv6 is disabled globally or by default for new interfaces:

sysctl net.ipv6.conf.all.disable_ipv6
sysctl net.ipv6.conf.default.disable_ipv6

A value of 0 indicates that IPv6 is enabled for the corresponding setting.

Individual network interfaces may have different settings.

Checking Netfilter Connection Tracking

Review loaded connection tracking and IPv6 fragmentation modules:

lsmod | grep -E '^(nf_conntrack|nf_defrag_ipv6)[[:space:]]'

Check the kernel configuration where available:

grep -E '^CONFIG_(NF_CONNTRACK|NF_DEFRAG_IPV6|IPV6)=' \
    /boot/config-$(uname -r)

The absence of modules in the lsmod output does not establish that the corresponding functionality is unavailable, as it may be compiled directly into the kernel.

Reviewing Firewall Configuration

nft list ruleset
ip6tables -S
firewall-cmd --list-all-zones

Review IPv6 firewall policies and identify services protected primarily through stateful filtering.

Update Recommendations

We strongly recommend that customers running Linux on their virtual or dedicated servers install the appropriate kernel security updates as soon as they become available.

Updating the Linux Kernel

Use the following commands to update the Linux kernel through your distribution's package manager.

apt update
apt upgrade -y
dnf upgrade --refresh 'kernel*' -y

After installing a corrected kernel package, reboot the system during a scheduled maintenance window.

systemctl reboot

Verify the running kernel version after the reboot:

uname -r

Important: Installing the latest available kernel package does not guarantee protection against CVE-2026-139281 if your distribution has not yet released the corresponding security correction.

Do not install an experimental or release candidate kernel on production infrastructure solely to address this vulnerability.

Temporary Mitigation

If an immediate security update is unavailable, administrators should consider temporarily disabling IPv6 on systems that do not require IPv6 connectivity.

This measure should only be applied after reviewing network configuration and application dependencies.

Temporarily Disabling IPv6

Disable IPv6 for existing interfaces and by default for newly created interfaces:

sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1

Verify the resulting configuration:

ip -6 addr show
ip -6 route show

Persistently Disabling IPv6

To preserve the configuration across system reboots, create the following sysctl configuration file:

cat > /etc/sysctl.d/99-disable-ipv6.conf <<'EOF'
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
EOF

Apply the configuration:

sysctl -p /etc/sysctl.d/99-disable-ipv6.conf

Network management services and container networking configurations may override or maintain separate IPv6 settings.

Warning: Disabling IPv6 may interrupt SSH access, DNS resolution, VPN connectivity, container networking, application communication, and other services. Do not apply these commands to systems managed exclusively over IPv6. Ensure that alternative administrative access is available.

Restoring IPv6 Connectivity

After installing a corrected kernel, administrators who previously disabled IPv6 using the above configuration can restore it:

rm -f /etc/sysctl.d/99-disable-ipv6.conf

sysctl -w net.ipv6.conf.all.disable_ipv6=0
sysctl -w net.ipv6.conf.default.disable_ipv6=0

Restore the original interface configuration where necessary and verify that IPv6 addresses, routes, and services are operating correctly.

Additional Protective Measures

For environments where IPv6 cannot be disabled, administrators should consider:

  • Applying independent IPv6 filtering at upstream network devices.
  • Restricting access to sensitive services through network-level access controls.
  • Binding administrative services to dedicated management interfaces.
  • Limiting database access to trusted private networks.
  • Enforcing application-level authentication.
  • Reviewing network segmentation policies.
  • Monitoring unexpected IPv6 traffic.

Upstream filtering of fragmented IPv6 traffic may reduce exposure where operationally appropriate, but indiscriminate blocking can disrupt legitimate network communication.

These measures should be considered temporary risk reduction rather than a replacement for the kernel security update.

Impact on VPS and Dedicated Servers

The vulnerability is especially relevant to hosting infrastructure because Linux networking components are widely used to enforce traffic isolation and access restrictions.

Virtual Private Servers

KVM-based virtual machines operate with their own guest kernels.

Updating the physical hypervisor does not automatically correct vulnerabilities within individual guest operating systems.

Customers should independently maintain the Linux kernels installed inside their virtual servers.

Dedicated Servers

Administrators managing dedicated servers should review both IPv4 and IPv6 firewall configurations, particularly where sensitive services are accessible through public network interfaces.

Container Environments

Containers generally share the kernel of the underlying host operating system.

Updating packages inside a container does not replace the host kernel or correct vulnerabilities in its networking subsystem.

Container hosting providers should update the underlying host kernel and verify network isolation after rebooting.

Hypervisors and Network Gateways

Infrastructure operators should prioritize systems responsible for routing, firewall enforcement, and network segmentation.

Independent network security controls can provide additional protection while kernel updates are being prepared.

Detection and Investigation

Administrators should review network activity for unexpected connections to services that are normally restricted by firewall policies.

Potential indicators requiring investigation include:

  • Unexpected connections to internal services over IPv6.
  • Unusual volumes of fragmented IPv6 traffic.
  • Network activity inconsistent with configured firewall policies.
  • Unauthorized access attempts against management interfaces.
  • Unexpected database or application connections.

Review listening IPv6 services:

ss -6 -tulnp

Review active IPv6 network connections:

ss -6 -tunap

Check recent kernel messages:

journalctl -k --since "24 hours ago"

These commands provide general diagnostic information and do not constitute a dedicated vulnerability detection mechanism.

The absence of suspicious activity does not establish that exploitation has not occurred.

Security Recommendations

Considering the severity of CVE-2026-139281, administrators should prioritize the following actions:

  • Monitor distribution-specific kernel security advisories.
  • Install corrected kernel packages as soon as they become available.
  • Reboot systems after installing kernel security updates.
  • Verify that the corrected kernel is running.
  • Review IPv6 firewall policies.
  • Disable unnecessary IPv6 connectivity where operationally safe.
  • Restrict access to sensitive network services.
  • Maintain independent network security controls.
  • Update physical hypervisors and virtual machine kernels independently.
  • Maintain supported Linux distributions and kernel releases.

CVE-2026-139281 demonstrates that vulnerabilities in fundamental networking components can undermine firewall protections even when administrators have correctly configured their security policies.

Installing a corrected Linux kernel remains the recommended permanent solution.

firewall ipv6 kernel linux vulnerability

USB2Shell: Linux Root Access via USB

A Linux kernel vulnerability dubbed USB2Shell (CVE-2026-98232) allows attackers to execute arbitrary commands with root privileges by connecting a malicious USB device. No authentication or user interaction is required. Security patches are available for affected kernel branches.

Read more

CVE-2026-98432: Critical Linux Kernel RCE Vulnerability

A critical use-after-free vulnerability in the Linux kernel's IPv4 TCP networking subsystem may allow unauthenticated remote attackers to execute arbitrary code with kernel privileges. Server administrators are strongly encouraged to install the available kernel security updates.

Read more