[ 163.6308051] 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' [ 163.6509457] cpu0: Begin traceback... [ 163.6708525] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 163.7309440] isAlreadyReported() at netbsd:isAlreadyReported [ 163.7910291] HandleTypeMismatch.part.1() at netbsd:HandleTypeMismatch.part.1+0x15b [ 163.8611267] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0x7b sys/../common/lib/libc/misc/ubsan.c:408 [ 163.9111991] mutex_enter() at netbsd:mutex_enter+0x1457 sys/kern/kern_mutex.c:472 [ 163.9813037] unp_accept() at netbsd:unp_accept+0x177 sys/kern/uipc_usrreq.c:849 [ 164.0413867] soaccept() at netbsd:soaccept+0x12f sys/kern/uipc_socket.c:802 [ 164.0914621] do_sys_accept() at netbsd:do_sys_accept+0x3de sys/kern/uipc_syscalls.c:244 [ 164.1515473] sys_paccept() at netbsd:sys_paccept+0xdd sys/kern/uipc_syscalls.c:321 [ 164.2016198] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] [ 164.2016198] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77 [ 164.2617090] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 164.2617090] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 164.2617090] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 164.2817379] --- syscall (number 198) --- [ 164.2817379] Skipping crash dump on recursive panic [ 164.2940674] 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 [ 164.3150596] Faulted in mid-traceback; aborting... [ 164.3150596] fatal breakpoint trap in supervisor mode [ 164.3230439] trap type 1 code 0 rip 0xffffffff8021ddfd cs 0x8 rflags 0x282 cr2 0x7ad1871ffff8 ilevel 0 rsp 0xffffb100b41908d0 [ 164.3360551] curlwp 0xffff9661cb971ac0 pid 2580.4 lowest kstack 0xffffb100b418e2c0 Stopped in pid 2580.4 (syz-executor.1) 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) --- [ 164.3435249] Skipping crash dump on recursive panic [ 164.3435249] 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 [ 164.3435249] Faulted in mid-traceback; aborting... [ 164.3435249] fatal breakpoint trap in supervisor mode [ 164.3435249] trap type 1 code 0 rip 0xffffffff8021ddfd cs 0x8 rflags 0x282 cr2 0x7ad1871ffff8 ilevel 0x8 rsp 0xffffb100b418f5d0 [ 164.3435249] curlwp 0xffff9661cb971ac0 pid 2580.4 lowest kstack 0xffffb100b418e2c0 Stopped in pid 2580.4 (syz-executor.1) at netbsd:breakpoint+0x5: leave