[ 132.1043980] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/kern/kern_mutex.c:472:6, member access within null pointer of type 'struct kmutex_t' [ 132.1043980] cpu0: Begin traceback... [ 132.1244093] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 132.1644559] isAlreadyReported() at netbsd:isAlreadyReported [ 132.2145089] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0x15b [ 132.2545530] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 [ 132.2945981] mutex_enter() at netbsd:mutex_enter+0x1457 sys/kern/kern_mutex.c:472 [ 132.3446566] unp_accept() at netbsd:unp_accept+0x177 sys/kern/uipc_usrreq.c:849 [ 132.3846955] soaccept() at netbsd:soaccept+0x12f sys/kern/uipc_socket.c:802 [ 132.4147293] do_sys_accept() at netbsd:do_sys_accept+0x3de sys/kern/uipc_syscalls.c:244 [ 132.4547725] sys_paccept() at netbsd:sys_paccept+0xdd sys/kern/uipc_syscalls.c:321 [ 132.4948179] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] [ 132.4948179] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77 [ 132.5348637] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 132.5348637] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 132.5348637] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 132.5448751] --- syscall (number 198) --- [ 132.5585513] Skipping crash dump on recursive panic [ 132.5585513] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0x4 for type 'struct x86_64_frame' which requires 8 byte alignment [ 132.5843231] Faulted in mid-traceback; aborting... [ 132.5891830] fatal breakpoint trap in supervisor mode [ 132.5891830] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x282 cr2 0x7a1c89a7a4f0 ilevel 0 rsp 0xffff8f00a6e5d8d0 [ 132.6054363] curlwp 0xffff89d848afa500 pid 2673.4 lowest kstack 0xffff8f00a6e5b2c0 Stopped in pid 2673.4 (syz-executor.4) at netbsd:breakpoint+0x5: leave ? breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0x109 sys/ddb/db_panic.c:67 vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 isAlreadyReported() at netbsd:isAlreadyReported HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0xcc HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 db_nextframe() at netbsd:db_nextframe+0x6f6 sys/arch/amd64/amd64/db_machdep.c:153 db_stack_trace_print() at netbsd:db_stack_trace_print+0x2c4 sys/arch/x86/x86/db_trace.c:277 db_panic() at netbsd:db_panic+0xa3 x86_curcpu sys/arch/amd64/compile/obj/GENERIC_SYZKALLER/./machine/cpu.h:67 [inline] db_panic() at netbsd:db_panic+0xa3 sys/ddb/db_panic.c:57 vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 isAlreadyReported() at netbsd:isAlreadyReported HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0x15b HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 mutex_enter() at netbsd:mutex_enter+0x1457 sys/kern/kern_mutex.c:472 unp_accept() at netbsd:unp_accept+0x177 sys/kern/uipc_usrreq.c:849 soaccept() at netbsd:soaccept+0x12f sys/kern/uipc_socket.c:802 do_sys_accept() at netbsd:do_sys_accept+0x3de sys/kern/uipc_syscalls.c:244 sys_paccept() at netbsd:sys_paccept+0xdd sys/kern/uipc_syscalls.c:321 sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77 syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 --- syscall (number 198) --- [ 132.6054363] Skipping crash dump on recursive panic [ 132.6054363] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0x4 for type 'struct x86_64_frame' which requires 8 byte alignment [ 132.6054363] Faulted in mid-traceback; aborting... [ 132.6054363] fatal breakpoint trap in supervisor mode [ 132.6054363] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x282 cr2 0x7a1c89a7a4f0 ilevel 0x8 rsp 0xffff8f00a6e5c5d0 [ 132.6054363] curlwp 0xffff89d848afa500 pid 2673.4 lowest kstack 0xffff8f00a6e5b2c0 Stopped in pid 2673.4 (syz-executor.4) at netbsd:breakpoint+0x5: leave db{0}>