Toolkit for CVE-2026-98432 Linux TCP use-after-free: kernel patch checks, race oracle triggering, pcap UAF analysis, KASLR slide recovery, and nftables hardening.

Ethical Use Only – Authorized Security Testing
This repository provides tools for authorized security professionals, blue teams, and penetration testers only. Unauthorized access to computer systems is illegal under CFAA (US), Computer Misuse Act (UK), TCK 243/244 (Turkey), and similar laws worldwide.

CVE-2026-98432 is a use-after-free in the Linux kernel's IPv4 TCP stack. An incoming SYN carrying IPv4 options causes the kernel to save a copy of those options on the request socket. If the SYN is retransmitted at the right moment, one CPU can free that copy while another is still reading it to build the SYN-ACK, resulting in a use-after-free in ip_options_build().
A second trigger exists when the server migrates pending connection requests between sockets (net.ipv4.tcp_migrate_req=1, or a BPF_SK_REUSEPORT_SELECT_OR_MIGRATE program). Both triggers share the same root cause: inet_sock_destruct() and tcp_v4_reqsk_destructor() free the options with a plain kfree() instead of waiting for an RCU grace period.
tcp_v4_save_options() stores the incoming IPv4 options (ireq_opt) on the request socket.tcp_v4_syn_recv_sock() hands ireq_opt to the child socket without copying it.inet_sock_destruct() releases inet_opt with a plain kfree().tcp_v4_send_synack() → ip_options_build(), which reads the already-freed options.The upstream fix is commit e3f33b0a1d89 ("ipv4: free inet_opt and ireq_opt after an RCU grace period"), which converts both frees to kfree_rcu(). IPv6 is not affected by the main issue.
| Distribution | Status | Fixed version |
|---|---|---|
| RHEL 8 | Fixed | 4.18.0-553.182.1.el8_10 |
| RHEL 9 | Fixed | 5.14.0-687.64.1.el9_8 |
| RHEL 10 | Fixed | 6.12.0-211.72.1.el10_2 |
| AlmaLinux 8/9/10 | Testing repo | See AlmaLinux advisory |
| Ubuntu 22.04 | -proposed only | 5.15.0-203.213 |
| Ubuntu 24.04 | -proposed only | 6.8.0-149.149 |
| Debian 12 | Fixed | 6.1.190-1 |
| Debian 13 | Fixed | 6.12.113-1 |
| Amazon Linux 2023 | Fixed (some branches) | Check AWS bulletin |
| Amazon Linux 2 | Pending | — |
| SUSE | Varies | Check SUSE tracker |
5.15.0-xxx with the upstream numbers. Check the vendor's own security tracker.| Date | Observation | Source |
|---|---|---|
| 2026-11-06 | RHEL 8/9/10 received fixed kernels (RHSA-2026:93412, 93413, 93414). AlmaLinux published patched kernels in the testing repository. Ubuntu 22.04/24.04/26.04 fixes remain in -proposed. | Red Hat Errata · AlmaLinux Blog · Ubuntu CVE Tracker |
| 2026-11-04 | Ubuntu 22.04 LTS (and newer) still has the fix only in -proposed; standard -updates users remain on a vulnerable kernel until the fix is promoted. MPTCP is enabled by default on affected releases, though the bug is not MPTCP-specific. | Ubuntu CVE Tracker · Ubuntu Blog – Fixes in -proposed |
| 2026-11-02 | AWS confirms the flaw affects Linux kernel 4.4+ and that Ubuntu-based Lightsail blueprints are in scope; mitigation is to install a patched kernel or apply a temporary firewall rule dropping IPv4 TCP packets with IP options. | AWS Docs – Address CVE-2026-98432 on Lightsail |
| 2026-10-15 | Official kernel CVE announcement: the root cause is the missing RCU grace period before kfree() of inet_opt / ireq_opt; fixed in 5.10.272, 5.15.223, 6.1.190, 6.6.159, 6.12.113, 6.18.56, 7.2.10, 7.3-rc7. | Linux CVE Announce – Openwall |
Note: These observations confirm exposure (vulnerable kernel + default MPTCP on stock Ubuntu) and the official fix status; they are not a confirmation that the exploit in this repository executed successfully on any specific host.