Exploit database

Vulnerability

CVE-2026-98432

ipv4: free inet_opt and ireq_opt after an RCU grace period

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · Linux

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

In the Linux kernel, the following vulnerability has been resolved: ipv4: free inet_opt and ireq_opt after an RCU grace period tcp_v4_syn_recv_sock() transfers ownership of ireq->ireq_opt to the child socket (newinet->inet_opt) without copying it. Another cpu can concurrently process a retransmitted SYN for the same request socket, and send a SYNACK from tcp_check_req(). tcp_v4_send_synack() and inet_csk_route_req() read ireq->ireq_opt under rcu_read_lock() only, and ip_build_and_send_pkt() and ip_options_build() then read opt->optlen twice. Note that the SYNACK timer itself is not an issue: it holds a reference on its request socket, and inet_csk_reqsk_queue_drop() calls timer_delete_sync() before the child can be freed. Since commit 079096f103fa ("tcp/dccp: install syn_recv requests into ehash table"), request sockets are processed without holding the listener lock, so nothing prevents the child socket from being freed while the SYNACK is still being built. TCP child sockets do not have SOCK_RCU_FREE, and inet_sock_destruct() frees inet_opt with a plain kfree(), leading to a use-after-free in ip_options_build(). A similar issue exists with request socket migration (net.ipv4.tcp_migrate_req=1, or a BPF_SK_REUSEPORT_SELECT_OR_MIGRATE program). reqsk_timer_handler() clones the request socket with inet_reqsk_clone(), so that the old request socket and its clone share the same ireq_opt, then reqsk_migrate_reset() clears the pointer in the old one. Another cpu holding a reference on the old request socket can still be using these options (sending a SYNACK, or creating a child in tcp_v4_syn_recv_sock()) when the clone is freed, and tcp_v4_reqsk_destructor() also uses a plain kfree(). Readers already use RCU, and other paths replacing inet_opt (do_ip_setsockopt(), cipso_v4_sock_setattr()...) already use kfree_rcu(). Use kfree_rcu() in inet_sock_destruct() and tcp_v4_reqsk_destructor() as well. IPv6 is not affected by the first issue, because tcp_v6_syn_recv_sock() duplicates the options. tcp_v6_reqsk_destructor() has the same migration issue with ipv6_opt, which is only set by CALIPSO. This will be addressed in a separate patch.

CVE Program

Exploit source choices

33 sources
tc4dy/cve-2026-98432-poc-exploit
GH-dc826f873c8b8c34629e3e9d11c155edGitHubUnofficial GitHub sourcePreferred

CVE-2026-98432 (CVSS 9.8) Linux IPv4 TCP use-after-free Red/Blue team toolkit. Kernel exposure checks, live marker-based race proof, KASLR slide recovery from captures, pcap analysis, and one-shot host hardening. Interactive menu or direct flags, zero setup & dependencies, Python. Built for authorized security testing.

2026-10-3020 files · 48 stars
alucard0x1/cve-2026-98432
GH-c8591d2e48bbd722deab8588eb9d94caGitHubUnofficial GitHub source

Proof-only PoC for CVE-2026-98432 (Linux IPv4/TCP ireq_opt use-after-free): race trigger, heap-reuse oracle, no code execution

2026-10-304 files · 33 stars
ylh440104/cve-2026-98432-chain
GH-0dde53120b55f808d68d0b11846702faGitHubUnofficial GitHub source

CVE-2026-98432 exploitation notes and stage skeletons (all kernel offsets redacted)

2026-11-106 files · 22 stars
h1z3-br0/cve-2026-98432
GH-64512fbefaddfbf371789d6022482152GitHubUnofficial GitHub source

Race trigger, heap-reuse oracle, pcap analysis, detection and mitigation tooling for CVE-2026-98432 (Linux IPv4/TCP ireq_opt use-after-free).

2026-10-30142 files · 18 stars
xen0bit/netprobe-cve-2026-98432
GH-0238f880313568703322738902279403GitHubUnofficial GitHub source

You should patch, but not worry about CVE-2026-98432

2026-10-3092 files · 18 stars
rootagi/cve-2026-98432
GH-51adea3e8db6ecf0a1c1acacb0539030GitHubUnofficial GitHub source

A working exploit for the child-close Path A instance of CVE-2026-98432. Tested on four 7.2 range kernals

2026-11-0958 files · 14 stars
typhoon1217/cve-2026-98432-mitigation
GH-116f106fd375080f74dd3573635df321GitHubUnofficial GitHub source

Temporary mitigation for CVE-2026-98432 (Linux IPv4 TCP ireq_opt use-after-free): drop IPv4 TCP with IP options, disable MPTCP. Tested scripts + verification. EN/KO.

2026-10-2910 files · 12 stars
googlesky/cve-2026-98432
GH-8526f60887ae774ba835fbcd60455bfdGitHubUnofficial GitHub source

PoC for CVE-2026-98432 (Linux kernel IPv4 TCP inet_opt/ireq_opt use-after-free, CVSS 9.8): KASAN-verified UAF reproduction in inet_csk_route_req with A/B fixed-kernel control

2026-10-3119 files · 10 stars
akamai/cve-2026-98432-validation-mitigation
GH-bbd3f8bebf34e2d068df611f4434c88aGitHubUnofficial GitHub source

Read-only patch-state and exposure check for CVE-2026-98432 (Linux kernel IPv4 TCP use-after-free, CVSS 9.8), with opt-in interim mitigation and exact rollback.

2026-10-303 files · 9 stars
jamilbk/drop-ipv4-opt
GH-50f2f337535bbd133140d04dd08756b7GitHubUnofficial GitHub source

XDP program to mitigate CVE-2026-98432

2026-11-016 files · 5 stars
hardenedlinux/linux-rce-poc
GH-3a138bbc20cb94569c8c8258521638abGitHubUnofficial GitHub source

CVE-2026-98432 — Linux IPv4/TCP use-after-free lab

2026-11-18140 files · 4 stars
infokom-ki/cve-2026-98432-wazuh-
GH-fbd2b162797fdd970b86629f4f00073eGitHubUnofficial GitHub source

CVE-2026-98432 UAF Detection for Wazuh

2026-11-055 files · 4 stars
bitwire-it/probe-cve-2026-98432
GH-17852bc86546188433c46bb9c2d8ca44GitHubUnofficial GitHub source

Local kernel version checker, remote MPTCP capability probe, and interactive scan-and-probe CLI for assessing exposure to the Linux kernel IPv4 TCP use-after-free (CVSS 9.8).

2026-10-304 files · 3 stars
ndeet/cve-2026-98432
GH-833aa327bf607364c3c55ef3fdd59c2fGitHubUnofficial GitHub source

Stopgap firewall mitigation for CVE-2026-98432 on Ubuntu 16.04/24.04

2026-10-315 files · 2 stars
nsrg-fmlorg/kpatch-cve-2026-98432
GH-4045dceca247f65a368990a7b0246c84GitHubUnofficial GitHub source

kpatch livepatch for CVE-2026-98432 (and CVE-2026-99999) on AlmaLinux and Rocky Linux 8, 9 and 10

2026-10-291,410 files · 2 stars
offline-ant/tcp2kaslr
GH-12fdb11b545b895c752f02cc03572491GitHubUnofficial GitHub source

CVE-2026-98432: a plain IPv4 TCP server is vulnerable, MPTCP is not the trigger. Bug trigger, evidence and analysis.

2026-10-3022 files · 2 stars
quaerendir/cve-2026-98432-audit
GH-ef1a4192a9489799de29cad3fb99875cGitHubUnofficial GitHub source

cve-2026-98432 audit script (ipv4 TCP inet_opt/ireq_opt use-after-free)

2026-10-2926 files · 2 stars
thiscitze/cve-2026-98432-root-shell
GH-5f717e69f08a4cdd4f1d6a6c5be075f6GitHubUnofficial GitHub source

CVE-2026-98432 - Linux IPv4/TCP lab root-shell kit (by thiscitze)

2026-11-0211 files · 2 stars
axisops/cve-2026-98432
GH-3ce7ce566719bd9f81e9bd98e0b09e26GitHubUnofficial GitHub source

Linux kernel IPv4 SYN IP-options use-after-free CVE-2026-98432 Mitigation work (Ansible Role)

2026-10-2913 files · 1 stars
davetha/cve-2026-98432
GH-3f477fea3f2e212abaad019e8f2e97aeGitHubUnofficial GitHub source

davetha/cve-2026-98432 source repository

2026-10-3010 files · 1 stars
omniversetr/omnicheck_cve-2026-98432
GH-9cb5e6b664077c77521f1c7a6c6a3e59GitHubUnofficial GitHub source

Non-destructive checker for CVE-2026-98432 (Linux kernel TCP use-after-free): patch status, exposed listeners and mitigation verification. By OMNIVERSE.

2026-11-0211 files · 1 stars
agency-tool-company/jetson-cve-2026-98432
GH-ce962ac3744599c7320b5902c89337f1GitHubUnofficial GitHub source

Backport of the upstream CVE-2026-98432 fix (ipv4 inet_opt/ireq_opt UAF, CVSS 9.8) to NVIDIA Jetson L4T kernels (JetPack 5/6/7), with KASAN validation evidence.

2026-11-2032 files · 0 stars
akaihigurashi/kernel98scan
GH-85ffad98724726d6df60c7c4ce68b405GitHubUnofficial GitHub source

Is your Linux host exposed to CVE-2026-98432?

2026-11-0227 files · 0 stars
alvaroguzmancode/cve-2026-98432
GH-5d9d4c1c39889c9094eee3e6716caf64GitHubUnofficial GitHub source

Detector and local lab for CVE-2026-98432 (IPv4 TCP UAF in inet_opt/ireq_opt): static analysis, kprobes, the tcp2kaslr trigger vector, and remote-risk evidence. Not an exploit; no RCE.

2026-10-3125 files · 0 stars
antonyantony/cve-2026-98432-nft
GH-81cc93de841fe3c994e784b042789f65GitHubUnofficial GitHub source

antonyantony/cve-2026-98432-nft source repository

2026-10-314 files · 0 stars
bigbiuewhale/cve-2026-98432-kernel-upgrade
GH-d978d0fb154fe45cadf0faa039e3b218GitHubUnofficial GitHub source

Safe kernel upgrade for CVE-2026-98432 on Ubuntu 24.04 with NVIDIA, and an analysis of the bug

2026-11-0244 files · 0 stars
cveforge/cve-2026-98432
GH-cdbdaff500ecc27fa8a5f7f5372ed8ddGitHubUnofficial GitHub source

Linux Kernel IPv4 Stack Out-of-Bounds Write — CVSS 9.8

2026-11-242 files · 0 stars