HackCore Blog

CVE-2026-98432: the TCP bug that lived in Linux since 2016 (and an AI turned into root)

A use-after-free in the kernel TCP stack, CVSS 9.8, remote and passwordless. What it is, who is affected, how to patch and the temporary mitigation.

Cover: CVE-2026-98432, use-after-free in Linux TCP, CVSS 9.8

TL;DR

  • There's a Linux kernel bug that can be attacked remotely and without a password on any TCP port listening on IPv4. It has been there since Linux 4.4 (2016).
  • It's rated 9.8 out of 10. Patches are out: update the kernel and reboot. Installing without rebooting does nothing.
  • Containers don't protect you: they all share the host's kernel.

What happened, explained with a receptionist

Every time something connects to your server over TCP (a web page, SSH, a database) there's a three-step greeting: "hi" → "hi, I hear you" → "ok, let's go". While that greeting finishes, the kernel acts like a receptionist jotting the visitor's details on a sticky note.

The bug: under certain conditions the receptionist throws the sticky note away while someone is still reading it. If an attacker manages to write their own data into that piece of memory at just the right moment, the kernel ends up reading whatever the attacker wanted. That's called a use-after-free: using memory that was already released.

And what the attacker wants the kernel to read usually leads to the worst possible outcome: running code as root.

How bad is it?

  • CVSS 9.8 according to the kernel CVE team. Red Hat started at 5.9 and raised it to 9.8. Amazon Linux rated it 8.1.
  • Remote and unauthenticated: all it takes is being able to send packets to a TCP port listening on IPv4.
  • IPv6 isn't affected on the main path.
  • It has lived in the kernel since version 4.4, so almost any Linux from the last 10 years has it.

How is it triggered? With connection requests carrying IP options (Record Route or Timestamp, which almost no normal traffic uses), plus a timing race when the client retransmits the connection request.

The twist: an AI wrote the exploit

On October 27, Anthropic's Frontier Red Team said an internal, unreleased Claude model wrote a remote root exploit against Linux servers with an MPTCP (multipath TCP) listener. According to their report, leaking a kernel address took 48 minutes and reaching a root shell took 5 more. The code was not published.

Why does it matter? Because the time between "the patch is out" and "a working exploit exists" is getting very short. It used to be weeks or months; now it can be hours. For anyone running servers the takeaway is boring but clear: patching fast is no longer optional.

Fun fact: in the same two weeks, the eMudhra weak keys (the next post in this series) were also found "possibly with AI-assisted techniques". October 2026 will be remembered as the month AI took center stage on both sides of cybersecurity.

Is it being exploited?

  • Confirmed real-world attacks: none reported as of November 5, and it's not in CISA's KEV catalog.
  • Public proof of concept (October 29): it triggers the race and detects the memory leak, but does not run code.
  • Internet-wide MPTCP scanning since November 2. Someone is taking inventory.

Am I affected?

If you have a Linux box that accepts IPv4 TCP connections from networks you don't trust (the internet, a coffee shop Wi-Fi, the office guest network), treat it as exposed. That includes:

  • Web servers, VPSs and cloud machines.
  • Docker and Kubernetes hosts. The bug is in the kernel, and containers use the host's kernel. Updating your images doesn't fix it.
  • Homelabs and Raspberry Pis with ports open on the router.
  • Routers, NAS boxes and gadgets that run Linux inside. Those depend on the vendor shipping new firmware.

What to do (in this order)

  1. Update the kernel with your distro's package manager.
  2. Reboot. An installed kernel that hasn't booted protects nobody.
  3. Verify with uname -r that you're running the new version.
  4. If your distro has no patch yet, apply the temporary firewall mitigation (below) and reduce what you expose: close ports you don't need.
Distro / branchFixed version
Upstream kernel (stable)5.10.272 · 5.15.223 · 6.1.190 · 6.6.159 · 6.12.113 · 6.18.56 · 7.2.10
Debian 12 bookwormlinux 6.1.190-1
Debian 13 trixielinux 6.12.113-1 or later
RHEL 8 / 9 / 104.18.0-553.182.1 · 5.14.0-687.64.1 · 6.12.0-211.72.1
Ubuntu 22.04 / 24.04In -proposed as of November 5 (5.15.0-203 · 6.8.0-149). Check whether it has reached -security.
Raspberry Pi OSUses its own kernel: look for the fix in the changelog (command below).

Versions per Red Hat's advisories, the Debian Security Tracker and coverage by The Hacker News and Security Boulevard, checked on November 5, 2026. Always confirm with your distro's official advisory.

Nerd mode:

Does my kernel have the fix? The commit is titled "ipv4: free inet_opt and ireq_opt after an RCU grace period":

uname -r
# Debian / Ubuntu / Raspberry Pi OS
apt changelog linux-image-$(uname -r) 2>/dev/null | grep -m1 "ireq_opt after an RCU grace period"
# RHEL / Alma / Rocky
rpm -q --changelog kernel | grep -m1 -i "CVE-2026-98432"

Do I have MPTCP listeners (the path the exploit used)?

sudo ss -Mlnp
sysctl net.mptcp.enabled

Temporary mitigation until the patch lands: drop IPv4 TCP packets that carry IP options. It does not fix the bug, it's lost on reboot, and it only protects the host where you load it. Container-to-container traffic on the same host can bypass it.

sudo nft add table inet cve_2026_98432
sudo nft add chain inet cve_2026_98432 input '{ type filter hook input priority -310; }'
sudo nft add rule inet cve_2026_98432 input ip protocol tcp ip hdrlength \> 5 counter drop
sudo nft list table inet cve_2026_98432      # the counter shows what was dropped
sudo nft delete table inet cve_2026_98432    # once you're on the patched kernel

Turning off MPTCP (net.mptcp.enabled=0) narrows the published exploit path, but it's not enough: the bug is in IPv4 TCP. The only real fix is the patch.

Timeline

  • Sep 25: CVE reserved.
  • Oct 15: published, with the fix already in mainline (7.3-rc7) and the stable branches.
  • Oct 27: Anthropic describes the remote root exploit against MPTCP listeners.
  • Oct 29: a public PoC appears (race and memory leak, no code execution).
  • Oct 30: Red Hat publishes its bulletin as Critical.
  • Nov 1: patched RHEL kernels.
  • Nov 2: internet-wide MPTCP scanning begins.

Checklist for your server

A one-page sheet to check your server (or your work's) without reading all of this again:

Download checklist (PDF)

Sources

Questions, or want us to look at a case? Get in touch. And if you know someone with a server that "never gets rebooted because it works fine like that", send them this. With love.