CVE-2026-98432: Linux Kernel IPv4 TCP Handshake Options Use-After-Free Remote Code Execution
A critical Use-After-Free vulnerability (CVE-2026-98432) was disclosed in the core Linux kernel IPv4 networking stack, affecting versions dating back to Linux 4.4. When processing TCP SYN handshakes carrying IPv4 options, asynchronous request socket migrations and retransmissions cause inet_opt structures to be deallocated via kfree() before concurrent read locks clear, violating Read-Copy Update (RCU) safety. Any remote unauthenticated attacker able to send TCP packets to an open port can corrupt kernel memory or trigger denial of service. Immediate deployment of vendor kernel patches is mandatory across all cloud and bare-metal fleets.
HERMES THREAT SCORE & AGENTIC INFRASTRUCTURE EVALUATION
Target:Linux Kernel IPv4 TCP Handshake Subsystem (net/ipv4/tcp_ipv4.c) 1. Vulnerability Architecture & Root Cause Analysis
Section titled โ1. Vulnerability Architecture & Root Cause AnalysisโThe flaw resides in net/ipv4/tcp_ipv4.c and net/ipv4/af_inet.c within the connection request handling logic for IPv4 sockets. When a TCP SYN packet arrives with IP options (e.g., Timestamp, Security, or Routing options), the incoming options are stored in an allocated inet_request_sock via ireq_opt.
/* Vulnerable deallocation path prior to RCU patch */void tcp_v4_reqsk_destructor(struct request_sock *req){ struct inet_request_sock *ireq = inet_rsk(req);
if (ireq->ireq_opt) kfree(ireq->ireq_opt); /* Direct free without RCU grace period! */}Under high concurrency, SYN retransmissions or request socket handovers between CPU cores cause tcp_v4_reqsk_destructor to invoke kfree(ireq->ireq_opt) while another CPU core is simultaneously parsing those exact options inside tcp_v4_send_synack() or MPTCP subflow setup. Because the memory was not freed with kfree_rcu(), a use-after-free window opens.
Attacker SYN + IPv4 Options โโโโโโโโโบ [Core 0: Allocate ireq_opt] โRetransmitted SYN / Socket Reset โโโโโโโบ [Core 1: kfree(ireq->ireq_opt)] โโโบ SLAB/SLUB Free โCore 0: tcp_v4_send_synack() โโโโโโโโโบ [Reads freed ireq_opt pointer] โโโบ [KERNEL PANIC / UAF EXPLOIT]2. Exploitation Mechanics & Cloud Blast Radius
Section titled โ2. Exploitation Mechanics & Cloud Blast Radiusโ- Pre-Authentication Network Vector: The attacker requires no credentials, certificates, or interaction. Any reachable TCP listener (port 80, 443, 22, 8080) on a Linux system is vulnerable.
- Heap Grooming via MPTCP & eBPF: Security researchers demonstrated that when Multipath TCP (MPTCP) or socket migration features are enabled, predictable heap chunk reallocation can be achieved by spraying controlled socket options payloads.
- Container Breakout & Host Takeover: Because the networking stack executes inside the shared kernel ring 0, an attacker triggering this flaw against a containerized workload can compromise the entire host operating system.
3. Threat Intelligence & Indicators of Compromise (IOCs)
Section titled โ3. Threat Intelligence & Indicators of Compromise (IOCs)โActionable Network & Host Indicators
Section titled โActionable Network & Host Indicatorsโ| Indicator Type | Observable / Indicator | Attribution & Role | Status |
|---|---|---|---|
| Network Protocol | IPv4 TCP SYN with IP options (ip[0] & 0x0f > 5) | Non-standard IP options (LSRR/SSRR/RR) used to trigger ireq_opt allocation | ANOMALOUS |
| Traffic Pattern | Micro-bursts of SYN retransmissions on TCP 80/443 | Heap spraying pattern designed to groom kmalloc-128/kmalloc-256 slabs | SUSPICIOUS |
| Kernel Log | dmesg: KASAN: slab-use-after-free in tcp_v4_conn_request | Memory corruption detection trace under hardened kernels | CONFIRMED |
| Kernel Crash | dmesg: BUG: unable to handle page fault at ... in tcp_v4_rcv | Crash signature resulting from freed pointer dereference | CONFIRMED |
| Compensating Filter | iptables -I INPUT -p tcp -m ipv4options --any-opt -j DROP | Edge packet drop rule neutralizing option-based triggers | DEFENSIVE |
4. Upstream Fix & Release Matrix
Section titled โ4. Upstream Fix & Release MatrixโUpstream kernel maintainer Eric Dumazet introduced a patch that converts option deallocation to use RCU-safe memory release via kfree_rcu():
/* Upstream Fix: RCU-safe deallocation in net/ipv4/tcp_ipv4.c */if (ireq->ireq_opt) kfree_rcu(ireq->ireq_opt, rcu);Version & Patch Matrix
Section titled โVersion & Patch Matrixโ| Kernel Branch | Vulnerable Versions | Patched Release | Patch Status |
|---|---|---|---|
| Linux 6.12 | 6.12.0 | 6.12.1 | Upstream Stable Release |
| Linux 6.6 (LTS) | < 6.6.60 | 6.6.60 | Long-Term Support Backport |
| Linux 6.1 (LTS) | < 6.1.116 | 6.1.116 | Long-Term Support Backport |
| Linux 5.15 (LTS) | < 5.15.170 | 5.15.170 | Long-Term Support Backport |
| Linux 4.4 โ 5.10 | All versions | Migrate to supported LTS | Extended Security Maintenance |
5. Remediation Steps
Section titled โ5. Remediation Stepsโ- Apply Distribution Kernel Updates:
- RHEL / Rocky / AlmaLinux:
dnf upgrade kernel - Debian / Ubuntu:
apt-get update && apt-get install --only-upgrade linux-image-generic - AWS AL2023:
dnf update kernel
- RHEL / Rocky / AlmaLinux:
- Reboot or Apply Livepatch: Execute system reboot or apply kpatch/canonical-livepatch to ensure the running kernel reflects the upstream fix.
- Ingress Filtering (Compensating Control):
Where immediate reboots are restricted, configure perimeter edge firewalls or eBPF filters (XDP) to drop incoming IPv4 packets containing non-standard IP options (
ip[0] & 0x0f > 5).
CVE-2026-98432: Linux Kernel IPv4 TCP Handshake Options Use-After-Free Remote Code ExecutionVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Linux Kernel Core documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)