How to Check Linux Servers for CVE-2026-98432 (TCP and MPTCP)
CVE-2026-98432 is a Linux IPv4 TCP use-after-free. Install a fixed kernel and reboot; until then, apply Red Hat's nftables rule and set net.mptcp.enabled=0.
CVE-2026-98432 is a use-after-free in the Linux kernel's IPv4 TCP code, and the fix is a kernel that contains this CVE's patch, plus a reboot. The published demonstration targeted a server with an MPTCP listener, but the bug is not specific to MPTCP, and Go 1.24 and later enable MPTCP by default for listen sockets on Linux (Go announcement). Red Hat says it affects any system running a vulnerable kernel with IPv4 TCP networking enabled (RHSB-2026-016).
[1] Find the running kernel's package version and compare it with the official trackers. uname -r does not match the versions in the table, so read the file below on Ubuntu, and use dpkg-query -W -f='${Version}\n' linux-image-$(uname -r) on Debian.
$ cat /proc/version_signatureUbuntu 6.8.0-147.147-generic 6.8.12Ubuntu is as of Last updated 30 October 2026; Debian and Red Hat as read on 2026-10-31. Status is changing quickly, so open the pages yourself.
| Distribution | Status |
|---|---|
Ubuntu 26.10 · 26.04 · 24.04 · 22.04 linux | Vulnerable · work in progress (7.3.0-10.10 · 7.0.0-43.43 · 6.8.0-149.149 · 5.15.0-203.213) |
Ubuntu 20.04 · 18.04 · 16.04 linux | Vulnerable · no version shown |
Debian trixie · bookworm linux | Fixed in the security repository: 6.12.113-1 · 6.1.190-1 |
Debian bookworm linux-6.12 | Fixed in the security repository: 6.12.113-1~deb12u1 |
RHEL 8 · 9 · 10 kernel | Affected · no fixed version shown (bulletin status Ongoing, 2026-10-30) |
RHEL 6 · 7 kernel | Not affected (security data API) |
Ubuntu 14.04 linux | Not affected. linux-lts-xenial, linux-aws and linux-azure on 14.04 are Vulnerable |
No Ubuntu row was marked as fixed. A version number next to Vulnerable is not a fixed version. Each kernel has its own row: read linux-aws and similar for -aws, -azure or -gcp, and linux-hwe-6.17 and similar for HWE kernels. On 24.04, linux-hwe-6.17 and linux-hwe-7.0 are Vulnerable with no version shown; on 22.04, linux-hwe-6.8 is in progress in 6.8.0-149.149~22.04.1. On 18.04, linux-hwe is Ignored (end of standard support), and a fixed version or patch path could not be confirmed from this page. The bulletin also lists OpenShift as directly affected and products built on the RHEL kernel as potentially impacted.
Distribution kernels carry backports, so do not compare them with upstream numbers. Only self-built kernels should be checked against the kernel.org record: introduced in 4.4, fixed in 5.10.272, 5.15.223, 6.1.190, 6.6.159, 6.12.113, 6.18.56, 7.2.10 and 7.3. Compare only within the same branch. A branch missing from this list has no fixed version in the record.
[2] Read the MPTCP switch. 1 means sockets can be created, and it is the default (kernel documentation).
# sysctl net.mptcp.enablednet.mptcp.enabled = 1If the key does not exist, that kernel has no switch to turn off, for example an old kernel without MPTCP. That does not make it safe. Patching and step 6 remain.
[3] Find MPTCP listeners. The same listener looks like ordinary TCP in ss -ltn, so run -M separately.
# ss -lMnpState Recv-Q Send-Q Local Address:Port Peer Address:PortProcess LISTEN 0 128 0.0.0.0:8080 0.0.0.0:* users:(("python3",pid=386,fd=3))The stock iproute2 on Ubuntu 18.04 and 20.04 does not know -M. That does not mean there are no listeners. In that case the sockets column of the MPTCP line in /proc/net/protocols gives a socket count and nothing more.
# ss -lM 2>&1 | head -1ss: invalid option -- 'M'[4] Install the fixed kernel if one exists, then reboot. apt upgrade upgrades every package, not only the kernel. Debian needs the security repository enabled to receive the fix.
$ sudo apt update$ sudo apt upgrade$ sudo rebootOn RHEL-family systems run sudo dnf upgrade kernel, then check with needs-restarting -r. Keep the previous kernel package so you can boot it from the GRUB menu if something breaks. That version is vulnerable, so use it only while you find the cause.
[5] After the reboot, confirm the running kernel contains this CVE. A newer kernel is not automatically a fixed one. This is Ubuntu 24.04's archive kernel at the time, 6.8.0-147: 1,206 lines for other CVEs, and 0 for this one.
$ apt-get changelog linux-modules-$(uname -r) 2>/dev/null | grep -c CVE-2026-984320$ apt-get changelog linux-modules-$(uname -r) 2>/dev/null | grep -c CVE-2026-1206A fixed Debian kernel looks like this. On a real server, use $(uname -r) in place of the version.
$ apt-get changelog linux-image-6.12.113+deb13-amd64 2>/dev/null | grep -c CVE-2026-984321On RHEL-family systems use rpm -q --changelog kernel-core | grep CVE-2026-98432. The issue is closed only when the number appears and the tracker also shows that version as fixed. apt-get changelog needs ca-certificates and outbound access, and a failed fetch also prints 0, so confirm that other CVEs are counted, as the second command does.
[6] If no fix is available, reduce exposure with the nftables rule from the Red Hat bulletin. It drops IPv4 TCP packets containing IP options. It has nothing to do with MPTCP, so it also applies to kernels without MPTCP. The bulletin says the rule "reduces exposure to this vulnerability but cannot fully prevent it" and is not a substitute for patching, and warns you to review it against your own traffic and "test it in a non-production environment before deploying it." It expects ordinary application traffic to remain unaffected, but also says filtering may disrupt necessary workloads.
table inet cve_2026_98432 { chain input { type filter hook input priority -310; policy accept; ip protocol tcp ip hdrlength > 5 counter drop }}$ sudo nft --check --file cve-2026-98432.nft$ sudo nft --file cve-2026-98432.nft$ sudo nft list table inet cve_2026_98432To roll back, use the bulletin's command. The bulletin says to remove the rule after updating to a fixed kernel; removing it earlier brings the exposure back.
$ sudo nft delete table inet cve_2026_98432This is the result of those commands inside a container, removal included. priority raw - 10 is how nft displays -310.
# nft list table inet cve_2026_98432table inet cve_2026_98432 { chain input { type filter hook input priority raw - 10; policy accept; ip protocol tcp ip hdrlength > 5 counter packets 0 bytes 0 drop }}The bulletin's procedure does not cover persistence across reboots, so run nft list table again after a reboot. The rule uses the input hook, and packets the host forwards take the forward path (nftables documentation). Whether traffic to bridged containers is filtered was not tested. Red Hat is the only source of this rule; the Ubuntu and Debian pages give no mitigation.
[7] Disable MPTCP temporarily. This removes the condition of the known demonstration. Add a new file instead of editing an existing one. The file is what applies the value at boot, and sysctl -w applies it now.
net.mptcp.enabled = 0# sysctl -w net.mptcp.enabled=0net.mptcp.enabled = 0# python3 -c 'import socket; socket.socket(socket.AF_INET, socket.SOCK_STREAM, 262)' 2>&1 | tail -1OSError: [Errno 92] Protocol not available262 is the MPTCP protocol number. An ordinary TCP listener still opened with the same setting. However, MPTCP listeners that are already open are not closed.
# ss -lMnState Recv-Q Send-Q Local Address:Port Peer Address:PortLISTEN 0 128 0.0.0.0:8080 0.0.0.0:* Restart the services found in step 3 to drop those listeners. This does not replace patching. A program that demands MPTCP fails to start with the error above. Go falls back to plain TCP on it (source).
To roll back, first confirm you booted a fixed kernel, then remove the file, write 1, and restart the services. Rolling back earlier reopens the demonstration's condition.
# rm /etc/sysctl.d/99-disable-mptcp.conf# sysctl -w net.mptcp.enabled=1net.mptcp.enabled = 1To change only Go programs, set GODEBUG=multipathtcp=0 in their environment, or put godebug multipathtcp=0 in go.mod, and restart them. Calls to SetMultipathTCP in the code override this, so check with ss -lMn after the restart. The Go announcement calls this approach fragile: one forgotten listener leaves the system exposed.
[8] Check containers separately. enabled is a per-namespace value, so do not trust a host value of 0. In a container whose namespace was set to 0, a new namespace started at 1. The upstream source also sets 1 for each namespace.
# cat /proc/sys/net/mptcp/enabled; unshare -n cat /proc/sys/net/mptcp/enabled01Read the value inside the container, and start it with --sysctl if needed. The host's ss -lMn does not list listeners inside containers, so use nsenter -t <pid> -n ss -lMn. Containers run on the host kernel, so rebuilding an image does not fix this CVE.
$ docker exec <container> cat /proc/sys/net/mptcp/enabled$ docker run --sysctl net.mptcp.enabled=0 <image>Easy things to misread
- **An empty
ss -lM, disabled MPTCP or the nftables rule does not finish the job.** The Go announcement says systems with no MPTCP listeners may be vulnerable to similar attacks, and Red Hat says kernel updates are the only complete solution. The kernel description also lists a similar problem on the request socket migration path (net.ipv4.tcp_migrate_req=1). - Red Hat's values differ by lookup path. The CVE page and bulletin say Critical (the page's 9.8 is preliminary), while the security data API on the same day said Important and 8.1 (draft). If a scanner reports a lower rating, open the bulletin. Ubuntu lists priority High and CVSS 3 9.8.