Anthropic's AI Wrote a Remote Root Exploit for a Linux TCP Bug. Here's How to Check Your Servers
CVE-2026-98432 is a race in the Linux kernel's IPv4 TCP handshake, and Anthropic says its model turned it into remote root against multipath TCP listeners. Debian has fixed kernels, Ubuntu and RHEL don't yet. How to check your kernel, your reboot and your listeners.
Every self-hoster has a Linux kernel somewhere: the VPS, the Proxmox box, the Pi in the cupboard, the NAS. CVE-2026-98432 is a bug in the part of that kernel that handles new IPv4 TCP connections, and on 27 October (US time) Anthropic said an unreleased Claude model wrote an exploit for it that gets a remote attacker a root shell, with no login and nothing for anyone to click.
That exploit targets servers with a multipath TCP (MPTCP) listener. Most people have never knowingly turned MPTCP on. The catch is that some Go programs do it for you.
In short: run uname -r and compare it with the fixed versions below. Debian has fixed kernels out. Ubuntu and RHEL don't, as of 29 October. If you installed a fixed kernel, reboot into it, because the old one keeps running until you do. Then run sudo ss -Mlnp to see whether anything on the box is listening on MPTCP. If something is and you can't patch yet, you can turn MPTCP off for that app, that container or the whole host. Nobody has reported attacks using this bug so far, and Anthropic hasn't published its exploit code.
Jump to: The bug · The AI part · Is your kernel fixed? · Go apps and MPTCP · Find your MPTCP listeners · Turning MPTCP off · My take
The bug
When a TCP connection finishes its handshake, the kernel hands the IP options from the pending request to the new socket without copying them. If that socket gets torn down while another CPU is still using those options to answer a resent SYN, the kernel reads memory it has already freed. The fix makes the kernel wait an RCU grace period before freeing them.
It goes back to Linux 4.4. IPv6 isn't affected by the main bug, because the IPv6 path copies the options. The kernel's CVE team rates it 9.8. Red Hat, Amazon, Oracle and SUSE score it somewhere between 5.9 and 8.1, mostly because they think the race is hard to win, according to The Hacker News.
Red Hat says anyone who can reach an exposed TCP service could trigger the race. Anthropic's root exploit went after MPTCP listeners specifically. Whether a plain TCP server can be rooted the same way is an open question. Nobody involved has said.
The AI part
Anthropic's post covers five exploit chains its Frontier Red Team built with the model, in Chrome, Safari, Android, Windows and Linux. The Linux one is zero-click remote root. After what Anthropic calls "initial prompting", Claude wrote a two-stage exploit. The first stage abuses the race to make the kernel send back extra bytes, and once one of those replies contains a kernel pointer, KASLR is beaten. The second stage overwrites a callback pointer so the kernel runs a payload the attacker had already staged in kernel memory, ending in a shell command as root.
A lost race only fails that one handshake, so the attacker can just keep trying. In Anthropic's proof of concept that took 48 minutes to leak a pointer and another five to get command execution. The kernel fix credits Anthropic researcher Xinyang Ge.
What Anthropic didn't publish: the exploit code, the kernel version or the configuration it tested. As of 30 October the CVE isn't in CISA's Known Exploited Vulnerabilities catalog, and none of the advisories mention attacks.
This is the second time this month an AI model has been behind a bug I've written up, after PHP2Shell. I don't think that's a reason to panic. It does mean the gap between "a fix exists" and "someone can exploit this" keeps shrinking, so the patch and reboot matter more than they used to.
Is your kernel fixed?
Check what's running, which isn't always what's installed:
uname -r
ls /var/run/reboot-required
dpkg and rpm tell you which kernel packages are on disk. uname -r tells you which one is actually running. If /var/run/reboot-required exists on a Debian or Ubuntu box, something (often a kernel) is waiting for a reboot, and cat /var/run/reboot-required.pkgs shows what. Unattended upgrades will happily install a fixed kernel and leave the old one running for weeks.
Upstream, the fix is 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. Distro kernels carry their own version numbers, so go by your distro:
- Debian is fixed. Trixie has
linux6.12.113-1 (DSA-6568-1). Bookworm haslinux6.1.190-1 (DLA-4841-1) andlinux-6.126.12.113-1~deb12u1 (DLA-4850-1).sudo apt update && sudo apt full-upgrade, then reboot. - Ubuntu isn't fixed yet. The Ubuntu CVE page rates it high and shows "work in progress" for 22.04, 24.04, 26.04 and 26.10, and plain "vulnerable" for 20.04 and older. If you've seen posts saying Ubuntu already shipped patches for 22.04 and 24.04, the tracker disagrees. Keep updating as normal and reboot once the page flips to released.
- RHEL and its rebuilds have no fixed kernel yet. Red Hat says its fix is "deferred to a future update" and that no mitigation meets its bar.
- Oracle Linux, SUSE and Amazon Linux have fixed packages for at least some of their kernels. The Hacker News has a table.
- Proxmox ships its own kernel, so check Proxmox's own updates and changelog.
If you're on Ubuntu or RHEL, the rest of this post is what you can do in the meantime.
Go apps and MPTCP
On Linux, a program has to ask for MPTCP when it opens a socket. Most don't. Go changed that in Go 1.24, whose release notes say ListenConfig "now uses MPTCP by default on systems where it is supported (currently on Linux only)".
The new default follows the go line in the app's go.mod, the same way Go handles its other GODEBUG defaults. An app that declares go 1.24 or later gets MPTCP listeners. An app built with the Go 1.24 toolchain whose go.mod still says an older version keeps plain TCP.
I checked both halves. Debian's packaged Docker (docker.io 26.1.5) is built with Go 1.24.4, but its binaries carry multipathtcp=0 as a build default because the module's go line is older, so dockerd, docker-proxy and containerd all listen on plain TCP. A small test program built with Go 1.24.13 and go 1.24 in its go.mod got MPTCP sockets from both net.Listen and net.ListenTCP.
So a recently updated reverse proxy, Git forge or dashboard written in Go might be an MPTCP listener, or might not. It depends on each release's go.mod, and you can't tell from the version number. You have to look.
Find your MPTCP listeners
sudo ss -Mlnp
-M limits the list to MPTCP sockets. Empty output means nothing in that network namespace is listening on MPTCP. A real MPTCP listener shows up as two LISTEN rows on the same port, one marked tcp and one marked mptcp, and -p tells you which program owns it.
Two catches:
- Plain
sudo ss -ltnplists MPTCP listeners too, as ordinary-looking TCP rows, so it can't tell you which is which. Adding-tto the MPTCP command (ss -Mltnp) mixes every plain TCP listener back in and makes the output look far worse than it is. Stick withss -Mlnp. ssonly sees the network namespace it runs in. A Docker container with its own network won't show up from the host, apart from Docker's own port-forwarding processes. To look inside one, runssin that container's namespace, for example withsudo nsenter -t <container PID> -n ss -Mlnp.
You can also see whether MPTCP is switched on at all. 1 means on, which is the default:
cat /proc/sys/net/mptcp/enabled
sudo sysctl net.mptcp.enabled works too. On Debian, sysctl lives in /usr/sbin, so a normal user gets "command not found" without sudo.
Turning MPTCP off
None of this fixes the bug. Nobody, Anthropic and the vendors included, has said whether turning MPTCP off lowers the real risk, and it does nothing about the plain TCP path Red Hat describes. What it does is take away the exact setup Anthropic's exploit used, which seems worth doing on an internet-facing box while you wait for a kernel.
For one Go app, start it with GODEBUG=multipathtcp=0. When I tried it on the Go 1.24 test program, its listeners went back to plain TCP and ss -Mlnp came up empty. Other languages ignore it.
# systemd unit
[Service]
Environment=GODEBUG=multipathtcp=0
# Docker Compose
environment:
GODEBUG: multipathtcp=0
For a whole container, set the sysctl on that container. net.mptcp.enabled is a per-network-namespace setting, and Docker's --sysctl flag sets namespaced sysctls inside the container. I tested it: with --sysctl net.mptcp.enabled=0, MPTCP was off in that container only, a Go 1.24 listener inside it fell back to plain TCP, and the host and other containers stayed at 1. Docker's docs say net.* sysctls aren't allowed with --network=host, so this is for containers with their own network.
docker run --sysctl net.mptcp.enabled=0 <image>
# Docker Compose
sysctls:
net.mptcp.enabled: 0
For the whole host:
sudo sysctl -w net.mptcp.enabled=0
echo 'net.mptcp.enabled = 0' | sudo tee /etc/sysctl.d/99-disable-mptcp.conf
Restart the services afterwards, because sockets that are already open stay MPTCP. Because the setting is per namespace, the host setting may not reach your Docker containers or anything else with its own network namespace. I haven't confirmed whether a new container picks up 0 from the host, so set the container sysctl or the GODEBUG variable as well if it matters.
And the usual: forward only the ports you need, and put admin panels behind Tailscale or WireGuard instead of the open internet.
My take
This one's calmer than the headline makes it sound. Anthropic's exploit isn't public, nobody has reported attacks, and Debian users can be done in five minutes plus a reboot. The parts I'd pay attention to are the reboot (a patched kernel on disk protects nothing) and the Go change, which means a box can have MPTCP listeners nobody asked for. ss -Mlnp answers that in one line. If you're on Ubuntu, run it today, and keep an eye on the Ubuntu page.
DampSnag
Get new posts by email
Guides and patch notes for self-hosters and Minecraft server admins. No spam, unsubscribe any time.