CVE-2026-142864
Description
In the Linux kernel, the following vulnerability has been resolved:
mptcp: fix MP_CAPABLE token migration when cloning reqsk
TCP request migration clones pending request sockets with inet_reqsk_clone(). For MPTCP MP_CAPABLE requests this byte-copies the token_node hlist state into the clone even though the token table still names the original request, and the following warning can be seen:
WARNING: net/mptcp/token.c:364 at mptcp_token_destroy_request+0x2b0/0x330, CPU#2: swapper/2/0 CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 7.2.0-rc5-00353-gc27e36054537 #10 PREEMPT(full) RIP: 0010:mptcp_token_destroy_request (net/mptcp/token.c:364 (discriminator 1)) Call Trace:
subflow_v4_req_destructor (net/mptcp/subflow.c:694) __reqsk_free (net/ipv4/inet_connection_sock.c:906) reqsk_timer_handler (include/net/request_sock.h:137 net/ipv4/inet_connection_sock.c:1147) call_timer_fn (kernel/time/timer.c:1748)
Move token request ownership from the original request to the clone under the token bucket lock. Make mptcp_token_accept() and mptcp_token_destroy_request() re-check token_node under the same lock and treat an already moved or removed request as a normal race instead of warning. This also keeps token bucket chain_len accounting balanced.
If a passive MP_CAPABLE socket cannot claim the token, destroy the provisional MPTCP socket and let the subflow fall back rather than installing a socket with mismatched token ownership. Mark that path as a passive handshake fallback so MPCapableFallbackACK records the downgrade.
If the speculative clone later loses the inet_ehash_insert() ownership arbitration, the original request may find that its token was already moved and fall back to plain TCP. The clone destructor then releases the token reservation and keeps chain_len balanced. This trades an exceptionally rare fallback for eliminating the warning and persistent accounting drift.
Affected products
1Patches
Vulnerability mechanics
References
7- git.kernel.org/stable/c/05a09cd6a5ef8df16dcfb041e05ae0bee71787b1nvd
- git.kernel.org/stable/c/0b818b9d0e2fb4ade043a4d3ff402cef3cdf7f25nvd
- git.kernel.org/stable/c/2093bc7fa50056fef8620d2b82bcb2e9a0a5575dnvd
- git.kernel.org/stable/c/4a6f2332f42fa49b8e90ffa663eb285e697e1a22nvd
- git.kernel.org/stable/c/50de3e241b0ffcec04c1fc0220759e9e946fa582nvd
- git.kernel.org/stable/c/6ee87cd8ff4b8b5b6d14837b9f9cf8b112082f73nvd
- git.kernel.org/stable/c/7f3ea4dc421718f51b9b123df8bffeeed1aab4b4nvd
News mentions
0No linked articles in our index yet.