Hello, On 03/12/2026 22:51, netd…@kernel.org wrote: (...)
> [Severity: Medium] > Is the passive side covered when accept() takes the msk lock before > mptcp_worker() has handled the emulated DATA_FIN?
(...)
> Could the pending DATA_FIN be processed before mptcp_set_state(newsk, > TCP_CLOSE) in mptcp_stream_accept()?
Yes. This race is a separate issue, so a different commit. It is fixed by a patch already in the MPTCP tree, for a next batch: https://lore.kernel.org/2026…@kernel.org
> [Severity: Low] > Can the lockless READ_ONCE(msk->rcv_data_fin) check in mptcp_close_ssk() > race with the subflow side?
(...)
> This is a rare corner case. It needs a userspace PM (CAP_NET_ADMIN) > tearing down the only subflow of a fallback connection, plus precisely > timed peer packets.
Indeed, and the error is then reported as before this patch. So no need to modify this patch here. Cheers, Matt
-- Sponsored by the NGI0 Core fund.