[ 120.5442741] panic: LOCKDEBUG: Reader / writer lock error: rw_vector_enter,307: locking against myself [ 120.5468206] cpu0: Begin traceback... [ 120.5672731] vpanic() at netbsd:vpanic+0x2aa sys/kern/subr_prf.c:336 [ 120.5895267] snprintf() at netbsd:snprintf [ 120.6340288] lockdebug_abort1() at netbsd:lockdebug_abort1+0x16a sys/kern/subr_lockdebug.c:799 [ 120.6674056] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x36f sys/kern/subr_lockdebug.c:469 [ 120.6896558] rw_enter() at netbsd:rw_enter+0x7cd sys/kern/kern_rwlock.c:309 [ 120.7230321] uvm_fault_internal() at netbsd:uvm_fault_internal+0x25c uvmfault_lookup sys/uvm/uvm_fault_i.h:128 [inline] [ 120.7230321] uvm_fault_internal() at netbsd:uvm_fault_internal+0x25c uvm_fault_check sys/uvm/uvm_fault.c:960 [inline] [ 120.7230321] uvm_fault_internal() at netbsd:uvm_fault_internal+0x25c sys/uvm/uvm_fault.c:870 [ 120.7564095] trap() at netbsd:trap+0x1195 sys/arch/amd64/amd64/trap.c:534 [ 120.7675321] --- trap (number 6) --- [ 120.7897852] _ustore_8() at netbsd:_ustore_8+0x21 [ 120.8231610] sys___syscall() at netbsd:sys___syscall+0x1c8 sy_call sys/sys/syscallvar.h:65 [inline] [ 120.8231610] sys___syscall() at netbsd:sys___syscall+0x1c8 sys/kern/sys_syscall.c:77 [ 120.8565409] syscall() at netbsd:syscall+0x29a sy_call sys/sys/syscallvar.h:65 [inline] [ 120.8565409] syscall() at netbsd:syscall+0x29a sy_invoke sys/sys/syscallvar.h:94 [inline] [ 120.8565409] syscall() at netbsd:syscall+0x29a sys/arch/x86/x86/syscall.c:138 [ 120.8676662] --- syscall (number 198) --- [ 120.8676662] Skipping crash dump on recursive panic [ 120.8839870] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:153:24, member access within misaligned address 0x3 for type 'struct x86_64_frame' which requires 8 byte alignment [ 120.9077949] Faulted in mid-traceback; aborting... [ 120.9136027] fatal breakpoint trap in supervisor mode [ 120.9136027] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x20000180 ilevel 0 rsp 0xffffdc00a7223a10 [ 120.9323471] curlwp 0xfffffd512e3660a0 pid 534.3 lowest kstack 0xffffdc00a72212c0 Stopped in pid 534.3 (syz-executor.0) 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 snprintf() at netbsd:snprintf lockdebug_abort1() at netbsd:lockdebug_abort1+0x16a sys/kern/subr_lockdebug.c:799 lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x36f sys/kern/subr_lockdebug.c:469 rw_enter() at netbsd:rw_enter+0x7cd sys/kern/kern_rwlock.c:309 uvm_fault_internal() at netbsd:uvm_fault_internal+0x25c uvmfault_lookup sys/uvm/uvm_fault_i.h:128 [inline] uvm_fault_internal() at netbsd:uvm_fault_internal+0x25c uvm_fault_check sys/uvm/uvm_fault.c:960 [inline] uvm_fault_internal() at netbsd:uvm_fault_internal+0x25c sys/uvm/uvm_fault.c:870 trap() at netbsd:trap+0x1195 sys/arch/amd64/amd64/trap.c:534 --- trap (number 6) --- _ustore_8() at netbsd:_ustore_8+0x21 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) --- [ 120.9409173] Skipping crash dump on recursive panic [ 120.9409173] panic: UBSan: Undefined Behavior in /syzkaller/managers/netbsd-kubsan/kernel/sys/arch/amd64/amd64/db_machdep.c:154:14, member access within misaligned address 0x3 for type 'struct x86_64_frame' which requires 8 byte alignment [ 120.9409173] Faulted in mid-traceback; aborting... [ 120.9409173] fatal breakpoint trap in supervisor mode [ 120.9409173] trap type 1 code 0 rip 0xffffffff8021ddbd cs 0x8 rflags 0x286 cr2 0x20000180 ilevel 0x8 rsp 0xffffdc00a7222710 [ 120.9409173] curlwp 0xfffffd512e3660a0 pid 534.3 lowest kstack 0xffffdc00a72212c0 Stopped in pid 534.3 (syz-executor.0) at netbsd:breakpoint+0x5: leave