CVE-2026-99634: mptcp: do not use Fast Open on MP_JOIN subflows
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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. ]
The Linux kernel CVE team has assigned CVE-2026-99634 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.8 with commit 90bf45134d55d626ae2713cac50cda10c6c8b0c2 and fixed in 6.12.118 with commit 763e4792e46965adf2f0598cec03c97ae8d384f6 Issue introduced in 5.8 with commit 90bf45134d55d626ae2713cac50cda10c6c8b0c2 and fixed in 6.18.64 with commit 3cb3b9f66a7feb13ba320757178d4cc2bd570102 Issue introduced in 5.8 with commit 90bf45134d55d626ae2713cac50cda10c6c8b0c2 and fixed in 7.3.5 with commit d6c89cdb5d2a242940caaddc45acce1e6bfdc967 Issue introduced in 5.8 with commit 90bf45134d55d626ae2713cac50cda10c6c8b0c2 and fixed in 7.4-rc2 with commit 6d2cf411aba2aa0bd641b49be5b1964ac5097a50
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99634
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/mptcp/subflow.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/763e4792e46965adf2f0598cec03c97ae8d384f6 https://git.kernel.org/stable/c/3cb3b9f66a7feb13ba320757178d4cc2bd570102 https://git.kernel.org/stable/c/d6c89cdb5d2a242940caaddc45acce1e6bfdc967 https://git.kernel.org/stable/c/6d2cf411aba2aa0bd641b49be5b1964ac5097a50