panic: mtx_lock() of spin mutex (null) @ /syzkaller/managers/main/kernel/sys/kern/sys_socket.c:774 cpuid = 0 time = 1558180261 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0021031700 vpanic() at vpanic+0x1e0/frame 0xfffffe0021031760 panic() at panic+0x43/frame 0xfffffe00210317c0 __mtx_lock_flags() at __mtx_lock_flags+0x1fd/frame 0xfffffe0021031820 soo_aio_cancel() at soo_aio_cancel+0x77/frame 0xfffffe0021031860 aio_cancel_job() at aio_cancel_job+0xc7/frame 0xfffffe00210318a0 aio_proc_rundown() at aio_proc_rundown+0xd7/frame 0xfffffe0021031900 exit1() at exit1+0x560/frame 0xfffffe0021031970 sys_sys_exit() at sys_sys_exit+0xd/frame 0xfffffe0021031980 amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe0021031ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0021031ab0 --- syscall (1, FreeBSD ELF64, sys_sys_exit), rip = 0x44f54a, rsp = 0x7fffffffec58, rbp = 0 --- KDB: enter: panic [ thread pid 786 tid 100092 ] Stopped at kdb_enter+0x6a: movq $0,kdb_why