[ 260.5253321] panic: [ 260.6309029] panic() at netbsd:panic+0x49 sys/kern/subr_prf.c:1116 [ 260.7008675] lockdebug_abort1() at netbsd:lockdebug_abort1+0x191 lockdebug_abort1 sys/kern/subr_lockdebug.c:814 [inline] [ 260.7008675] lockdebug_abort1() at netbsd:lockdebug_abort1+0x191 sys/kern/subr_lockdebug.c:796 [ 260.7508435] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x457 sys/kern/subr_lockdebug.c:489 [ 260.8008173] rw_enter() at netbsd:rw_enter+0x887 sys/kern/kern_rwlock.c:300 [ 260.8607871] genfs_lock() at netbsd:genfs_lock+0x220 sys/miscfs/genfs/genfs_vnops.c:397 [ 260.9107629] union_lock() at netbsd:union_lock+0x28b union_lock1 sys/fs/union/union_vnops.c:1677 [inline] [ 260.9107629] union_lock() at netbsd:union_lock+0x28b sys/fs/union/union_vnops.c:1719 [ 260.9607374] VOP_LOCK() at netbsd:VOP_LOCK+0x22a sys/kern/vnode_if.c:1632 [ 261.0107124] vn_lock() at netbsd:vn_lock+0x2ae sys/kern/vfs_vnops.c:1388 [ 261.0806779] union_getattr() at netbsd:union_getattr+0x3a9 sys/fs/union/union_vnops.c:872 [ 261.1406484] VOP_GETATTR() at netbsd:VOP_GETATTR+0x12f sys/kern/vnode_if.c:711 [ 261.1906224] vn_stat() at netbsd:vn_stat+0x44 sys/kern/vfs_vnops.c:762 [ 261.2405974] do_sys_statat() at netbsd:do_sys_statat+0x15a sys/kern/vfs_syscalls.c:3220 [ 261.2905739] sys___lstat50() at netbsd:sys___lstat50+0x3c sys/kern/vfs_syscalls.c:3260 [ 261.3505435] syscall() at netbsd:syscall+0x28b sy_call sys/sys/syscallvar.h:65 [inline] [ 261.3505435] syscall() at netbsd:syscall+0x28b sy_invoke sys/sys/syscallvar.h:94 [inline] [ 261.3505435] syscall() at netbsd:syscall+0x28b sys/arch/x86/x86/syscall.c:137 [ 261.3605367] --- syscall (number 441) --- [ 261.3805271] netbsd:syscall+0x28b: [ 261.3805271] cpu0: End traceback... [ 261.3805271] fatal breakpoint trap in supervisor mode [ 261.3928766] trap type 1 code 0 rip 0xffffffff80235475 cs 0x8 rflags 0x246 cr2 0x72610af1d000 ilevel 0 rsp 0xffffd702692cc800 [ 261.4056323] curlwp 0xffffa1f4de0a20c0 pid 5955.5955 lowest kstack 0xffffd702692c82c0 Stopped in pid 5955.5955 (syz-executor.1) at netbsd:breakpoint+0x5: leave ? breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0xec sys/ddb/db_panic.c:71 vpanic() at netbsd:vpanic+0x2f0 sys/kern/subr_prf.c:288 panic() at netbsd:panic+0x49 sys/kern/subr_prf.c:1116 lockdebug_abort1() at netbsd:lockdebug_abort1+0x191 lockdebug_abort1 sys/kern/subr_lockdebug.c:814 [inline] lockdebug_abort1() at netbsd:lockdebug_abort1+0x191 sys/kern/subr_lockdebug.c:796 lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x457 sys/kern/subr_lockdebug.c:489 rw_enter() at netbsd:rw_enter+0x887 sys/kern/kern_rwlock.c:300 genfs_lock() at netbsd:genfs_lock+0x220 sys/miscfs/genfs/genfs_vnops.c:397 union_lock() at netbsd:union_lock+0x28b union_lock1 sys/fs/union/union_vnops.c:1677 [inline] union_lock() at netbsd:union_lock+0x28b sys/fs/union/union_vnops.c:1719 VOP_LOCK() at netbsd:VOP_LOCK+0x22a sys/kern/vnode_if.c:1632 vn_lock() at netbsd:vn_lock+0x2ae sys/kern/vfs_vnops.c:1388 union_getattr() at netbsd:union_getattr+0x3a9 sys/fs/union/union_vnops.c:872 VOP_GETATTR() at netbsd:VOP_GETATTR+0x12f sys/kern/vnode_if.c:711 vn_stat() at netbsd:vn_stat+0x44 sys/kern/vfs_vnops.c:762 do_sys_statat() at netbsd:do_sys_statat+0x15a sys/kern/vfs_syscalls.c:3220 sys___lstat50() at netbsd:sys___lstat50+0x3c sys/kern/vfs_syscalls.c:3260 syscall() at netbsd:syscall+0x28b sy_call sys/sys/syscallvar.h:65 [inline] syscall() at netbsd:syscall+0x28b sy_invoke sys/sys/syscallvar.h:94 [inline] syscall() at netbsd:syscall+0x28b sys/arch/x86/x86/syscall.c:137 --- syscall (number 441) --- netbsd:syscall+0x28b: Panic string: LOCKDEBUG: Reader / writer lock error: rw_vector_enter,300: locking against myself PID LID S CPU FLAGS STRUCT LWP * NAME WAIT 6238 6238 2 0 0 ffffa1f4b3d0ca80 syz-executor.2 6835 6835 3 1 40000 ffffa1f4dff321c0 syz-executor.2 mutex 5955 > 5955 7 0 100 ffffa1f4de0a20c0 syz-executor.1 -2087909354address 0x2 is invalid address 0x3 is invalid address 0x4 is invalid address 0x5 is invalid address 0x6 is invalid address 0x7 is invalid address 0x8 is invalid address 0x9 is invalid address 0xa is invalid address 0xb is invalid address 0xc is invalid address 0xd is invalid address 0xe is invalid address 0xf is invalid address 0x10 is invalid [ 261.4132102] Skipping crash dump on recursive panic [ 261.4132102] panic: UBSan: Undefined Behavior in /syzkaller/managers/ci2-netbsd-kubsan/kernel/sys/ddb/db_proc.c:202:10, member access within misaligned address 0xffffd70251494460 for type 'struct cpu_info' which requires 64 byte alignment [ 261.4132102] cpu0: Begin traceback... [ 261.4132102] vpanic() at netbsd:vpanic+0x2f0 sys/kern/subr_prf.c:288 [ 261.4132102] Report() at netbsd:Report+0x3b sys/../common/lib/libc/misc/ubsan.c:1352 [ 261.4132102] HandleTypeMismatch() at netbsd:HandleTypeMismatch+0xfc sys/../common/lib/libc/misc/ubsan.c:432 [ 261.4132102] db_show_all_procs() at netbsd:db_show_all_procs+0xe82 sys/ddb/db_proc.c:202 [ 261.4132102] db_command() at netbsd:db_command+0x240 sys/ddb/db_command.c:972 [ 261.4132102] db_command_loop() at netbsd:db_command_loop+0x221 db_execute_commandlist sys/ddb/db_command.c:468 [inline] [ 261.4132102] db_command_loop() at netbsd:db_command_loop+0x221 sys/ddb/db_command.c:618 [ 261.4132102] db_trap() at netbsd:db_trap+0x261 sys/ddb/db_trap.c:94 [ 261.4132102] kdb_trap() at netbsd:kdb_trap+0x1aa sys/arch/amd64/amd64/db_interface.c:252 [ 261.4132102] trap() at netbsd:trap+0x569 sys/arch/amd64/amd64/trap.c:314 [ 261.4132102] --- trap (number 1) --- [ 261.4132102] breakpoint() at netbsd:breakpoint+0x5 [ 261.4132102] db_panic() at netbsd:db_panic+0xec sys/ddb/db_panic.c:71 [ 261.4132102] vpanic() at netbsd:vpanic+0x2f0 sys/kern/subr_prf.c:288 [ 261.4132102] panic() at netbsd:panic+0x49 sys/kern/subr_prf.c:1116 [ 261.4132102] lockdebug_abort1() at netbsd:lockdebug_abort1+0x191 lockdebug_abort1 sys/kern/subr_lockdebug.c:814 [inline] [ 261.4132102] lockdebug_abort1() at netbsd:lockdebug_abort1+0x191 sys/kern/subr_lockdebug.c:796 [ 261.4132102] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x457 sys/kern/subr_lockdebug.c:489 [ 261.4132102] rw_enter() at netbsd:rw_enter+0x887 sys/kern/kern_rwlock.c:300 [ 261.4132102] genfs_lock() at netbsd:genfs_lock+0x220 sys/miscfs/genfs/genfs_vnops.c:397 [ 261.4132102] union_lock() at netbsd:union_lock+0x28b union_lock1 sys/fs/union/union_vnops.c:1677 [inline] [ 261.4132102] union_lock() at netbsd:union_lock+0x28b sys/fs/union/union_vnops.c:1719 [ 261.4132102] VOP_LOCK() at netbsd:VOP_LOCK+0x22a sys/kern/vnode_if.c:1632 [ 261.4132102] vn_lock() at netbsd:vn_lock+0x2ae sys/kern/vfs_vnops.c:1388 [ 261.4132102] union_getattr() at netbsd:union_getattr+0x3a9 sys/fs/union/union_vnops.c:872 [ 261.4132102] VOP_GETATTR() at netbsd:VOP_GETATTR+0x12f sys/kern/vnode_if.c:711 [ 261.4132102] vn_stat() at netbsd:vn_stat+0x44 sys/kern/vfs_vnops.c:762 [ 261.4132102] do_sys_statat() at netbsd:do_sys_statat+0x15a sys/kern/vfs_syscalls.c:3220 [ 261.4132102] sys___lstat50() at netbsd:sys___lstat50+0x3c sys/kern/vfs_syscalls.c:3260 [ 261.4132102] syscall() at netbsd:syscall+0x28b sy_call sys/sys/syscallvar.h:65 [inline] [ 261.4132102] syscall() at netbsd:syscall+0x28b sy_invoke sys/sys/syscallvar.h:94 [inline] [ 261.4132102] syscall() at netbsd:syscall+0x28b sys/arch/x86/x86/syscall.c:137 [ 261.4132102] --- syscall (number 441) --- [ 261.4132102] netbsd:syscall+0x28b: [ 261.4132102] cpu0: End traceback... [ 261.4132102] fatal breakpoint trap in supervisor mode [ 261.4132102] trap type 1 code 0 rip 0xffffffff80235475 cs 0x8 rflags 0x246 cr2 0x72610af1d000 ilevel 0x8 rsp 0xffffd702692cbce0 [ 261.4132102] curlwp 0xffffa1f4de0a20c0 pid 5955.5955 lowest kstack 0xffffd702692c82c0 Stopped in pid 5955.5955 (syz-executor.1) at netbsd:breakpoint+0x5: leave