Hello: This series was applied to bpf/bpf.git (master) by Martin KaFai Lau <[email protected]>:
On Tue, 14 Apr 2026 16:13:14 +0200 you wrote: > Updating sockmap/sockhash using a unix sock races unix_stream_connect(): > when sock_map_sk_state_allowed() passes (sk_state == TCP_ESTABLISHED), > unix_peer(sk) in unix_stream_bpf_update_proto() may still return NULL. > > Signed-off-by: Michal Luczaj <[email protected]> > --- > Changes in v4: > - Circle back to v1 approach > - More details in commit messages [Martin] > - Make unix iter take the state lock [Kaniyuki] > - Link to v3: > https://lore.kernel.org/r/20260306-unix-proto-update-null-ptr-deref-v3-0-2f0c7410c...@rbox.co > > [...] Here is the summary with links: - [bpf,v4,1/5] bpf, sockmap: Annotate af_unix sock::sk_state data-races https://git.kernel.org/bpf/bpf/c/a25566084e39 - [bpf,v4,2/5] bpf, sockmap: Fix af_unix iter deadlock https://git.kernel.org/bpf/bpf/c/4d328dd69538 - [bpf,v4,3/5] selftests/bpf: Extend bpf_iter_unix to attempt deadlocking https://git.kernel.org/bpf/bpf/c/997b8483d44c - [bpf,v4,4/5] bpf, sockmap: Fix af_unix null-ptr-deref in proto update https://git.kernel.org/bpf/bpf/c/dca38b7734d2 - [bpf,v4,5/5] bpf, sockmap: Take state lock for af_unix iter https://git.kernel.org/bpf/bpf/c/64c2f93fc325 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html

