CVE

Linux TCP Use-After-Free (CVE-2026-98432)

A host-side guide to the IPv4 TCP SYN-path use-after-free in the Linux kernel: what the race is, how to verify the kernel, and why the fix is kfree_rcu.

AuthorTrickest

Overview

This page covers CVE-2026-98432, a use-after-free in the Linux kernel's IPv4 TCP SYN path, from the host side: there is no network probe for it and no workflow to run, because the vulnerable code lives in the kernel of the machines you are trying to protect. The race is reachable from the network by anyone who can make a TCP connection to a service: request sockets in the SYN queue are processed without holding the listener lock, so nothing stops a child socket from being freed while another CPU is still building the SYNACK that reads its IP-options buffer, which has already been freed with a plain free call. A second variant exists where request-socket migration shares that buffer between sockets. The upstream fix converts both frees to the deferred variant, and distribution backports carry it. Community reporting has floated remote-root exploitation claims through related paths, but the CVE record is IPv4 TCP and those claims remain unverified; the page says so rather than repeating them as fact.

Pipeline

  1. Inventory your kernel versions across the estate with the running release, not the installed package, as the source of truth: the race is in the running kernel until a reboot or live patch lands.
  2. Compare each running kernel against your distribution's fixed release for this CVE, checking the distro's security tracker rather than the upstream commit alone.
  3. Check the kernel's request-socket migration setting on hosts that terminate many short-lived connections; the migration variant needs that feature on, and the plain race does not.
  4. Look for BPF reuseport programs with migration enabled on load-bearing listeners, which widen the second variant's reach.
  5. Schedule the kernel update, then verify after the reboot that the running release matches the fixed one; a booted-but-old kernel is the classic gap here. Working host by host, this is the kernel slice of exposure management: every host that terminates TCP needs the running release compared, not just the package.

Inputs

  • Kernel inventory. The running kernel release and distribution for every host that terminates TCP, which is most of them.
  • Distro fixed-release mapping. Your distribution's security tracker entry for this CVE, which names the backported kernel versions.

Outputs

  • No workflow run produces output on this page. The deliverable is a running kernel at or above your distribution's fixed release on every host that terminates TCP, plus the migration setting reviewed on the hosts where it matters.

Sample output

The transcript below is illustrative and does not come from a real run. It shows the host-side evidence an operator collects while verifying.

$ uname -r
6.12.41-generic
$ sysctl net.ipv4.tcp_migrate_req
net.ipv4.tcp_migrate_req = 0
$ dpkg -l | grep linux-image | grep 6.12
ii  linux-image-6.12.41-generic  6.12.41-2  amd64

FAQ

Can I detect this from the network?

No. The race lives in the kernel's SYN-queue handling, and no outside request distinguishes a vulnerable kernel from a fixed one. Host-side verification of the running kernel is the only reliable check, which is why this page carries no workflow.

Is the remote-root claim real?

Treat it as unverified. Community discussion has tied the bug to a claimed remote-root exploit through a related path, but the CVE record covers the IPv4 TCP use-after-free, and no confirmed exploitation supports the stronger claim. Patch on urgency, not on rumor.

Does my configuration change the risk?

Yes, in one place. The base race needs nothing beyond a listening TCP service, but the second variant, where request-socket migration shares the IP-options buffer between sockets, requires request-socket migration enabled or a BPF reuseport program that selects migration. Hosts with that setting need the fix on the same schedule as internet-facing ones.

What is the fix?

The upstream fix replaces the plain frees of the IP-options buffer with the deferred, RCU-safe free in both the socket destructor and the request-socket destructor, so concurrent readers always finish first. Distributions are backporting it to supported kernels.

Get a personalized demo

See Trickest in Action

A 30-minute walkthrough. We map the platform to your stack and answer pricing and deployment questions for your environment.