Re: [syzbot] [net?] general protection fault in add_wait_queue

Hillf Danton
2025-02-04T00:35:17Z

On Mon, 03 Feb 2025 01:57:20 -0800
> syzbot found the following issue on:
>
> HEAD commit: c2933b2befe2 Merge tag 'net-6.14-rc1' of git://git.kernel...
> git tree: net-next
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12418518580000

#syz test

--- x/net/vmw_vsock/af_vsock.c
+++ y/net/vmw_vsock/af_vsock.c
@@ -824,13 +824,12 @@ static void __vsock_release(struct sock
*/
lock_sock_nested(sk, level);

- sock_orphan(sk);
-
if (vsk->transport)
vsk->transport->release(vsk);
else if (sock_type_connectible(sk->sk_type))
vsock_remove_sock(vsk);

+ sock_orphan(sk);
sk->sk_shutdown = SHUTDOWN_MASK;

skb_queue_purge(&sk->sk_receive_queue);
--