[ 312.4408840] panic: LOCKDEBUG: Reader / writer lock error: rw_vector_enter,300: locking against myself [ 312.4509336] cpu1: Begin traceback... [ 312.4911378] vpanic() at netbsd:vpanic+0x2f0 sys/kern/subr_prf.c:288 [ 312.6117398] panic() at netbsd:panic+0x49 sys/kern/subr_prf.c:1116 [ 312.7122398] lockdebug_abort1() at netbsd:lockdebug_abort1+0x191 lockdebug_abort1 sys/kern/subr_lockdebug.c:814 [inline] [ 312.7122398] lockdebug_abort1() at netbsd:lockdebug_abort1+0x191 sys/kern/subr_lockdebug.c:796 [ 312.8026850] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x457 sys/kern/subr_lockdebug.c:489 [ 312.8931359] rw_enter() at netbsd:rw_enter+0x887 sys/kern/kern_rwlock.c:300 [ 312.9835856] genfs_lock() at netbsd:genfs_lock+0x220 sys/miscfs/genfs/genfs_vnops.c:397 [ 313.0639854] umap_bypass() at netbsd:umap_bypass+0x8e7 sys/miscfs/umapfs/umap_vnops.c:249 [ 313.1544359] umap_bypass() at netbsd:umap_bypass+0x8e7 sys/miscfs/umapfs/umap_vnops.c:249 [ 313.2348342] VOP_LOCK() at netbsd:VOP_LOCK+0x22a sys/kern/vnode_if.c:1632 [ 313.3252846] vn_lock() at netbsd:vn_lock+0x2ae sys/kern/vfs_vnops.c:1388 [ 313.4157358] layerfs_root() at netbsd:layerfs_root+0x73 sys/miscfs/genfs/layer_vfsops.c:142 [ 313.4961336] VFS_ROOT() at netbsd:VFS_ROOT+0xa7 sys/kern/vfs_subr.c:1539 [ 313.5966348] union_lookup1() at netbsd:union_lookup1+0x2f0 sys/fs/union/union_vnops.c:305 [ 313.6870835] union_lookup() at netbsd:union_lookup+0x28c sys/fs/union/union_vnops.c:371 [ 313.7775347] VOP_LOOKUP() at netbsd:VOP_LOOKUP+0x2c1 sys/kern/vnode_if.c:443 [ 313.8679834] lookup_once() at netbsd:lookup_once+0x5ad sys/kern/vfs_lookup.c:1150 [ 313.9584348] namei_tryemulroot() at netbsd:namei_tryemulroot+0x1fba namei_oneroot sys/kern/vfs_lookup.c:1546 [inline] [ 313.9584348] namei_tryemulroot() at netbsd:namei_tryemulroot+0x1fba sys/kern/vfs_lookup.c:1906 [ 314.0488839] namei() at netbsd:namei+0x2e sys/kern/vfs_lookup.c:1942 [ 314.1393343] do_sys_unlinkat() at netbsd:do_sys_unlinkat+0x2d8 fd_nameiat sys/kern/vfs_syscalls.c:245 [inline] [ 314.1393343] do_sys_unlinkat() at netbsd:do_sys_unlinkat+0x2d8 sys/kern/vfs_syscalls.c:2857 [ 314.2297830] sys___syscall() at netbsd:sys___syscall+0x1e4 sy_call sys/sys/syscallvar.h:65 [inline] [ 314.2297830] sys___syscall() at netbsd:sys___syscall+0x1e4 sys/kern/sys_syscall.c:90 [ 314.3202371] syscall() at netbsd:syscall+0x28b sy_call sys/sys/syscallvar.h:65 [inline] [ 314.3202371] syscall() at netbsd:syscall+0x28b sy_invoke sys/sys/syscallvar.h:94 [inline] [ 314.3202371] syscall() at netbsd:syscall+0x28b sys/arch/x86/x86/syscall.c:137 [ 314.3403344] --- syscall (number 137 via SYS_syscall) --- [ 314.3704836] netbsd:syscall+0x28b: [ 314.3805345] cpu1: End traceback... [ 314.3805345] fatal breakpoint trap in supervisor mode [ 314.3805345] trap type 1 code 0 rip 0xffffffff80235475 cs 0x8 rflags 0x246 cr2 0x714f6c84a9f0 ilevel 0 rsp 0xffffa982548a93e0 [ 314.4006323] curlwp 0xffff8021c84bcac0 pid 8795.7717 lowest kstack 0xffffa982548a52c0 Stopped in pid 8795.7717 (syz-executor.3) 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 umap_bypass() at netbsd:umap_bypass+0x8e7 sys/miscfs/umapfs/umap_vnops.c:249 umap_bypass() at netbsd:umap_bypass+0x8e7 sys/miscfs/umapfs/umap_vnops.c:249 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 layerfs_root() at netbsd:layerfs_root+0x73 sys/miscfs/genfs/layer_vfsops.c:142 VFS_ROOT() at netbsd:VFS_ROOT+0xa7 sys/kern/vfs_subr.c:1539 union_lookup1() at netbsd:union_lookup1+0x2f0 sys/fs/union/union_vnops.c:305 union_lookup() at netbsd:union_lookup+0x28c sys/fs/union/union_vnops.c:371 VOP_LOOKUP() at netbsd:VOP_LOOKUP+0x2c1 sys/kern/vnode_if.c:443 lookup_once() at netbsd:lookup_once+0x5ad sys/kern/vfs_lookup.c:1150 namei_tryemulroot() at netbsd:namei_tryemulroot+0x1fba namei_oneroot sys/kern/vfs_lookup.c:1546 [inline] namei_tryemulroot() at netbsd:namei_tryemulroot+0x1fba sys/kern/vfs_lookup.c:1906 namei() at netbsd:namei+0x2e sys/kern/vfs_lookup.c:1942 do_sys_unlinkat() at netbsd:do_sys_unlinkat+0x2d8 fd_nameiat sys/kern/vfs_syscalls.c:245 [inline] do_sys_unlinkat() at netbsd:do_sys_unlinkat+0x2d8 sys/kern/vfs_syscalls.c:2857 sys___syscall() at netbsd:sys___syscall+0x1e4 sy_call sys/sys/syscallvar.h:65 [inline] sys___syscall() at netbsd:sys___syscall+0x1e4 sys/kern/sys_syscall.c:90 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 137 via SYS_syscall) --- 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 8078 4342 3 1 180 ffff8021de208480 syz-executor.5 parked 8078 8535 3 0 180 ffff8021ec164580 syz-executor.5 fstcnt 8078 8164 3 0 180 ffff8021d691eb00 syz-executor.5 parked 8078 7323 3 0 180 ffff8021e3d1c340 syz-executor.5 parked 8078 8078 2 1 10000140 ffff8021d27a4200 syz-executor.5 9048 9048 3 1 0 ffff8021de7f0300 syz-executor.4 fstchg 10539 9146 2 1 0 ffff8021f0190200 syz-executor.0 10539 7492 3 0 180 ffff8021ca83f280 syz-executor.0 parked 10539 6815 2 1 0 ffff8021d667d040 syz-executor.0 10539 8381 3 0 180 ffff8021d691e6c0 syz-executor.0 parked 10539 10539 2 1 10000000 ffff8021e42d94c0 syz-executor.0 7472 7472 3 0 40180 ffff8021d9630700 syz-executor.5 nanoslp 8795 9929 3 1 180 ffff8021eedd5ac0 syz-executor.3 parked 8795 7573 3 1 180 ffff8021eedd5680 syz-executor.3 parked 8795 > 7717 7 1 0 ffff8021c84bcac0 syz-executor.3 8795 8795 2 1 10040140 ffff8021e42d9900 syz-executor.3 6650 6650 3 0 180 ffff8021f0190640 syz-executor.3 nanoslp 8798 8798 3 0 180 ffff8021e1e265c0 syz-executor.4 nanoslp 10446 10446 3 1 180 ffff8021d6f59680 syz-executor.2 parked 8114 7250 3 1 15100000 ffff8021e1680500 syz-executor.2 vfork 8114 8114 2 0 11000040 ffff8021e35ea540 syz-executor.2 9267 9267 3 1 180 ffff8021ec164140 syz-executor.2 wait 9706 9706 3 0 180 ffff8021daf38a40 syz-executor.1 parked 7314 7314 3 0 180 ffff8021daf381c0 syz-executor.1 parked 9534 8753 3 0 11100000 ffff8021de7f0b80 syz-executor.1 vfork 9534 9534 2 0 11000040 ffff8021d9630b40 syz-executor.1 8266 8266 3 0 180 ffff8021d96302c0 syz-executor.1 parked 9695 9695 3 0 180 ffff8021f0190a80 syz-executor.0 nanoslp 6385 6385 3 0 180 ffff8021e35ea980 syz-executor.1 wait 6645 6645 3 0 180 ffff8021d6c61bc0 syz-executor.3 parked 7220 7220 3 1 180 ffff8021c9537a40 getty ttyraw 6278 6278 3 0 180 ffff8021e1e26180 syz-executor.1 parked 6140 6140 3 1 180 ffff8021cf6770c0 syz-executor.5 parked 5619 5619 3 1 180 ffff8021f7843280 syz-executor.5 parked 4856 4856 3 0 180 ffff8021ec1649c0 syz-executor.2 parked 5408 5408 3 1 180 ffff8021eedd5240 syz-executor.1 parked 4605 4605 3 0 180 ffff8021de208040 syz-executor.5 parked 6764 6764 3 1 180 ffff8021daf38600 syz-executor.5 parked 4397 4397 3 1 180 ffff8021c9a295c0 syz-executor.5 parked 3572 3572 3 0 180 ffff8021caa99700 syz-executor.3 parked 5957 5957 3 0 180 ffff8021d5ba7300 syz-executor.3 parked 3724 3835 5 0 1180000 ffff8021e35ea100 syz-executor.3 3724 3577 3 1 1000000 ffff8021e1680940 syz-executor.3 lwpwait 3724 6455 5 0 11a0000 ffff8021d300f9c0 syz-executor.3 3724 6571 8 1 11a0000 ffff8021c8774b00 syz-executor.3 3724 3732 5 0 11a0100 ffff8021e42d9080 syz-executor.3 3724 4908 5 0 11a0000 ffff8021d28024c0 syz-executor.3 3724 4693 3 0 111a0000 ffff8021d5ba7740 syz-executor.3 vfork 3724 3724 8 1 111a0000 ffff8021d2802900 syz-executor.3 4436 4436 3 1 180 ffff8021c951f200 syz-executor.1 parked 3722 3568 3 1 11100000 ffff8021de2088c0 syz-executor.1 vfork 3722 3722 2 1 11000040 ffff8021d6c61340 syz-executor.1 5829 3554 2 0 1140000 ffff8021d6a8b180 syz-executor.2 5829 5829 2 1 11000040 ffff8021ca497680 syz-executor.2 3138 3138 3 0 180 ffff8021de7f0740 syz-executor.0 parked 2854 2854 3 0 180 ffff8021d6f59ac0 syz-executor.5 parked 2856 2856 3 1 180 ffff8021e16800c0 syz-executor.1 parked 5703 5703 3 1 180 ffff8021d6c61780 syz-executor.2 parked 2751 2881 3 1 11100000 ffff8021d0ad4980 syz-executor.2 vfork 2751 2751 2 1 11000040 ffff8021cf677500 syz-executor.2 2705 > 3030 7 0 1140000 ffff8021d27a4a80 syz-executor.3 2705 2705 2 1 11000040 ffff8021d3340a40 syz-executor.3 3327 3327 3 1 180 ffff8021d667d8c0 syz-executor.2 parked 1954 1954 3 0 180 ffff8021d6a8b5c0 syz-executor.4 parked 1680 1692 3 0 11100000 ffff8021e3d1c780 syz-executor.4 vfork 1680 1680 2 1 11000040 ffff8021ca83f6c0 syz-executor.4 1171 1171 3 1 180 ffff8021d691e280 syz-executor.1 parked 1167 4022 3 1 11100000 ffff8021d0ad4540 syz-executor.1 vfork 1167 1167 2 1 11000040 ffff8021d33401c0 syz-executor.1 2524 2524 3 0 180 ffff8021cf677940 syz-executor.4 parked 739 739 3 0 180 ffff8021d300f140 syz-executor.3 parked 737 2272 3 0 11100000 ffff8021d27a4640 syz-executor.3 vfork 737 737 2 1 11000040 ffff8021d3340600 syz-executor.3 3257 3257 3 1 180 ffff8021c9494140 syz-executor.0 parked 3021 3021 3 1 180 ffff8021c951fa80 syz-executor.4 parked 1971 1971 3 1 180 ffff8021c888b2c0 syz-executor.5 parked 1994 1589 3 1 1000000 ffff8021d2802080 syz-executor.5 lwpwait 1994 1755 3 1 111a0000 ffff8021c9a29a00 syz-executor.5 vfork 1994 1994 8 1 111a0000 ffff8021c9537600 syz-executor.5 1865 1865 3 0 180 ffff8021caa992c0 syz-executor.1 parked 1632 1628 3 0 11100000 ffff8021c978d500 syz-executor.1 vfork 1632 1632 2 1 11000040 ffff8021c951f640 syz-executor.1 0 0 0 -1 f9a9ea0 ffffa9800f9a9a68