In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: kernel: use RCU to free endpoint listeners mptcp_pm_nl_create_listen_socket() starts the TCP listener directly instead of going through mptcp_listen(). It consequently misses setting SOCK_RCU_FREE on the parent MPTCP socket. tcp_child_process() can invoke the listener's subflow_data_ready() callback without holding the MPTCP parent lock or a reference to the parent. An authenticated MP_JOIN racing with endpoint teardown can therefore access the parent after its last reference has been dropped. The ADD_ADDR error path can also close an already published listener. Set SOCK_RCU_FREE before __inet_listen_sk() publishes the TCP listener, matching mptcp_listen(). This protects the parent on every subsequent close path, including a failed endpoint addition.
https://git.kernel.org/stable/c/c457824f76e95e10356c35c61ffc9d79b8c54228
https://git.kernel.org/stable/c/78856ded7ec7995e8a05cdc9d08df4c5a62479aa
https://git.kernel.org/stable/c/49b09ae0bf57b4230187d4cdd0a370558e44a6e8
https://git.kernel.org/stable/c/2004c8fdb1b588188f6a17398782da4551f22be5