3 mincritical
CVE-2026-98432: A Remote Use-After-Free in the Linux Kernel's TCP Stack | Akamai
CVE-2026-98432 is a critical use-after-free in the Linux kernel's IPv4 TCP stack that an unauthenticated remote attacker can exploit for root execution on servers with MPTCP listeners. The flaw is a race condition in kernel IPv4 options handling during TCP handshake; a retransmitted SYN with IP options triggers a UAF when inetsockdestruct frees options that ipoptionsbuild still reads. Anthropic demonstrated root RCE via KASLR bypass and callback pointer overwrite using an MPTCP listener.
Sens:■ Immediate
Detection / HunterZ.ai
Immediate Actions
- Disable MPTCP: sudo sysctl -w net.mptcp.enabled=0
- Disable TCP request migration: sudo sysctl -w net.ipv4.tcp_migrate_req=0
- Identify servers running kernel 4.4+ without the fix
- Identify MPTCP listeners: sudo ss -M -l -n -p -e
Key Takeaways
- Linux kernel 4.4 and later are affected; fix shipped 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.
- Go 1.24+ enables MPTCP on Linux listening sockets by default, widening exposure.
- Disabling MPTCP alone does not prevent exploitation; it only reduces race trigger likelihood.
- Fix replaces kfree() with kfree_rcu() in inet_sock_destruct() and tcp_v4_reqsk_destructor().
- No public working exploit exists as of article publication; Anthropic has not released theirs.
Attack Chain
- Initial Access: Unauthenticated remote attacker sends TCP SYN with IPv4 options
- Execution: Retransmitted SYN triggers race condition in kernel IPv4 options handling
- Exploitation: UAF in inet_sock_destruct frees options while ip_options_build reads them
- Privilege Escalation: KASLR bypass via memory leak enables callback pointer overwrite for root
- Impact: Attacker runs commands as root on the target server
Affected Systems
- Linux kernel 4.4 and later without the fix
- Linux servers with MPTCP listeners
- Go applications on Linux using versions 1.24+
- Ubuntu and RHEL (no fixed kernels as of Oct 30, 2026)
Vulnerabilities (CVEs)
| CVE | Product | Severity | Description |
|---|---|---|---|
| CVE-2026-98432 | Linux kernel IPv4 TCP stack | 9.8 (Critical) | Race condition in TCP handshake IPv4 options handling enables unauthenticated remote UAF. |
Detection Availability
- Published: Other detection logic
- Platforms: Akamai Guardicore Segmentation Insight
Guardicore Segmentation Insight query checks kernel version and MPTCP/TCP migration sysctl status.
Detection Engineering Assessment
Hunting Hypotheses
| Hypothesis | Telemetry | Stage | FP Risk |
|---|---|---|---|
| Hunt for repeated SYN retransmissions carrying IPv4 IP options to the same listening socket (T1190). | Network flow logs with TCP flag and IP option metadata | Initial Access | High — retransmissions are normal TCP behavior |
| Hunt for unexpected root process execution following TCP handshake on MPTCP listeners (T1068). | EDR process ancestry and user context logs | Privilege Escalation | Medium — root execution may be legitimate |
Required Log Sources
- Kernel logs
- Process execution logs
- Network flow logs with TCP flags
Control Gaps
- Network IDS cannot detect kernel-level UAF race conditions
- Standard syslog does not capture kernel TCP handshake internals
- Firewall rules blocking IPv4 options may disrupt legitimate traffic
Recommendations
Infrastructure Hardening
- Upgrade to patched kernel 5.10.272 or later stable release
- Persist sysctl settings in /etc/sysctl.d/ for reboot survival
- Block TCP packets with IPv4 options at perimeter if feasible
- Restrict network exposure of TCP listening services
User Protection
- Patch Go runtime environments on Linux to disable MPTCP if not needed
- Monitor for unexpected root process execution on TCP servers
MITRE ATT&CK Mapping
MITRE ATT&CK Mapping2 techniques
Tactic
Initial Access
Tactic
Privilege Escalation
Showing defanged values
- cveCVE-2026-98432Race condition in TCP handshake IPv4 options handling enables unauthenticated remote UAF.