CVE-2026-143150: Linux Kernel TCP Fast Open Use-After-Free in accept() Processing

Written by Uptycs Threat Research | Dec 4, 2026, 4:28 AM UTC

Severity: High (CVSS 3.1 8.1) · Exploitation: No known exploitation · Fix available: Yes

Summary

CVE-2026-143150 is a use-after-free vulnerability in the Linux kernel's TCP Fast Open (TFO) implementation, specifically in the inet_csk_accept() and reqsk_fastopen_remove() code paths. A race condition introduced by commit e3d95ad7da4f ("inet: avoid fastopen lock for regular accept()") allows inet_csk_accept() to drop the last reference to a request_sock while reqsk_fastopen_remove() is still operating on it, freeing the structure prematurely. If the freed memory is subsequently reallocated to a new request_sock, a stale pointer can cause a write into freed memory via rskq_rst_tail. The flaw was disclosed on 3 December 2026 and fixes have been committed to the Linux kernel stable trees.

Technical details

The root cause is a lock-ordering race. reqsk_fastopen_remove() clears the tfo_listener flag on a request_sock while holding fastopenq.lock, then continues to dereference the structure. Concurrently, inet_csk_accept() reads tfo_listener without holding the lock; if it observes the already-cleared value, it skips the lock and drops the final reference to the same request_sock, potentially freeing it while the other thread is still using it. If the freed slab is reused for a new request_sock whose req->sk is NULL, the reset path in reqsk_fastopen_remove() appends it to the original listener's RST list; a subsequent append then writes through a stale rskq_rst_tail pointer into freed memory.

The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects that exploitation requires no authentication or user interaction but does depend on high attack complexity — specifically, the ability to send TCP packets (including RST or ACK segments) that trigger the race window during Fast Open connection establishment. The exact conditions needed to reliably win the race from a remote position are not fully public. KASAN confirmed the write-after-free at reqsk_fastopen_remove+0x142/0x210 during kernel testing.

Affected products

Impact

Exploitation status

There is no evidence of in-the-wild exploitation at the time of publication, and this CVE does not appear on the CISA Known Exploited Vulnerabilities catalog. No public proof-of-concept exploit code has been identified. Despite the absence of active exploitation, the High CVSS score, remote attack surface, and heap corruption primitive warrant prompt patching, particularly on internet-facing hosts with TCP Fast Open enabled.

Recommended actions

  1. Upgrade the Linux kernel to a fixed version: 6.18.66 or later in the 6.18.x series, 7.3.7 or later in the 7.3.x series, or 7.4-rc3 or later, which include commits b6410a98a09e, 8a8043bb3b70, and 62754aad50d0.
  2. If an immediate kernel upgrade is not possible, consider disabling TCP Fast Open on affected systems as an interim mitigation. On Linux, this can be done by setting net.ipv4.tcp_fastopen to 0 via sysctl.
  3. Verify the applied fix by confirming the running kernel version with uname -r and cross-referencing against the fixed versions listed above.
  4. Review kernel logs for KASAN reports referencing reqsk_fastopen_remove, tcp_check_req, or slab-use-after-free in TCP receive paths, which may indicate exploitation attempts or related instability.
  5. Audit exposure by identifying internet-facing hosts where TCP Fast Open is explicitly enabled and prioritize those systems for immediate patching.

How Uptycs helps

Uptycs vulnerability management continuously inventories Linux kernel versions across hosts, containers, and cloud workloads, enabling security teams to rapidly identify and prioritize assets affected by CVE-2026-143150. Uptycs Threat Research continues to monitor this vulnerability for exploitation activity and will update this bulletin if the status changes.

References