panic: vclean: deadlock Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 44248 53196 0 0x8000000 0x4000000 0K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830dcab3) at panic+0x1e5 sys/kern/subr_prf.c:198 vclean(fffffd806bf687d0,8,ffff8000ffff51e0) at vclean+0x482 sys/kern/vfs_subr.c:1065 vgonel(fffffd806bf687d0,ffff8000ffff51e0) at vgonel+0xec sys/kern/vfs_subr.c:1197 checkalias(fffffd806bf68c08,0,ffff800000a66c00) at checkalias+0x1ab ffs_vinit(ffff800000a66c00,ffff8000371d4170) at ffs_vinit+0x13d ffs_vget(ffff800000a66c00,1fc4d,ffff8000371d4258) at ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd806bf6eb28,ffff8000371d46a8,ffff8000371d46d8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000371d4678) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff8000371d4678) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff8000371d4678,1,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 doopenat(ffff8000ffff51e0,ffffff9c,20000080,0,0,ffff8000371d4820) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371d48d0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371d48d0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 end trace frame: 0xffff8000371d4950, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: vclean: deadlock ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830dcab3) at panic+0x1e5 sys/kern/subr_prf.c:198 vclean(fffffd806bf687d0,8,ffff8000ffff51e0) at vclean+0x482 sys/kern/vfs_subr.c:1065 vgonel(fffffd806bf687d0,ffff8000ffff51e0) at vgonel+0xec sys/kern/vfs_subr.c:1197 checkalias(fffffd806bf68c08,0,ffff800000a66c00) at checkalias+0x1ab ffs_vinit(ffff800000a66c00,ffff8000371d4170) at ffs_vinit+0x13d ffs_vget(ffff800000a66c00,1fc4d,ffff8000371d4258) at ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd806bf6eb28,ffff8000371d46a8,ffff8000371d46d8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000371d4678) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff8000371d4678) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff8000371d4678,1,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 doopenat(ffff8000ffff51e0,ffffff9c,20000080,0,0,ffff8000371d4820) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371d48d0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371d48d0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xddc5a7fb830, count: -15 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000371d3ee0 rbx 0xffffffff834a4d87 cpu_info_full_primary+0x2d87 rdx 0xffff80000117eb00 rcx 0xffff8000ffff51e0 rax 0xffffffff834a3ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x36b25f08b5439f5 r11 0x2cbbc100255b24c7 r12 0xffffffff834a4b88 cpu_info_full_primary+0x2b88 r13 0 r14 0 r15 0x1 rip 0xffffffff82d4df45 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371d3ed0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=44248 pid=53196 tcnt=2 stat=onproc flags process=8000000 proc=4000000 runpri=17, usrpri=79, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff4538,0xffff8000ffff7c08 process=0xffff8000ffff8490 user=0xffff8000371cf000, vmspace=0xfffffd80092ee370 estcpu=29, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7583 452869 49729 0 2 0x8000000 syz-executor 7583 192477 49729 0 3 0xc000080 fsleep syz-executor 48251 150403 77831 0 2 0x8000000 syz-executor 48251 400293 77831 0 2 0xc000000 syz-executor 48251 509970 77831 0 3 0xc000000 inode syz-executor 48251 200298 77831 0 3 0xc000000 inode syz-executor 53196 394736 58955 0 2 0x8000000 syz-executor *53196 44248 58955 0 7 0xc000000 syz-executor 68878 397304 92905 0 2 0x8000000 syz-executor 68878 381958 92905 0 3 0xc000080 kqsel syz-executor 68878 361093 92905 0 3 0xc000080 fsleep syz-executor 13042 134735 58949 0 3 0x8000082 nanoslp syz-executor 91859 17770 58949 0 3 0x8000002 biowait syz-executor 49729 260333 58949 0 3 0x8000082 nanoslp syz-executor 14148 520890 58949 0 3 0x8000002 biowait syz-executor 4053 5206 58949 0 2 0x8000002 syz-executor 58955 521378 58949 0 3 0x8000082 nanoslp syz-executor 77831 343986 58949 0 3 0x8000082 nanoslp syz-executor 92905 220339 58949 0 3 0x8000082 nanoslp syz-executor 58949 507054 3655 0 3 0x8000082 kqread syz-executor 3655 191139 44735 0 3 0x810008a sigsusp ksh 44735 489465 75249 0 3 0x18000098 kqread sshd-session 75249 144974 95769 0 3 0x18000092 kqread sshd-session 19863 483255 1 0 3 0x18100083 ttyin getty 95769 21402 1 0 3 0x18000088 kqread sshd 52902 109713 73846 74 3 0x19100092 bpf pflogd 73846 297944 1 0 3 0x18000080 sbwait pflogd 82209 309212 39231 73 3 0x19100010 biowait syslogd 39231 439681 1 0 3 0x18100082 sbwait syslogd 26010 257636 1 0 3 0x18100080 kqread resolvd 95564 518239 31424 77 3 0x18100092 kqread dhcpleased 2082 89983 31424 77 3 0x18100092 kqread dhcpleased 31424 323290 1 0 3 0x18000080 kqread dhcpleased 57351 402802 0 0 3 0x14200 bored smr 75000 204017 0 0 2 0x14200 zerothread 80031 17596 0 0 3 0x14200 aiodoned aiodoned 89235 398876 0 0 3 0x14200 syncer update 81103 425086 0 0 3 0x14200 cleaner cleaner 50482 345705 0 0 3 0x14200 reaper reaper 10039 127660 0 0 3 0x14200 pgdaemon pagedaemon 34375 404952 0 0 3 0x14200 bored viomb 29216 177638 0 0 3 0x40014200 acpi0 acpi0 46817 430574 0 0 3 0x40014200 idle1 40559 98558 0 0 3 0x14200 bored softnet3 90050 323503 0 0 3 0x14200 bored softnet2 15106 44440 0 0 3 0x14200 bored softnet1 14262 421950 0 0 3 0x14200 bored softnet0 81096 379604 0 0 3 0x14200 bored systqmp 42519 448618 0 0 3 0x14200 bored systq 93468 48449 0 0 3 0x14200 tmoslp softclockmp 22988 86924 0 0 3 0x40014200 tmoslp softclock 75703 106842 0 0 3 0x40014200 idle0 1 369116 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex /syzkaller/managers/multicore/kernel/sys/kern/vfs_subr.c:119 r = 0 (0xffffffff8341ff18) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 vclean+0x87 sys/kern/vfs_subr.c:1051 #4 vgonel+0xec sys/kern/vfs_subr.c:1197 #5 checkalias+0x1ab #6 ffs_vinit+0x13d #7 ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 #8 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 vn_open+0x13f sys/kern/vfs_vnops.c:140 #13 doopenat+0x31d sys/kern/vfs_syscalls.c:1123 #14 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #14 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #15 Xsyscall+0x128 Process 48251 (syz-executor) thread 0xffff8000ffff7bf8 (400293) exclusive rrwlock inode r = 0 (0xfffffd806de14a38) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:120 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #7 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #8 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #9 namei+0x7aa sys/kern/vfs_lookup.c:250 #10 dolinkat+0xd4 sys/kern/vfs_syscalls.c:1711 #11 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #11 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807e1763d8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 dolinkat+0xd4 sys/kern/vfs_syscalls.c:1711 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 53196 (syz-executor) thread 0xffff8000ffff51e0 (44248) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8355d7e8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 __mp_acquire_count+0x58 #2 mi_switch+0x658 sys/kern/sched_bsd.c:460 #3 sleep_finish+0x229 sys/kern/kern_synch.c:416 #4 getblk+0x197 sys/kern/vfs_bio.c:1025 #5 bread+0x47 bio_doread sys/kern/vfs_bio.c:430 [inline] #5 bread+0x47 sys/kern/vfs_bio.c:475 #6 ffs_vget+0x283 sys/ufs/ffs/ffs_vfsops.c:1247 #7 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 vn_open+0x13f sys/kern/vfs_vnops.c:140 #12 doopenat+0x31d sys/kern/vfs_syscalls.c:1123 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807e1764e8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:120 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #7 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #8 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #9 namei+0x7aa sys/kern/vfs_lookup.c:250 #10 vn_open+0x13f sys/kern/vfs_vnops.c:140 #11 doopenat+0x31d sys/kern/vfs_syscalls.c:1123 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807e1761b8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 vn_open+0x13f sys/kern/vfs_vnops.c:140 #8 doopenat+0x31d sys/kern/vfs_syscalls.c:1123 #9 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #9 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 exclusive mutex /syzkaller/managers/multicore/kernel/sys/kern/vfs_subr.c:119 r = 0 (0xffffffff8341ff18) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 vclean+0x87 sys/kern/vfs_subr.c:1051 #4 vgonel+0xec sys/kern/vfs_subr.c:1197 #5 checkalias+0x1ab #6 ffs_vinit+0x13d #7 ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 #8 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 vn_open+0x13f sys/kern/vfs_vnops.c:140 #13 doopenat+0x31d sys/kern/vfs_syscalls.c:1123 #14 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #14 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #15 Xsyscall+0x128 Process 91859 (syz-executor) thread 0xffff8000ffff6530 (17770) exclusive rrwlock inode r = 0 (0xfffffd806e10a2c8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:120 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3100 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807e176c58) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3085 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 14148 (syz-executor) thread 0xffff8000ffff71d8 (520890) exclusive rrwlock inode r = 0 (0xfffffd806de145f8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:120 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3100 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d22ab40) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3085 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 4053 (syz-executor) thread 0xffff8000ffff7460 (5206) exclusive rrwlock inode r = 0 (0xfffffd807e1765f8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:696 #6 cache_lookup+0x36e sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 Process 82209 (syslogd) thread 0xffff8000ffffdbe8 (309212) exclusive rrwlock inode r = 0 (0xfffffd806e4961b0) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0x152 sys/kern/vfs_syscalls.c:2927 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10194 10284K 10413K 166960K 11422 0 pcb 17 14K 15K 166960K 53 0 rtable 234 6K 6K 166960K 638 0 pf 32 9K 10K 166960K 59 0 ifaddr 45 15K 15K 166960K 82 0 ifgroup 55 2K 2K 166960K 87 0 counters 64 36K 36K 166960K 80 0 ioctlops 0 0K 4K 166960K 1502 0 iov 0 0K 2K 166960K 3 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1401 88K 88K 166960K 1588 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 93K 166960K 336 0 sigio 0 0K 0K 166960K 2 0 proc 70 91K 140K 166960K 758 0 subproc 104 6K 6K 166960K 208 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 22 0 in_multi 99 7K 7K 166960K 195 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 49 228K 228K 166960K 49 0 exec 0 0K 1K 166960K 471 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 229 76K 77K 166960K 4205 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 40 80K 104K 166960K 1613 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 9 0 NDP 20 1K 2K 166960K 52 0 temp 37 6802K 6866K 166960K 5385 0 kqueue 13 20K 28K 166960K 40 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 190 0 187 5 2 3 5 0 8 2 rtentry 112 205 0 95 4 0 4 4 0 8 0 unpcb 144 164 0 142 3 2 1 3 0 8 0 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpcb 808 43 0 38 1 0 1 1 0 8 0 arp 120 36 0 18 1 0 1 1 0 8 0 inpcb 384 272 0 263 8 5 3 8 0 8 2 nd6 136 48 0 24 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 16 0 8 1 0 1 1 0 8 0 pffrag 232 1 0 1 1 0 1 1 0 482 1 pffrnode 88 1 0 1 1 0 1 1 0 8 1 pffrent 40 2 0 2 1 0 1 1 0 8 1 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 30 0 3 1 0 1 1 0 8 0 pfstkey 128 30 0 3 1 0 1 1 0 8 0 pfstate 376 30 0 3 3 0 3 3 0 8 0 pfrule 1344 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 820 0 364 30 1 29 29 0 8 0 art_table 32 821 0 364 4 0 4 4 0 8 0 art_node 16 204 0 104 1 0 1 1 0 8 0 semapl 112 3 0 0 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1715 0 190 96 0 96 96 0 8 0 ffsino 272 1716 0 190 102 0 102 102 0 8 0 nchpl 144 2031 0 333 64 0 64 64 0 8 0 uvmvnodes 80 2015 0 0 42 0 42 42 0 8 0 vnodes 216 2015 0 0 112 0 112 112 0 8 0 namei 1024 7596 0 7590 3 2 1 2 0 8 0 percpumem 16 54 0 8 1 0 1 1 0 8 0 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 696 1 0 0 1 0 1 1 0 8 0 kstatmem 264 40 0 16 2 0 2 2 0 8 0 scxspl 216 7682 0 7679 3 2 1 2 1 8 0 plimitpl 152 116 0 99 1 0 1 1 0 8 0 sigapl 424 618 0 571 8 2 6 7 0 8 0 futexpl 64 1686 0 1684 2 1 1 1 0 8 0 knotepl 120 305 0 0 9 0 9 9 0 8 0 kqueuepl 216 111 0 100 5 4 1 5 0 8 0 pipepl 320 200 0 173 8 4 4 8 0 8 1 fdescpl 496 600 0 571 6 1 5 5 0 8 0 filepl 152 3285 0 3029 18 4 14 18 0 8 3 lockfpl 104 32 0 30 1 0 1 1 0 8 0 lockfspl 48 16 0 14 1 0 1 1 0 8 0 sessionpl 144 30 0 21 1 0 1 1 0 8 0 pgrppl 48 46 0 29 1 0 1 1 0 8 0 ucredpl 104 184 0 171 1 0 1 1 0 8 0 zombiepl 144 572 0 571 1 0 1 1 0 8 0 processpl 1152 618 0 571 5 1 4 5 0 8 0 procpl 648 758 0 704 7 1 6 6 0 8 0 srpgc 96 2 0 2 1 1 0 1 0 8 0 sockpl 664 629 0 595 18 10 8 18 0 8 5 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 249 0 0 32 0 32 32 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 254 0 0 16 0 16 16 0 8 0 bufpl 280 4861 0 100 341 0 341 341 0 8 0 anonpl 24 199551 0 196245 51 1 50 50 0 185 27 amapchunkpl 152 14085 0 13622 31 0 31 31 0 158 10 amappl16 200 5491 0 5481 5 3 2 5 0 8 1 amappl15 192 17 0 17 1 1 0 1 0 8 0 amappl14 184 172 0 160 1 0 1 1 0 8 0 amappl13 176 13 0 13 1 1 0 1 0 8 0 amappl12 168 1377 0 1348 4 2 2 3 0 8 0 amappl11 160 53 0 38 1 0 1 1 0 8 0 amappl10 152 17 0 16 1 0 1 1 0 8 0 amappl9 144 146 0 146 1 1 0 1 0 8 0 amappl8 136 31 0 29 1 0 1 1 0 8 0 amappl7 128 130 0 118 1 0 1 1 0 8 0 amappl6 120 289 0 288 1 0 1 1 0 8 0 amappl5 112 165 0 154 1 0 1 1 0 8 0 amappl4 104 346 0 325 1 0 1 1 0 8 0 amappl3 96 2507 0 2400 4 0 4 4 0 8 1 amappl2 88 725 0 662 2 0 2 2 0 8 0 amappl1 80 8855 0 8271 16 2 14 15 0 8 1 amappl 88 3777 0 3614 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 601 0 571 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 601 0 571 1 0 1 1 0 8 0 vmmpekpl 168 7229 0 7176 3 0 3 3 0 8 0 vmmpepl 168 47204 0 45422 87 1 86 86 0 357 2 vmsppl 440 600 0 571 6 2 4 5 0 8 0 rwobjpl 56 20853 0 17911 43 0 43 43 0 8 0 pdppl 4096 1209 0 1143 111 33 78 85 0 8 12 pvpl 32 26460 0 0 215 1 214 214 0 265 0 pmappl 248 600 0 571 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 403 0 40 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830dcab3) at panic+0x1e5 sys/kern/subr_prf.c:198 vclean(fffffd806bf687d0,8,ffff8000ffff51e0) at vclean+0x482 sys/kern/vfs_subr.c:1065 vgonel(fffffd806bf687d0,ffff8000ffff51e0) at vgonel+0xec sys/kern/vfs_subr.c:1197 checkalias(fffffd806bf68c08,0,ffff800000a66c00) at checkalias+0x1ab ffs_vinit(ffff800000a66c00,ffff8000371d4170) at ffs_vinit+0x13d ffs_vget(ffff800000a66c00,1fc4d,ffff8000371d4258) at ffs_vget+0x429 sys/ufs/ffs/ffs_vfsops.c:1283 ufs_lookup() at ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 VOP_LOOKUP(fffffd806bf6eb28,ffff8000371d46a8,ffff8000371d46d8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000371d4678) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff8000371d4678) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff8000371d4678,1,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 doopenat(ffff8000ffff51e0,ffffff9c,20000080,0,0,ffff8000371d4820) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371d48d0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371d48d0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xddc5a7fb830, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8355d5e0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8355d5e0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff8355d5e0,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x658 sys/kern/sched_bsd.c:460 sleep_finish(0,1) at sleep_finish+0x229 sys/kern/kern_synch.c:416 getblk(fffffd807ec0d798,1fa5e0,4000,0,ffffffffffffffff) at getblk+0x197 sys/kern/vfs_bio.c:1025 bread(fffffd807ec0d798,1fa5e0,4000,ffff80002a148788) at bread+0x47 bio_doread sys/kern/vfs_bio.c:430 [inline] bread(fffffd807ec0d798,1fa5e0,4000,ffff80002a148788) at bread+0x47 sys/kern/vfs_bio.c:475 ffs_update(fffffd807e176780,0) at ffs_update+0x198 sys/ufs/ffs/ffs_inode.c:91 ufs_inactive(ffff80002a148848) at ufs_inactive+0x309 sys/ufs/ufs/ufs_inode.c:103 VOP_INACTIVE(fffffd806bf6e6f0,ffff8000ffff5c00) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd806bf6e6f0) at vrele+0x129 sys/kern/vfs_subr.c:847 fdfree(ffff8000ffff5c00) at fdfree+0x289 sys/kern/kern_descrip.c:1210 end trace frame: 0xffff80002a1489d0, count: 0 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8355d5e0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8355d5e0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff8355d5e0,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x658 sys/kern/sched_bsd.c:460 sleep_finish(0,1) at sleep_finish+0x229 sys/kern/kern_synch.c:416 getblk(fffffd807ec0d798,1fa5e0,4000,0,ffffffffffffffff) at getblk+0x197 sys/kern/vfs_bio.c:1025 bread(fffffd807ec0d798,1fa5e0,4000,ffff80002a148788) at bread+0x47 bio_doread sys/kern/vfs_bio.c:430 [inline] bread(fffffd807ec0d798,1fa5e0,4000,ffff80002a148788) at bread+0x47 sys/kern/vfs_bio.c:475 ffs_update(fffffd807e176780,0) at ffs_update+0x198 sys/ufs/ffs/ffs_inode.c:91 ufs_inactive(ffff80002a148848) at ufs_inactive+0x309 sys/ufs/ufs/ufs_inode.c:103 VOP_INACTIVE(fffffd806bf6e6f0,ffff8000ffff5c00) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd806bf6e6f0) at vrele+0x129 sys/kern/vfs_subr.c:847 fdfree(ffff8000ffff5c00) at fdfree+0x289 sys/kern/kern_descrip.c:1210 exit1(ffff8000ffff5c00,0,0,1) at exit1+0x71b sys/kern/kern_exit.c:221 sys_exit(ffff8000ffff5c00,ffff80002a148ae0,ffff80002a148a30) at sys_exit+0x1a syscall(ffff80002a148ae0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a148ae0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f2f32293d40, count: -18