panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 90564 29438 0 0x8000000 0 1K syz-executor.1 *170246 61915 0 0x8000000 0 0 syz-executor.6 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828e25ca) at panic+0x17b sys/kern/subr_prf.c:198 witness_checkorder(ffffffff82e12c80,9,0) at witness_checkorder+0xd03 witness_debugger sys/kern/subr_witness.c:2524 [inline] witness_checkorder(ffffffff82e12c80,9,0) at witness_checkorder+0xd03 sys/kern/subr_witness.c:786 __mp_lock(ffffffff82e12a78) at __mp_lock+0xa2 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82e12a78) at __mp_lock+0xa2 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82e12a78) at __mp_lock+0xa2 sys/kern/kern_lock.c:142 intr_handler(ffff80002a30c910,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:539 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f pool_do_get(ffffffff82dfaa10,9,ffff80002a30cab8) at pool_do_get+0x99 sys/kern/subr_pool.c:720 pool_get(ffffffff82dfaa10,9) at pool_get+0xf0 sys/kern/subr_pool.c:582 uvmspace_alloc(0,1000,1,0) at uvmspace_alloc+0x41 sys/uvm/uvm_map.c:3279 vm_impl_init(ffff80002a2b48d8,ffff80002a20d4a0) at vm_impl_init+0x92 sys/arch/amd64/amd64/vmm_machdep.c:1245 vm_create(ffff800000dfa000,ffff80002a20d4a0) at vm_create+0x13e sys/dev/vmm/vmm.c:388 vmmioctl(a00,c2585601,ffff800000dfa000,1,ffff80002a20d4a0) at vmmioctl+0x2de VOP_IOCTL(fffffd806e923cb0,c2585601,ffff800000dfa000,1,fffffd807f7d3958,ffff80002a20d4a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8067f1f850,c2585601,ffff800000dfa000,ffff80002a20d4a0) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 end trace frame: 0xffff80002a30cf70, 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: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828e25ca) at panic+0x17b sys/kern/subr_prf.c:198 witness_checkorder(ffffffff82e12c80,9,0) at witness_checkorder+0xd03 witness_debugger sys/kern/subr_witness.c:2524 [inline] witness_checkorder(ffffffff82e12c80,9,0) at witness_checkorder+0xd03 sys/kern/subr_witness.c:786 __mp_lock(ffffffff82e12a78) at __mp_lock+0xa2 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82e12a78) at __mp_lock+0xa2 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82e12a78) at __mp_lock+0xa2 sys/kern/kern_lock.c:142 intr_handler(ffff80002a30c910,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:539 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f pool_do_get(ffffffff82dfaa10,9,ffff80002a30cab8) at pool_do_get+0x99 sys/kern/subr_pool.c:720 pool_get(ffffffff82dfaa10,9) at pool_get+0xf0 sys/kern/subr_pool.c:582 uvmspace_alloc(0,1000,1,0) at uvmspace_alloc+0x41 sys/uvm/uvm_map.c:3279 vm_impl_init(ffff80002a2b48d8,ffff80002a20d4a0) at vm_impl_init+0x92 sys/arch/amd64/amd64/vmm_machdep.c:1245 vm_create(ffff800000dfa000,ffff80002a20d4a0) at vm_create+0x13e sys/dev/vmm/vmm.c:388 vmmioctl(a00,c2585601,ffff800000dfa000,1,ffff80002a20d4a0) at vmmioctl+0x2de VOP_IOCTL(fffffd806e923cb0,c2585601,ffff800000dfa000,1,fffffd807f7d3958,ffff80002a20d4a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8067f1f850,c2585601,ffff800000dfa000,ffff80002a20d4a0) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a20d4a0,ffff80002a30d050,ffff80002a30cfa0) at sys_ioctl+0x4a9 syscall(ffff80002a30d050) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a30d050) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ba26588bca0, count: -17 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a30c700 rbx 0xffffffff82cd7d77 cpu_info_full_primary+0x2d77 rdx 0x3fd rcx 0 rax 0x68 r8 0x101010101010101 r9 0x8080808080808080 r10 0xffd8e6344d8c9fe8 r11 0x4115f0779e46b38b r12 0xffffffff82cd7b78 cpu_info_full_primary+0x2b78 r13 0 r14 0 r15 0x1 rip 0xffffffff819d771c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002a30c6f0 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.6) tid=170246 pid=61915 tcnt=1 stat=onproc flags process=8000000 proc=0 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a2b7738,0xffff80002a20d220 process=0xffff80002a295648 user=0xffff80002a308000, vmspace=0xfffffd806a001378 estcpu=0, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 29438 90564 9012 0 7 0x8000000 syz-executor.1 *61915 170246 36531 0 7 0x8000000 syz-executor.6 11610 288724 84679 0 3 0x8000002 biowait syz-executor.4 88464 473218 84679 0 3 0x8000002 getblk syz-executor.5 31115 522504 84679 0 3 0x8000002 getblk syz-executor.0 9012 397358 84679 0 3 0x8000082 nanoslp syz-executor.1 76701 311782 84679 0 3 0x8000002 biowait syz-executor.2 27231 42748 84679 0 3 0x8000002 getblk syz-executor.7 36531 372700 84679 0 3 0x8000082 nanoslp syz-executor.6 48444 364720 84679 0 3 0x8000082 nanoslp syz-executor.3 84679 239683 72639 0 3 0x1a000082 wait syz-execprog 84679 459877 72639 0 3 0x1e000082 nanoslp syz-execprog 84679 242052 72639 0 3 0x1e000082 wait syz-execprog 84679 19568 72639 0 3 0x1e000082 wait syz-execprog 84679 30114 72639 0 3 0x1e000082 thrsleep syz-execprog 84679 514029 72639 0 3 0x1e000082 wait syz-execprog 84679 285044 72639 0 3 0x1e000082 wait syz-execprog 84679 64152 72639 0 3 0x1e000082 thrsleep syz-execprog 84679 364786 72639 0 3 0x1e000082 wait syz-execprog 84679 129203 72639 0 3 0x1e000082 wait syz-execprog 84679 164123 72639 0 3 0x1e000082 thrsleep syz-execprog 84679 215063 72639 0 3 0x1e000082 wait syz-execprog 84679 205495 72639 0 3 0x1e000082 kqread syz-execprog 84679 241720 72639 0 3 0x1e000082 thrsleep syz-execprog 84679 57482 72639 0 3 0x1e000082 thrsleep syz-execprog 72639 172388 40219 0 3 0x810008a sigsusp ksh 40219 462229 46873 0 3 0x1800009a kqread sshd 29913 295854 1 0 3 0x18100083 ttyin getty 46873 119410 1 0 3 0x18000088 kqread sshd 93830 508364 32462 73 3 0x19100090 kqread syslogd 32462 497638 1 0 3 0x18100082 sbwait syslogd 52259 115200 1 0 3 0x18100080 kqread resolvd 85073 223511 55588 77 3 0x18100092 kqread dhcpleased 54033 137430 55588 77 3 0x18100092 kqread dhcpleased 55588 130025 1 0 3 0x18000080 kqread dhcpleased 98399 514228 0 0 3 0x14200 bored smr 30499 492731 0 0 3 0x14200 pgzero zerothread 93610 58774 0 0 3 0x14200 aiodoned aiodoned 87590 336841 0 0 3 0x14200 syncer update 87485 343107 0 0 3 0x14200 cleaner cleaner 78129 243486 0 0 3 0x14200 reaper reaper 84098 355301 0 0 3 0x14200 pgdaemon pagedaemon 78688 50008 0 0 3 0x14200 bored viomb 86811 420862 0 0 3 0x40014200 acpi0 acpi0 96696 23956 0 0 3 0x40014200 idle1 21779 7084 0 0 3 0x14200 bored softnet3 46846 31349 0 0 3 0x14200 bored softnet2 28613 446055 0 0 3 0x14200 bored softnet1 19926 18870 0 0 3 0x14200 bored softnet0 60173 511970 0 0 3 0x14200 bored systqmp 70626 167335 0 0 3 0x14200 bored systq 61406 265551 0 0 3 0x14200 tmoslp softclockmp 54909 228314 0 0 3 0x40014200 tmoslp softclock 42402 135127 0 0 3 0x40014200 idle0 1 386793 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex vmsppl r = 0 (0xffffffff82dfaa20) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 mtx_enter_try+0x103 #2 mtx_enter+0x4e sys/kern/kern_lock.c:266 #3 pool_get+0xc4 sys/kern/subr_pool.c:579 #4 uvmspace_alloc+0x41 sys/uvm/uvm_map.c:3279 #5 vm_impl_init+0x92 sys/arch/amd64/amd64/vmm_machdep.c:1245 #6 vm_create+0x13e sys/dev/vmm/vmm.c:388 #7 vmmioctl+0x2de #8 VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 #9 vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 #10 sys_ioctl+0x4a9 #11 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #11 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 Process 29438 (syz-executor.1) thread 0xffff80002a20d210 (90564) exclusive rwlock amaplk r = 0 (0xfffffd806b0106a0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 uvm_fault_check+0x401 sys/uvm/uvm_fault.c:782 #2 uvm_fault+0xf2 sys/uvm/uvm_fault.c:600 #3 upageflttrap+0x8e sys/arch/amd64/amd64/trap.c:188 #4 usertrap+0x22a sys/arch/amd64/amd64/trap.c:436 #5 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd806b185998) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1785 #2 uvm_fault_check+0x3e sys/uvm/uvm_fault.c:672 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:600 #4 upageflttrap+0x8e sys/arch/amd64/amd64/trap.c:188 #5 usertrap+0x22a sys/arch/amd64/amd64/trap.c:436 #6 recall_trap+0x8 Process 11610 (syz-executor.4) thread 0xffff80002a20c020 (288724) exclusive rrwlock inode r = 0 (0xfffffd8067d3cc58) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x1e4 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0xe6 sys/ufs/ufs/ufs_vnops.c:1117 #8 VOP_MKDIR+0xc3 sys/kern/vfs_vops.c:388 #9 domkdirat+0x125 sys/kern/vfs_syscalls.c:3077 #10 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #10 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80697763d0) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd3 sys/kern/vfs_lookup.c:418 #6 namei+0x56a sys/kern/vfs_lookup.c:250 #7 domkdirat+0x79 sys/kern/vfs_syscalls.c:3062 #8 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #8 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 88464 (syz-executor.5) thread 0xffff80002a20c540 (473218) exclusive rrwlock inode r = 0 (0xfffffd8067d3cd68) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ufs_lookup+0x1113 sys/ufs/ufs/ufs_lookup.c:573 #7 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #8 vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566 #9 namei+0x56a sys/kern/vfs_lookup.c:250 #10 dofstatat+0xae sys/kern/vfs_syscalls.c:2073 #11 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #11 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8067d3c708) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 vget+0x1fd sys/kern/vfs_subr.c:676 #6 cache_lookup+0x2b3 sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x1b2 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566 #10 namei+0x56a sys/kern/vfs_lookup.c:250 #11 dofstatat+0xae sys/kern/vfs_syscalls.c:2073 #12 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #12 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 Process 31115 (syz-executor.0) thread 0xffff80002a20c2b0 (522504) exclusive rrwlock inode r = 0 (0xfffffd8067d3c1b8) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x46 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ufs_lookup+0x1113 sys/ufs/ufs/ufs_lookup.c:573 #7 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #8 vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566 #9 namei+0x56a sys/kern/vfs_lookup.c:250 #10 dofstatat+0xae sys/kern/vfs_syscalls.c:2073 #11 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #11 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8067d3c2c8) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 vget+0x1fd sys/kern/vfs_subr.c:676 #6 cache_lookup+0x2b3 sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x1b2 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566 #10 namei+0x56a sys/kern/vfs_lookup.c:250 #11 dofstatat+0xae sys/kern/vfs_syscalls.c:2073 #12 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #12 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 Process 76701 (syz-executor.2) thread 0xffff8000ffff62a8 (311782) exclusive rrwlock inode r = 0 (0xfffffd8067d3c818) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 vget+0x1fd sys/kern/vfs_subr.c:676 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x1373 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566 #11 namei+0x56a sys/kern/vfs_lookup.c:250 #12 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1855 #13 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #13 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8067d3c4e8) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 vget+0x1fd sys/kern/vfs_subr.c:676 #6 cache_lookup+0x2b3 sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x1b2 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566 #10 namei+0x56a sys/kern/vfs_lookup.c:250 #11 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1855 #12 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #12 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 Process 27231 (syz-executor.7) thread 0xffff8000ffff6f78 (42748) exclusive rrwlock inode r = 0 (0xfffffd8067d3c3d8) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 rw_enter+0x32d sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x91 sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 vn_closefile+0xc9 vn_close sys/kern/vfs_vnops.c:292 [inline] #5 vn_closefile+0xc9 sys/kern/vfs_vnops.c:609 #6 fdrop+0xd5 sys/kern/kern_descrip.c:1274 #7 closef+0x120 sys/kern/kern_descrip.c:1258 #8 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #8 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10167 6406K 6419K 166960K 11245 0 pcb 17 12K 12K 166960K 17 0 rtable 234 6K 6K 166960K 347 0 pf 29 8K 10K 166960K 40 0 ifaddr 44 15K 15K 166960K 46 0 ifgroup 50 2K 2K 166960K 50 0 counters 64 36K 36K 166960K 64 0 ioctlops 1 1K 4K 166960K 1729 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1265 80K 80K 166960K 1930 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 12 41K 97K 166960K 380 0 proc 55 78K 127K 166960K 480 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 617 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 489 93K 93K 166960K 4843 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 32 64K 100K 166960K 1522 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 11 0K 2K 166960K 27 0 temp 1 6804K 6869K 166960K 4557 0 kqueue 12 18K 18K 166960K 25 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 33 0 30 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 144 33 0 20 1 0 1 1 0 8 0 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpqe 32 25 0 25 1 1 0 1 0 8 0 tcpcb 808 8 0 5 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 384 62 0 56 1 0 1 1 0 8 0 nd6 136 24 0 0 1 0 1 1 0 8 0 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 17 0 6 2 1 1 1 0 8 0 pfstkey 128 17 0 6 2 1 1 1 0 8 0 pfstate 376 17 0 6 3 1 2 2 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 0 29 0 29 29 0 8 0 art_table 32 454 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2594 0 1069 96 0 96 96 0 8 0 ffsino 272 2595 0 1069 102 0 102 102 0 8 0 nchpl 144 3052 0 1271 68 1 67 67 0 8 0 uvmvnodes 80 2730 0 0 56 0 56 56 0 8 0 vnodes 216 2730 0 0 152 0 152 152 0 8 0 namei 1024 9740 0 9736 3 1 2 2 0 8 1 percpumem 16 46 0 0 1 0 1 1 0 8 0 vcpupl 3904 247 0 0 31 0 31 31 0 8 0 vmpool 696 248 0 0 23 0 23 23 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 9570 0 9568 10 9 1 8 1 8 0 plimitpl 152 34 0 19 1 0 1 1 0 8 0 sigapl 424 686 0 644 7 0 7 7 0 8 1 knotepl 120 114 0 0 4 0 4 4 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 320 142 0 114 4 1 3 3 0 8 0 fdescpl 496 668 0 645 5 0 5 5 0 8 1 filepl 152 3148 0 3012 6 0 6 6 0 8 0 lockfpl 104 501 0 498 1 0 1 1 0 8 0 lockfspl 48 252 0 249 1 0 1 1 0 8 0 sessionpl 144 25 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 9 1 0 1 1 0 8 0 ucredpl 104 66 0 56 1 0 1 1 0 8 0 zombiepl 144 645 0 644 2 1 1 1 0 8 0 processpl 1136 686 0 644 4 0 4 4 0 8 0 procpl 656 700 0 644 6 0 6 6 0 8 0 sockpl 664 128 0 106 4 1 3 3 0 8 1 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 388 0 0 49 1 48 49 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 413 0 0 26 0 26 26 0 8 0 bufpl 280 4615 0 188 317 0 317 317 0 8 0 anonpl 24 211962 0 206791 65 12 53 53 0 186 21 amapchunkpl 152 14652 0 14109 27 0 27 27 0 158 3 amappl16 200 5876 0 5540 22 4 18 18 0 8 0 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 161 0 149 2 0 2 2 0 8 1 amappl13 176 47 0 47 1 1 0 1 0 8 0 amappl12 168 1323 0 1296 3 0 3 3 0 8 1 amappl11 160 84 0 74 1 0 1 1 0 8 0 amappl10 152 44 0 36 2 1 1 1 0 8 0 amappl9 144 393 0 393 2 1 1 1 0 8 1 amappl8 136 122 0 91 2 0 2 2 0 8 0 amappl7 128 53 0 46 1 0 1 1 0 8 0 amappl6 120 338 0 324 2 0 2 2 0 8 1 amappl5 112 170 0 158 1 0 1 1 0 8 0 amappl4 104 572 0 538 2 0 2 2 0 8 0 amappl3 96 2431 0 2377 2 0 2 2 0 8 0 amappl2 88 1034 0 970 3 0 3 3 0 8 1 amappl1 80 11210 0 10735 23 3 20 22 0 8 8 amappl 88 4055 0 3900 4 0 4 4 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 915 0 645 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 915 0 645 2 0 2 2 0 8 0 vmmpekpl 168 9291 0 9244 3 0 3 3 0 8 0 vmmpepl 168 55245 0 53515 117 6 111 111 0 357 33 vmsppl 440 914 0 645 31 0 31 31 0 8 0 rwobjpl 56 23278 0 19362 58 2 56 56 0 8 0 pdppl 4096 1837 0 1537 329 26 303 303 0 8 3 pvpl 32 45548 0 0 364 0 364 364 0 265 0 pmappl 248 914 0 645 18 1 17 17 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 646 0 32 18 0 18 18 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828e25ca) at panic+0x17b sys/kern/subr_prf.c:198 witness_checkorder(ffffffff82e12c80,9,0) at witness_checkorder+0xd03 witness_debugger sys/kern/subr_witness.c:2524 [inline] witness_checkorder(ffffffff82e12c80,9,0) at witness_checkorder+0xd03 sys/kern/subr_witness.c:786 __mp_lock(ffffffff82e12a78) at __mp_lock+0xa2 read_rflags machine/cpufunc.h:195 [inline] __mp_lock(ffffffff82e12a78) at __mp_lock+0xa2 intr_disable machine/cpufunc.h:216 [inline] __mp_lock(ffffffff82e12a78) at __mp_lock+0xa2 sys/kern/kern_lock.c:142 intr_handler(ffff80002a30c910,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:539 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f pool_do_get(ffffffff82dfaa10,9,ffff80002a30cab8) at pool_do_get+0x99 sys/kern/subr_pool.c:720 pool_get(ffffffff82dfaa10,9) at pool_get+0xf0 sys/kern/subr_pool.c:582 uvmspace_alloc(0,1000,1,0) at uvmspace_alloc+0x41 sys/uvm/uvm_map.c:3279 vm_impl_init(ffff80002a2b48d8,ffff80002a20d4a0) at vm_impl_init+0x92 sys/arch/amd64/amd64/vmm_machdep.c:1245 vm_create(ffff800000dfa000,ffff80002a20d4a0) at vm_create+0x13e sys/dev/vmm/vmm.c:388 vmmioctl(a00,c2585601,ffff800000dfa000,1,ffff80002a20d4a0) at vmmioctl+0x2de VOP_IOCTL(fffffd806e923cb0,c2585601,ffff800000dfa000,1,fffffd807f7d3958,ffff80002a20d4a0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8067f1f850,c2585601,ffff800000dfa000,ffff80002a20d4a0) at vn_ioctl+0xc0 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff80002a20d4a0,ffff80002a30d050,ffff80002a30cfa0) at sys_ioctl+0x4a9 syscall(ffff80002a30d050) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002a30d050) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ba26588bca0, count: -17 ddb{0}> machine ddbcpu 1