Summary
A vulnerability in the Linux kernel's MPTCP implementation can let accept() expose an already-freed child socket when TCP Fast Open is used on MP_JOIN subflows. The source (CNA Linux) rates it CVSS 3.1 9.8, critical severity.
What happened
In the Linux kernel, tcp_fastopen_create_child() passes 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 returned 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, because data on a subflow requires the completed HMAC exchange (RFC 8684, sec. 3.2). The fix refuses this case, lets tcp_conn_request() fall back to the regular MP_JOIN handshake, and strips the Fast Open cookie from MP_JOIN SYN/ACKs.
Why it matters
The source assigns a CVSS 3.1 score of 9.8 (vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and critical severity. The vector indicates network access with no privileges or user interaction required. The source does not report known active exploitation, nor is the issue listed in CISA's KEV catalog, and it gives no further detail on concrete impact.
Affected products and versions
Linux (kernel): versions from commit 90bf45134d55d626ae2713cac50cda10c6c8b0c2 up to but not including commits 763e4792e46965adf2f0598cec03c97ae8d384f6, 3cb3b9f66a7feb13ba320757178d4cc2bd570102, d6c89cdb5d2a242940caaddc45acce1e6bfdc967 and 6d2cf411aba2aa0bd641b49be5b1964ac5097a50 (depending on the branch). Version 5.8 is also listed as affected; versions earlier than 5.8 are listed as unaffected. Versions 6.12.118 (6.12.* series), 6.18.64 (6.18.* series), 7.3.5 (7.3.* series) and 7.4-rc2 are listed as unaffected.
| Product | Versions | Fixed in |
|---|---|---|
| Linux Linux | >= 90bf45134d55d626ae2713cac50cda10c6c8b0c2, < 763e4792e46965adf2f0598cec03c97ae8d384f6 | — |
| Linux Linux | >= 90bf45134d55d626ae2713cac50cda10c6c8b0c2, < 3cb3b9f66a7feb13ba320757178d4cc2bd570102 | — |
| Linux Linux | >= 90bf45134d55d626ae2713cac50cda10c6c8b0c2, < d6c89cdb5d2a242940caaddc45acce1e6bfdc967 | — |
| Linux Linux | >= 90bf45134d55d626ae2713cac50cda10c6c8b0c2, < 6d2cf411aba2aa0bd641b49be5b1964ac5097a50 | — |
| Linux Linux | 5.8 | — |
| Linux Linux | < 5.8 | — |
| Linux Linux | 6.12.118 | 6.12.118 |
| Linux Linux | 6.18.64 | 6.18.64 |
| Linux Linux | 7.3.5 | 7.3.5 |
| Linux Linux | 7.4-rc2 | 7.4-rc2 |
Action recommended by the source
The source indicates the issue is resolved in versions 6.12.118, 6.18.64, 7.3.5 and 7.4-rc2, and publishes the fix commits on git.kernel.org (including 763e4792e46965adf2f0598cec03c97ae8d384f6, 3cb3b9f66a7feb13ba320757178d4cc2bd570102, d6c89cdb5d2a242940caaddc45acce1e6bfdc967 and 6d2cf411aba2aa0bd641b49be5b1964ac5097a50). The source does not mention other mitigations.
Fixed in: 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
Sources and references
- https://git.kernel.org/stable/c/763e4792e46965adf2f0598cec03c97ae8d384f6 — CVE Program
- https://git.kernel.org/stable/c/3cb3b9f66a7feb13ba320757178d4cc2bd570102 — CVE Program
- https://git.kernel.org/stable/c/d6c89cdb5d2a242940caaddc45acce1e6bfdc967 — CVE Program
- https://git.kernel.org/stable/c/6d2cf411aba2aa0bd641b49be5b1964ac5097a50 — CVE Program
Relevant change history
Published
Advisory published.