CVE-2026-99634 PUBLISHED

mptcp: do not use Fast Open on MP_JOIN subflows

Assigner: Linux
Reserved: 25.09.2026 Published: 20.11.2026 Updated: 22.11.2026

In the Linux kernel, the following vulnerability has been resolved:

mptcp: do not use Fast Open on MP_JOIN subflows

tcp_fastopen_create_child() hands the SYN packet itself to subflow_syn_recv_sock(). For an MP_JOIN request this takes the fatal fallback: the cloned child is destroyed and handed back with drop_req flagged, but tcp_fastopen_create_child() does not check the flag and queues it, so accept() can expose the freed child.

MP_JOIN cannot use Fast Open: data on a subflow requires the completed HMAC exchange (RFC 8684, sec. 3.2). Refuse it (only the TFO path passes a SYN skb here) and let tcp_conn_request() fall back to the regular MP_JOIN handshake; also strip the Fast Open cookie from MP_JOIN SYN/ACKs.

[ Moving code to avoid clearing TS and consolidating checks. ]

Metrics

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

AV:N - The triggering input is a routable TCP SYN carrying an MPTCP MP_JOIN option and a Fast Open cookie. tcp_v4_rcv or tcp_v6_rcv (LISTEN) calls tcp_rcv_state_process, which calls subflow_v4_conn_request or subflow_v6_conn_request and tcp_conn_request; tcp_try_fastopen passes that SYN skb into the patched subflow_syn_recv_sock. AC:L - The attacker completes an MP_CAPABLE handshake so subflow_token_join_request accepts its token, requests a TFO cookie (SipHash of the address pair), and sends an MP_JOIN SYN with that cookie. The SYN has no MPJ_ACK, so subflow_syn_recv_sock takes fallback_is_fatal and dispose_child, and tcp_fastopen_create_child still queues the child. No race or second party is required on a listener that already has TFO enabled. PR:N - Any remote host can open an MP_CAPABLE connection and read the token from the server key; subflow_check_req then accepts the MP_JOIN SYN with no credential check. The fatal fallback in subflow_syn_recv_sock happens because the SYN lacks OPTION_MPTCP_MPJ_ACK, before subflow_hmac_valid, so the join HMAC is never required. UI:N - The attacker sends the MP_JOIN SYN. tcp_conn_request queues the destroyed child and wakes the listener with sk_data_ready; mptcp_stream_accept is the server's existing accept loop. The retransmit timer started in tcp_fastopen_create_child drops the last sock ref even if that accept is delayed. S:U - The freed object is the child struct sock created by tcp_v4_syn_recv_sock or tcp_v6_syn_recv_sock for this host's MPTCP listener. Corruption stays in that host kernel and does not cross a guest/host or other security boundary. C:H - dispose_child calls inet_csk_destroy_sock, but tcp_fastopen_create_child ignores drop_req, queues the child, and arms a retransmit timer whose sock_hold is the last reference; tcp_write_timer later sock_puts it. mptcp_stream_accept then returns that freed sock through inet_csk_accept, a struct sock use-after-free that can disclose kernel memory. I:H - After subflow_ulp_fallback clears is_mptcp, __inet_accept grafts the freed child into a userspace fd on the TCP fallback path. A later close calls inet_csk_destroy_sock again via tcp_close, and reclaiming the sock slab lets the attacker steer writes through socket operations. A:H - The child is freed while it remains on the listener accept queue (req->sk) and while tcp_retransmit_timer is still armed. The next inet_csk_accept touches that memory in inet_init_csk_locks, and tcp_write_timer runs after the refcount hits zero, either of which oopses the host.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 90bf45134d55d626ae2713cac50cda10c6c8b0c2 to 763e4792e46965adf2f0598cec03c97ae8d384f6 (excl.)
  • affected from 90bf45134d55d626ae2713cac50cda10c6c8b0c2 to 3cb3b9f66a7feb13ba320757178d4cc2bd570102 (excl.)
  • affected from 90bf45134d55d626ae2713cac50cda10c6c8b0c2 to d6c89cdb5d2a242940caaddc45acce1e6bfdc967 (excl.)
  • affected from 90bf45134d55d626ae2713cac50cda10c6c8b0c2 to 6d2cf411aba2aa0bd641b49be5b1964ac5097a50 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.8 is affected
  • unaffected from 0 to 5.8 (excl.)
  • unaffected from 6.12.118 to 6.12.* (incl.)
  • unaffected from 6.18.64 to 6.18.* (incl.)
  • unaffected from 7.3.5 to 7.3.* (incl.)
  • unaffected from 7.4-rc2 to * (incl.)

References