witness: lock order reversal: 1st 0xffff800010fd7d60 sbufrcv (&so->so_rcv.sb_lock) 2nd 0xfffffd806de4af78 inode (&ip->i_lock) lock order [1] sbufrcv (&so->so_rcv.sb_lock) -> [2] inode (&ip->i_lock) lock order data 0xffffffff830d5171 -> 0xffffffff8304f7ef is missing lock order [2] inode (&ip->i_lock) -> [1] sbufrcv (&so->so_rcv.sb_lock) #0 rw_enter+0x122 #1 sblock+0xb7 sys/kern/uipc_socket2.c:549 #2 soreceive+0x298 sys/kern/uipc_socket.c:877 #3 fifo_read+0x11a sys/miscfs/fifofs/fifo_vnops.c:264 #4 VOP_READ+0x102 sys/kern/vfs_vops.c:227 #5 vn_rdwr+0x15b #6 vndsetcred+0xa1 sys/dev/vnd.c:684 #7 vndioctl+0xe6c sys/dev/vnd.c:485 #8 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #9 vn_ioctl+0xf6 sys/kern/vfs_vnops.c:525 #10 sys_ioctl+0x67c #11 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #11 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 Stopped at db_enter+0x25: addq $0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 witness_checkorder(fffffd806de4af78,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806de4af68,1) at rw_enter+0x122 rrw_enter(fffffd806de4af68,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8061bf92e8,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8061bf92e8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd8061bf92e8,fffffd8061bf92e8,0,0,200,0,31b569a9583bd88c) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd8061bf92e8,fffffd8061bf92e8,ffff8000ffffd1c8) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd806349a300,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1088 soreceive(ffff800010fd7c90,ffff80002b02d6a8,ffff80002b02d658,0,ffff80002b02d698,ffff80002b02d81c,a47aab263381585d) at soreceive+0xd3e sys/kern/uipc_socket.c:1022 recvit(ffff8000ffffd1c8,5,ffff80002b02d7f0,0,ffff80002b02d8a0) at recvit+0x40a sys/kern/uipc_syscalls.c:1082 sys_recvmsg(ffff8000ffffd1c8,ffff80002b02d950,ffff80002b02d8a0) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 syscall(ffff80002b02d950) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002b02d950) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdcf4d703380, count: -14 ddb{0}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff80002b02d100 rbx 0xffffffff83061629 pp_r600_decoded_lanes+0x34594 rdx 0xffff8000011b1840 rcx 0xffff8000ffffd1c8 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff80002b02cfe0 r9 0x8080808080808080 r10 0xea9c5bc3f1ec2c33 r11 0x9df76835bd535f21 r12 0xfffffd80042a11a8 r13 0xfffffd8003ab7dc0 r14 0x3 r15 0xffffffff rip 0xffffffff816cefe5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002b02d0f0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=358307 pid=672 tcnt=3 stat=onproc flags process=9000000 proc=4000000 runpri=24, usrpri=50, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff3c00,0xffff80002a0571e0 process=0xffff8000357a28a0 user=0xffff80002b028000, vmspace=0xfffffd807ba3b1c8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 672 255067 18924 0 2 0x9000000 syz-executor * 672 358307 18924 0 7 0xd000000 syz-executor 672 439389 18924 0 3 0xd000080 fsleep syz-executor 2601 392185 48802 60928 7 0x8000010 syz-executor 2601 280460 48802 60928 3 0xc000010 getblk syz-executor 22239 489174 39582 0 2 0x8000010 syz-executor 22239 17301 39582 0 3 0xc000090 fsleep syz-executor 78778 521710 72765 0 3 0x8000080 nanoslp syz-executor 78778 378768 72765 0 3 0xc000080 fifor syz-executor 78778 71205 72765 0 3 0xc000080 fsleep syz-executor 26277 260960 83107 0 3 0x8000002 biowait syz-executor 29027 7397 83107 0 3 0x8000002 biowait syz-executor 38256 395833 83107 0 3 0x8000082 nanoslp syz-executor 39582 83824 83107 0 3 0x8000082 nanoslp syz-executor 48802 166587 83107 0 3 0x8000082 nanoslp syz-executor 79397 356116 83107 0 3 0x8000002 getblk syz-executor 18924 501797 83107 0 3 0x8000082 nanoslp syz-executor 72765 13132 83107 0 3 0x8000082 nanoslp syz-executor 52569 326719 0 0 3 0x14200 acct acct 43852 265117 0 0 3 0x14280 nfsidl nfsio 12278 350801 0 0 3 0x14280 nfsidl nfsio 34550 31062 0 0 3 0x14280 nfsidl nfsio 34926 327510 0 0 3 0x14280 nfsidl nfsio 88833 143667 0 0 3 0x14280 nfsidl nfsio 89151 516966 0 0 3 0x14280 nfsidl nfsio 91805 147640 0 0 3 0x14280 nfsidl nfsio 75898 479752 0 0 3 0x14280 nfsidl nfsio 46690 71430 0 0 3 0x14280 nfsidl nfsio 72056 497977 0 0 3 0x14280 nfsidl nfsio 7665 25398 0 0 3 0x14280 nfsidl nfsio 34354 397884 0 0 3 0x14280 nfsidl nfsio 43848 103298 0 0 3 0x14280 nfsidl nfsio 61567 214505 0 0 3 0x14280 nfsidl nfsio 65243 200045 0 0 3 0x14280 nfsidl nfsio 49428 79131 0 0 3 0x14280 nfsidl nfsio 24286 191439 0 0 3 0x14280 nfsidl nfsio 17536 500708 0 0 3 0x14280 nfsidl nfsio 26128 273193 0 0 3 0x14280 nfsidl nfsio 77827 170707 0 0 3 0x14280 nfsidl nfsio 1254 167986 1 0 3 0x18100083 ttyin getty 6230 68082 0 0 3 0x14200 bored sosplice 83107 173428 34229 0 3 0x8000082 kqread syz-executor 34229 169336 44389 0 3 0x810008a sigsusp ksh 44389 22396 24001 0 3 0x18000098 kqread sshd-session 24001 411012 94062 0 3 0x18000092 kqread sshd-session 94062 469993 1 0 3 0x18000088 kqread sshd 94489 97951 65457 74 3 0x19100092 bpf pflogd 65457 512304 1 0 3 0x18000080 sbwait pflogd 18237 465160 28746 73 3 0x19100010 ffs_fsync syslogd 28746 325651 1 0 3 0x18100082 sbwait syslogd 58696 472368 1 0 3 0x18100080 kqread resolvd 12247 350291 80783 77 3 0x18100092 kqread dhcpleased 23116 456873 80783 77 3 0x18100092 kqread dhcpleased 80783 442010 1 0 3 0x18000080 kqread dhcpleased 73132 302304 0 0 3 0x14200 bored smr 90327 223999 0 0 2 0x14200 zerothread 66186 47681 0 0 3 0x14200 aiodoned aiodoned 39732 348025 0 0 3 0x14200 syncer update 13787 186850 0 0 3 0x14200 cleaner cleaner 26894 373856 0 0 3 0x14200 reaper reaper 63767 488813 0 0 3 0x14200 pgdaemon pagedaemon 14213 345609 0 0 3 0x14200 bored viomb 93032 189263 0 0 3 0x40014200 acpi0 acpi0 41591 102464 0 0 3 0x40014200 idle1 33309 493224 0 0 3 0x14200 bored softnet3 99015 276319 0 0 3 0x14200 bored softnet2 97928 472954 0 0 3 0x14200 bored softnet1 30446 376452 0 0 3 0x14200 bored softnet0 49502 432169 0 0 3 0x14200 bored systqmp 48908 120147 0 0 3 0x14200 bored systq 30086 362170 0 0 3 0x14200 tmoslp softclockmp 59895 336160 0 0 3 0x40014200 tmoslp softclock 58903 94007 0 0 3 0x40014200 idle0 1 317590 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 672 (syz-executor) thread 0xffff8000ffffd1c8 (358307) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff834f5130) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 unp_externalize+0x14e #2 soreceive+0xd3e sys/kern/uipc_socket.c:1022 #3 recvit+0x40a sys/kern/uipc_syscalls.c:1082 #4 sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 #5 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #5 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 exclusive rwlock sbufrcv r = 0 (0xffff800010fd7d60) #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 sblock+0xb7 sys/kern/uipc_socket2.c:549 #3 soreceive+0x298 sys/kern/uipc_socket.c:877 #4 recvit+0x40a sys/kern/uipc_syscalls.c:1082 #5 sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 #6 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 2601 (syz-executor) thread 0xffff8000ffff2f58 (280460) exclusive rrwlock inode r = 0 (0xfffffd807dbd22c8) #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_makeinode+0xcb sys/ufs/ufs/ufs_vnops.c:1728 #8 ufs_create+0x4e sys/ufs/ufs/ufs_vnops.c:147 #9 VOP_CREATE+0xff sys/kern/vfs_vops.c:103 #10 vn_open+0x491 sys/kern/vfs_vnops.c:116 #11 doopenat+0x31d sys/kern/vfs_syscalls.c:1127 #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 (0xfffffd80741f24e0) #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+0x1f4 sys/kern/vfs_vnops.c:107 #8 doopenat+0x31d sys/kern/vfs_syscalls.c:1127 #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 Process 26277 (syz-executor) thread 0xffff8000371bf700 (260960) exclusive rrwlock inode r = 0 (0xfffffd80680e7b48) #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:676 #6 ufs_ihashget+0x171 sys/ufs/ufs/ufs_ihash.c:95 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #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 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1856 #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 (0xfffffd806bd92098) #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:676 #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:1856 #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 29027 (syz-executor) thread 0xffff8000371bece0 (7397) exclusive rrwlock inode r = 0 (0xfffffd80680e7f88) #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:676 #6 ufs_ihashget+0x171 sys/ufs/ufs/ufs_ihash.c:95 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #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 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1856 #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 (0xfffffd80680e70a8) #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 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1856 #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 79397 (syz-executor) thread 0xffff8000371bf988 (356116) exclusive rrwlock inode r = 0 (0xfffffd80741f2d60) #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:676 #6 ufs_ihashget+0x171 sys/ufs/ufs/ufs_ihash.c:95 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #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 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1856 #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 (0xfffffd80741f2a30) #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 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1856 #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 18237 (syslogd) thread 0xffff8000ffffd960 (465160) exclusive rrwlock inode r = 0 (0xfffffd806e49c4e0) #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:2931 #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 10207 10244K 10616K 166960K 13128 0 pcb 17 12K 12K 166960K 226 0 rtable 227 14K 15K 166960K 1408 0 pf 37 10K 10K 166960K 127 0 ifaddr 48 16K 16K 166960K 190 0 ifgroup 64 2K 2K 166960K 207 0 sysctl 4 1K 1K 166960K 4 0 counters 68 36K 37K 166960K 146 0 ioctlops 0 0K 4K 166960K 1560 0 iov 0 0K 32K 166960K 67 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1462 92K 92K 166960K 2575 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 10K 18K 166960K 26 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 141 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 15 53K 89K 166960K 1419 0 sigio 0 0K 0K 166960K 13 0 proc 70 91K 140K 166960K 1474 0 subproc 104 6K 7K 166960K 508 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 138 0 in_multi 99 7K 7K 166960K 470 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 1011 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 231 76K 91K 166960K 13440 0 UVM aobj 109 7K 7K 166960K 111 0 pinsyscall 40 80K 103K 166960K 3305 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 79 0 NDP 22 1K 1K 166960K 131 0 temp 78 6816K 6884K 166960K 30636 0 kqueue 13 20K 30K 166960K 155 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 331 0 327 3 1 2 2 0 8 0 rtentry 112 487 0 384 4 1 3 4 0 8 0 unpcb 144 1992 0 1971 21 19 2 11 0 8 0 syncache 336 7 0 7 4 4 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 409 0 402 12 11 1 7 0 8 0 arp 120 87 0 68 1 0 1 1 0 8 0 inpcb 384 1443 0 1433 18 16 2 11 0 8 0 nd6 136 126 0 102 1 0 1 1 0 8 0 pkpcb 40 9 0 9 3 3 0 1 0 8 0 kcovpl 48 39 0 31 1 0 1 1 0 8 0 ppxss 1168 7 0 7 3 3 0 1 0 8 0 pffrag 232 5 0 4 2 1 1 1 0 482 0 pffrnode 88 5 0 4 2 1 1 1 0 8 0 pffrent 40 55 0 54 2 1 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 112 0 70 1 0 1 1 0 8 0 pfstkey 128 112 0 70 2 0 2 2 0 8 0 pfstate 376 112 0 70 6 0 6 6 0 8 0 pfrule 1344 21 0 16 2 0 2 2 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1924 0 1476 37 9 28 29 0 8 0 art_table 32 1925 0 1476 4 0 4 4 0 8 0 art_node 16 482 0 391 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 6 1 0 1 1 0 8 0 semapl 112 139 0 129 1 0 1 1 0 8 0 shmpl 112 108 0 2 4 0 4 4 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 3152 0 1582 99 0 99 99 0 8 0 ffsino 272 3153 0 1582 105 0 105 105 0 8 0 nchpl 144 4699 0 2960 65 0 65 65 0 8 0 uvmvnodes 80 4209 0 0 86 0 86 86 0 8 0 vnodes 216 4209 0 0 234 0 234 234 0 8 0 namei 1024 19679 0 19678 3 2 1 2 0 8 0 percpumem 16 87 0 39 1 0 1 1 0 8 0 vcpupl 3904 5 0 0 1 0 1 1 0 8 0 vmpool 696 10 0 5 2 1 1 1 0 8 0 kstatmem 264 106 0 78 3 1 2 3 0 8 0 scxspl 216 20777 0 20774 14 13 1 8 1 8 0 plimitpl 152 297 0 280 1 0 1 1 0 8 0 sigapl 424 1681 0 1612 9 0 9 9 0 8 0 futexpl 64 16458 0 16455 4 3 1 1 0 8 0 knotepl 120 352 0 0 10 0 10 10 0 8 0 kqueuepl 216 366 0 357 6 5 1 5 0 8 0 pipepl 320 340 0 312 6 3 3 6 0 8 0 fdescpl 496 1640 0 1611 6 1 5 5 0 8 0 filepl 152 11255 0 10994 35 22 13 22 0 8 1 lockfpl 104 407 0 405 1 0 1 1 0 8 0 lockfspl 48 172 0 170 1 0 1 1 0 8 0 sessionpl 144 54 0 45 1 0 1 1 0 8 0 pgrppl 48 102 0 85 1 0 1 1 0 8 0 ucredpl 104 1556 0 1539 1 0 1 1 0 8 0 zombiepl 144 1613 0 1612 1 0 1 1 0 8 0 processpl 1152 1681 0 1612 7 1 6 6 0 8 0 procpl 648 3229 0 3154 8 0 8 8 0 8 0 srpgc 96 6 0 6 3 2 1 1 0 8 1 sosppl 168 4 0 4 2 2 0 1 0 8 0 sockpl 664 3794 0 3759 60 52 8 26 0 8 4 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 245 0 0 31 0 31 31 0 8 0 mtagpl 96 61 0 0 2 0 2 2 0 8 0 mbufpl 256 1626 0 0 99 0 99 99 0 8 0 bufpl 280 7475 0 1303 441 0 441 441 0 8 0 anonpl 24 254590 0 251169 79 28 51 55 0 185 23 amapchunkpl 152 42189 0 41721 46 14 32 32 0 158 10 amappl16 200 4708 0 4691 22 20 2 14 0 8 0 amappl15 192 76 0 76 1 1 0 1 0 8 0 amappl14 184 178 0 166 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 2774 0 2745 3 1 2 2 0 8 0 amappl11 160 55 0 41 1 0 1 1 0 8 0 amappl10 152 10 0 9 1 0 1 1 0 8 0 amappl9 144 159 0 159 1 1 0 1 0 8 0 amappl8 136 27 0 24 1 0 1 1 0 8 0 amappl7 128 166 0 154 1 0 1 1 0 8 0 amappl6 120 476 0 475 1 0 1 1 0 8 0 amappl5 112 257 0 246 1 0 1 1 0 8 0 amappl4 104 415 0 395 1 0 1 1 0 8 0 amappl3 96 8482 0 8371 5 1 4 4 0 8 0 amappl2 88 1068 0 1002 2 0 2 2 0 8 0 amappl1 80 13523 0 12934 16 3 13 14 0 8 0 amappl 88 12752 0 12588 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 110 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1650 0 1616 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1650 0 1616 1 0 1 1 0 8 0 vmmpekpl 168 15488 0 15431 4 0 4 4 0 8 0 vmmpepl 168 105567 0 103767 99 12 87 94 0 357 1 vmsppl 440 1649 0 1616 7 2 5 5 0 8 0 rwobjpl 56 35340 0 30079 77 2 75 75 0 8 0 pdppl 4096 3307 0 3237 164 83 81 85 0 8 11 pvpl 32 28430 0 0 230 1 229 229 0 265 0 pmappl 248 1649 0 1616 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 568 0 114 13 0 13 13 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 witness_checkorder(fffffd806de4af78,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806de4af68,1) at rw_enter+0x122 rrw_enter(fffffd806de4af68,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8061bf92e8,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8061bf92e8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd8061bf92e8,fffffd8061bf92e8,0,0,200,0,31b569a9583bd88c) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd8061bf92e8,fffffd8061bf92e8,ffff8000ffffd1c8) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd806349a300,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1088 soreceive(ffff800010fd7c90,ffff80002b02d6a8,ffff80002b02d658,0,ffff80002b02d698,ffff80002b02d81c,a47aab263381585d) at soreceive+0xd3e sys/kern/uipc_socket.c:1022 recvit(ffff8000ffffd1c8,5,ffff80002b02d7f0,0,ffff80002b02d8a0) at recvit+0x40a sys/kern/uipc_syscalls.c:1082 sys_recvmsg(ffff8000ffffd1c8,ffff80002b02d950,ffff80002b02d8a0) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 syscall(ffff80002b02d950) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002b02d950) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdcf4d703380, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp 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(ffffffff834f4f28) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff834f4f28) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 syscall(ffff80002a10c3f0) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a10c3f0) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x790b69dfcbc0, count: -6