Documentation

Linux Kernel CVE-2026-98432 IPv4 TCP Use-After-Free: Patch and nftables Mitigation

CVE-2026-98432 is a critical remote Linux kernel TCP bug. Patch the kernel and reboot, or drop IPv4 TCP packets with IP options as a stopgap.

A
Adam Birds
Published 2 December 20263 min read0 views

CVE-2026-98432 is a use-after-free in the Linux kernel’s IPv4 TCP connection handling. Socket options can be freed while a retransmitted connection request, or a socket being migrated, is still reading them. An unauthenticated remote attacker can use it for denial of service or memory corruption, and possibly remote code execution. Red Hat and Ubuntu rate it Critical (CVSS 3.1 9.8). Ubuntu says the bug is present in kernels 4.4 and later.

Fix: install the patched kernel and reboot

A reboot is required, because the running kernel stays vulnerable until then.

Ubuntu

The fixed linux package versions, according to Ubuntu’s CVE tracker:

Release Fixed in
26.10 7.3.0-10.10
26.04 LTS 7.0.0-43.43
24.04 LTS 6.8.0-149.149
22.04 LTS 5.15.0-203.213
20.04 LTS (Ubuntu Pro) 5.4.0-247.267
18.04 LTS (Ubuntu Pro) 4.15.0-263.275
16.04 LTS (Ubuntu Pro) 4.4.0-293.327

Cloud and HWE kernels (for example linux-aws, linux-azure and linux-gcp) have their own fixed versions. Check the tracker for your flavour.

uname -r
sudo apt update && sudo apt upgrade
sudo reboot

Debian

Debian’s tracker lists the current security kernels as fixed: bookworm 6.1.192-3, the bookworm linux-6.12 backport 6.12.118-1~deb12u1, and trixie 6.12.117-1 or later.

sudo apt update && sudo apt full-upgrade
sudo reboot

RHEL 8, 9 and 10 (and OpenShift)

Red Hat tracks this in security bulletin RHSB-2026-016. Install the kernel errata listed there for your release, then reboot:

sudo dnf upgrade kernel*
sudo reboot

After the reboot

Compare the running kernel with the fixed version for your distribution:

uname -r

Interim mitigation: drop IPv4 TCP packets with IP options

Red Hat and Ubuntu publish the same stopgap. Packets with IP options are rare in normal traffic. The rule reduces exposure but cannot fully prevent exploitation, and it can break workloads that genuinely use IPv4 options.

nftables

Save this as /etc/nftables/cve-2026-98432.nft:

table inet cve_2026_98432 {
    chain input {
        type filter hook input priority -310; policy accept;
        ip protocol tcp ip hdrlength > 5 counter drop
    }
}

Check it, load it, and confirm it is active:

sudo nft --check --file /etc/nftables/cve-2026-98432.nft
sudo nft --file /etc/nftables/cve-2026-98432.nft
sudo nft list table inet cve_2026_98432

To keep it across reboots on RHEL, add include "/etc/nftables/cve-2026-98432.nft" to /etc/sysconfig/nftables.conf, then run sudo systemctl enable --now nftables.service. Check first for conflicts with firewalld or existing rules.

iptables

sudo iptables -I INPUT 1 -p tcp -m u32 --u32 "0>>24&0x0f=6:15" -j DROP

UFW (Ubuntu)

Add this line to /etc/ufw/before.rules, inside the *filter section and after the ufw-before-input chain definitions:

-A ufw-before-input -p tcp -m u32 --u32 "0>>24&0x0f=6:15" -j DROP

Then reload UFW:

sudo ufw reload

Do not enable nftables.service on a host where UFW is active.

Remove it after patching

sudo nft delete table inet cve_2026_98432

Also remove the include line, iptables rule or UFW line you added.

Notes

  • Containers and VMs: the rule only covers traffic to the namespace it is loaded in. Containers or guests with their own network namespace need it inside each namespace. On OpenShift, node-level rules do not filter pod-to-pod traffic.
  • MPTCP is not the fix. The public exploit used Multipath TCP, but the bug does not depend on it. RHEL disables MPTCP by default and is still affected, and sysctl -w net.mptcp.enabled=0 changes nothing on a default system.
  • Go services: Go 1.24 and later enable MPTCP on listening sockets by default. Setting GODEBUG=multipathtcp=0 turns that off, but it only narrows the known exploit path. Patching the kernel is still required.
Last updated: 2 December 2026v1