panic: sx_xlock() of destroyed sx @ /syzkaller/managers/main/kernel/sys/kern/uipc_sockbuf.c:285 cpuid = 0 time = 2 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe00212d65c0 vpanic() at vpanic+0x1e0/frame 0xfffffe00212d6620 panic() at panic+0x43/frame 0xfffffe00212d6680 _sx_xlock() at _sx_xlock+0x1c9/frame 0xfffffe00212d66d0 sosend_generic() at sosend_generic+0x1a0/frame 0xfffffe00212d67a0 sosend() at sosend+0xc6/frame 0xfffffe00212d6810 kern_sendit() at kern_sendit+0x35e/frame 0xfffffe00212d68c0 sendit() at sendit+0x226/frame 0xfffffe00212d6920 sys_sendto() at sys_sendto+0x5c/frame 0xfffffe00212d6980 amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe00212d6ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe00212d6ab0 --- syscall (198, FreeBSD ELF64, nosys), rip = 0x412e5a, rsp = 0x7fffdffbbf38, rbp = 0x6 --- KDB: enter: panic [ thread pid 49547 tid 100116 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why