Re: [PATCH 5.10.y] tcp: clear sock_ops cb flags before force-closing a child socket
From: Sasha Levin
Date: Wed Sep 09 2026 - 16:27:02 EST
> A child socket inherits the listener's bpf_sock_ops_cb_flags via
> sk_clone_lock(). If its setup fails in tcp_v4_syn_recv_sock() /
> tcp_v6_syn_recv_sock(), the child is freed through put_and_exit, where
> inet_csk_prepare_forced_close() drops the socket lock and tcp_done() runs
> without it.
Queued for 5.10, thanks.
--
Thanks,
Sasha