Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@xxxxxxxxxxxxx>: On Sat, 26 Mar 2022 18:43:46 +0800 you wrote: > When the link layer is terminating, x25->neighbour will be set to NULL > in x25_disconnect(). As a result, it could cause null-ptr-deref bugs in > x25_sendmsg(),x25_recvmsg() and x25_connect(). One of the bugs is > shown below. > > (Thread 1) | (Thread 2) > x25_link_terminated() | x25_recvmsg() > x25_kill_by_neigh() | ... > x25_disconnect() | lock_sock(sk) > ... | ... > x25->neighbour = NULL //(1) | > ... | x25->neighbour->extended //(2) > > [...] Here is the summary with links: - [net,V2] net/x25: Fix null-ptr-deref caused by x25_disconnect https://git.kernel.org/netdev/net/c/7781607938c8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html