Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-98432-Linux-IPv4-TCP-IP-Use-After-Free — Advisory and detection guide for CVE-2026-98432, a Linux IPv4 TCP request-socket use-after-free: root-cause analysis, patch diff, exposure checks, and Suricata/nftables detection rules. | Kitploit
Tools/GitHubGitHub/certbn/cve-2026-98432-linux-ipv4-tcp-ip-use-after-free
Defensive ToolsVulnerability AnalysisConfiguration AuditingNetwork SecurityThreat IntelligencePapers & ResearchIncident Response
GitHub
Share
certbn/cve-2026-98432-linux-ipv4-tcp-ip-use-after-free

CVE-2026-98432-Linux-IPv4-TCP-IP-Use-After-Free

Advisory and detection guide for CVE-2026-98432, a Linux IPv4 TCP request-socket use-after-free: root-cause analysis, patch diff, exposure checks, and Suricata/nftables detection rules.

View Repository
15 days agoNot yet reviewed

CVE-2026-98432: Linux Kernel IPv4 TCP Handshake IP Options Use-After-Free

CVSS Type KEV Status

Document as of: 2026-11-05 (KST). Distribution patch status is based on publicly available data as of 2026-11-03 and may change thereafter; always re-check each distribution's security tracker before applying. The "estimated" label in this document indicates content not confirmed by primary sources (kernel CNA, patch commits, vendor advisories).


📌 TL;DR

  • What: The IP options memory of an IPv4 TCP request socket is freed immediately via kfree() without an RCU grace period, causing a Use-After-Free (UAF) in which another CPU reads freed memory during SYN-ACK retransmission.
  • Where: All Linux kernels since 4.4 prior to the fix, and any host with an IPv4 TCP listening port (including container hosts and Kubernetes nodes). It is reachable remotely and unauthenticated at a stage before application authentication.
  • How dangerous: CVSS 3.1 9.8 (Critical) per the kernel CNA. Kernel heap information disclosure, memory corruption, and crashes are possible, and remote root execution in an MPTCP listener environment was demonstrated at laboratory level (code not public). As of 2026-11-03 there are no reports of actual exploitation, and it is not listed in CISA KEV.

📋 Basic Information

ItemDetails
CVE IDCVE-2026-98432
Disclosure date2026-10-15 (CVE record published, kernel CNA). Reserved 2026-09-25
Affected products/versionsLinux kernel, from the introducing commit 079096f103fa ("tcp/dccp: install syn_recv requests into ehash table", Linux 4.4) through before the fix commit. The request socket migration path is since c905dee62232
Affected filesnet/ipv4/af_inet.c (inet_sock_destruct()), net/ipv4/tcp_ipv4.c (tcp_v4_reqsk_destructor())
Patched versions (upstream)7.3 / 7.2.10 / 6.18.56 / 6.12.113 / 6.6.159 / 6.1.190 / 5.15.223 / 5.10.272. The 4.4–5.4 series are upstream EOL and depend on distribution patches
Fix commite3f33b0a1d89 "ipv4: free inet_opt and ireq_opt after an RCU grace period" (authored by Eric Dumazet, reviewed by Kuniyuki Iwashima, merged into the net tree 2026-10-05)
CVSS v3.19.8 Critical — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (assigned by the kernel CNA on 2026-10-24. Red Hat also raised it from Important to Critical 9.8 on 2026-10-30)
CVSS v3.1 (vendor differences)Oracle, SUSE, Amazon: 8.1 (AC:H applied), Ubuntu priority: High
CVSS v4.0Reported as 8.3 in the Ubuntu tracker. The vector string could not be confirmed from primary sources at the time of writing this document
CWEKernel CNA/NVD: unspecified. Red Hat: CWE-825 (Expired Pointer Dereference). Some analyses classify it as CWE-416
NVD statusReceived as of 2026-10-29 (NVD's own analysis not yet complete)
ReporterXinyang Ge (Anthropic)
Actual exploitationNo reports of actual exploitation (as of 2026-11-03, no evidence of exploitation known to AWS). Not listed in CISA KEV. Anthropic Frontier Red Team disclosed on 2026-10-27 that it implemented a remote root exploit targeting an MPTCP listener in a laboratory (code and test environment not public)

Timeline

Date (2026)Event
09-25Kernel CNA reserves CVE number
10-01Eric Dumazet posts patch to mailing list (Reported-by: Xinyang Ge)
10-05Networking tree merge (e3f33b0a1d89)
10-117.2.10, 6.18.56 releases (includes 7.3-rc7)
10-15CVE record published; 6.12.113 / 6.6.159 / 6.1.190 / 5.15.223 / 5.10.272 releases
10-16Oracle Linux UEK erratum released
10-187.3 official release
10-24Kernel CNA assigns CVSS 9.8
10-27Anthropic mentions public disclosure of a laboratory remote root exploit written by a Claude research model
10-29Go Security Team notice regarding MPTCP enabled by default for Go 1.24+ listeners
10-30Red Hat raises severity to Critical (9.8); AlmaLinux testing repository patch
11-01 ~ 11-03RHEL 8.10/9.8/10.2 and EUS streams, AlmaLinux, Oracle RHCK, Ubuntu 26.10 patch releases

🔍 Root Cause Analysis

Background

  • Request Socket: A lightweight structure (TCP_NEW_SYN_RECV) that holds connection state after receiving a SYN until the 3-way handshake completes. Once the handshake finishes, a proper child socket is created.
  • IPv4 options: Optional fields in the IPv4 header (Record Route, Timestamp, etc.). When options are present, the IHL (Internet Header Length) becomes larger than 5 (20 bytes). The kernel stores the SYN's options in ireq_opt in order to reflect them in the SYN-ACK response.
  • RCU (Read-Copy-Update): A synchronization technique in which readers access data without locking using only rcu_read_lock(), while the freeing side defers freeing until all reads have completed (grace period). To honor this contract, the freeing side must use kfree_rcu()/call_rcu().

What

tcp_v4_syn_recv_sock() transfers ownership of the request socket's ireq->ireq_opt pointer to the child socket's newinet->inet_opt without copying. Later, when the child socket is destroyed, inet_sock_destruct() frees this memory immediately with kfree().

Why

  1. Since commit 079096f103fa (Linux 4.4), SYN_RECV request sockets are registered in the ehash table, so other CPUs can reference the same request socket even after the handshake completes.
  2. Other CPUs processing retransmitted SYNs read ireq_opt via the tcp_check_req() → tcp_v4_send_synack() / inet_csk_route_req() path while holding only rcu_read_lock().
  3. However, TCP child sockets lack the SOCK_RCU_FREE flag, and the freeing side uses plain kfree(). In other words, the root cause is a mismatch: the read side assumes RCU, but the freeing side does not observe the RCU grace period.
  4. As a result, ip_build_and_send_pkt() → ip_options_build() reads the freed options structure (optlen, etc.), causing stale data to be returned to the peer (information leak), out-of-bounds writes (memory corruption), or a crash.

The same problem also exists in the request socket migration path. When net.ipv4.tcp_migrate_req=1 or a BPF_SK_REUSEPORT_SELECT_OR_MIGRATE program is used, reqsk_timer_handler() clones the request socket via inet_reqsk_clone(), so the old and new request sockets share the same ireq_opt, which is then freed immediately in the same manner in tcp_v4_reqsk_destructor() (disabled by default).

For reference, other paths that replace inet_opt (do_ip_setsockopt(), cipso_v4_sock_setattr()) were already using kfree_rcu().

How — Race Window

CPU A (연결 정리)                     CPU B (재전송 SYN 처리)
─────────────────                     ───────────────────────
핸드셰이크 완료, 자식 소켓 생성
ireq_opt → inet_opt 포인터 이전        재전송된 SYN 도착
(복사 없음)                            tcp_check_req()가 요청 소켓 매칭
                                       rcu_read_lock()
연결 종료                              tcp_v4_send_synack() 가 ireq_opt 참조
inet_sock_destruct():                  
  kfree(inet_opt)   ── 즉시 해제 ──▶   ip_options_build() 가 해제된 메모리 읽기 (UAF)
                                       rcu_read_unlock()

Patch diff comparison (Before / After)

The fix is a change that replaces kfree() in the two destructors with kfree_rcu() (-2/+2 based on the diff).

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    589
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    361
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    339
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    324
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    322

Explore all tools

Browse our collection of tools

View all tools →