witness: lock order reversal: 1st 0xffff800001190610 sbufrcv (&so->so_rcv.sb_lock) 2nd 0xfffffd806749f098 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 witness_checkorder(fffffd806749f098,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806749f088,1) at rw_enter+0x122 rrw_enter(fffffd806749f088,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8067363c28,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8067363c28,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd8067363c28,fffffd8067363eb0,0,0,200,0,96fb501e55e8054a) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd8067363c28,fffffd8067363eb0,ffff80002f779998) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd807a63f700,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1088 soreceive(ffff800001190540,ffff80003380d208,ffff80003380d1b8,0,ffff80003380d1f8,ffff80003380d37c,7cf2385f43362770) at soreceive+0xd3e sys/kern/uipc_socket.c:1022 recvit(ffff80002f779998,5,ffff80003380d350,0,ffff80003380d400) at recvit+0x40a sys/kern/uipc_syscalls.c:1082 sys_recvmsg(ffff80002f779998,ffff80003380d4b0,ffff80003380d400) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 syscall(ffff80003380d4b0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003380d4b0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1b5dd19ea90, count: -14 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003380cc60 rbx 0xffffffff83061629 pp_r600_decoded_lanes+0x34594 rdx 0 rcx 0xffff80002f779998 rax 0xffff800029b7bff0 r8 0xffff80003380cb40 r9 0x8080808080808080 r10 0xde866ecf95b40554 r11 0x3decde587358710b r12 0xfffffd800429f1c8 r13 0xfffffd8003ab7dc0 r14 0x3 r15 0xffffffff rip 0xffffffff816cefe5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003380cc50 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=89986 pid=61977 tcnt=3 stat=onproc flags process=9000000 proc=4000000 runpri=24, usrpri=86, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff6f50,0xffff8000ffffca40 process=0xffff80003724c928 user=0xffff800033808000, vmspace=0xfffffd806c45d018 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23039 509426 89194 60928 7 0x8000010 syz-executor 23039 244427 89194 60928 3 0xc000010 biowait syz-executor 77262 176397 59620 0 2 0x8000000 syz-executor 77262 21075 59620 0 3 0xc000080 fsleep syz-executor 77262 450437 59620 0 3 0xc000080 fsleep syz-executor 77262 446579 59620 0 3 0xc000080 fsleep syz-executor 61977 88429 55417 0 2 0x9000000 syz-executor *61977 89986 55417 0 7 0xd000000 syz-executor 61977 438703 55417 0 2 0xd000000 syz-executor 63368 301216 89316 0 2 0x8000000 syz-executor 63368 405585 89316 0 3 0xc000080 fsleep syz-executor 15868 19875 71077 0 3 0x8000080 nanoslp syz-executor 15868 411709 71077 0 3 0xc000080 fsleep syz-executor 15868 205270 71077 0 3 0xc000080 pipewr syz-executor 15868 144433 71077 0 3 0xc000080 pipewr syz-executor 15868 342742 71077 0 3 0xc000080 fsleep syz-executor 15868 409551 71077 0 3 0xc000080 fsleep syz-executor 57482 123234 62472 0 3 0x8000080 nanoslp syz-executor 57482 117919 62472 0 3 0xc000080 fsleep syz-executor 57482 242610 62472 0 3 0xc000080 fsleep syz-executor 87908 121798 1 0 3 0x18000082 nanoslp getty 89194 442772 12875 0 3 0x8000082 nanoslp syz-executor 59620 127632 12875 0 3 0x8000082 nanoslp syz-executor 62472 191069 12875 0 3 0x8000082 nanoslp syz-executor 65885 72271 12875 0 3 0x8000002 biowait syz-executor 89316 434036 12875 0 3 0x8000082 nanoslp syz-executor 55417 305814 12875 0 3 0x8000082 nanoslp syz-executor 71077 48530 12875 0 3 0x8000082 nanoslp syz-executor 73315 209870 12875 0 3 0x8000002 biowait syz-executor 26767 136534 0 0 3 0x14200 acct acct 63613 210449 0 0 3 0x14280 nfsidl nfsio 26993 19572 0 0 3 0x14280 nfsidl nfsio 82242 93276 0 0 3 0x14280 nfsidl nfsio 99089 28762 0 0 3 0x14280 nfsidl nfsio 7813 41670 0 0 3 0x14280 nfsidl nfsio 95112 384551 0 0 3 0x14280 nfsidl nfsio 93863 200424 0 0 3 0x14280 nfsidl nfsio 1489 125609 0 0 3 0x14280 nfsidl nfsio 36757 24005 0 0 3 0x14280 nfsidl nfsio 81797 425873 0 0 3 0x14280 nfsidl nfsio 14974 453904 0 0 3 0x14280 nfsidl nfsio 34132 125816 0 0 3 0x14280 nfsidl nfsio 29116 224687 0 0 3 0x14280 nfsidl nfsio 1920 342053 0 0 3 0x14280 nfsidl nfsio 50518 204995 0 0 3 0x14280 nfsidl nfsio 66656 66682 0 0 3 0x14280 nfsidl nfsio 19078 115338 0 0 3 0x14280 nfsidl nfsio 2883 307203 0 0 3 0x14280 nfsidl nfsio 61109 28470 0 0 3 0x14280 nfsidl nfsio 88747 516076 0 0 3 0x14280 nfsidl nfsio 96104 35742 0 0 3 0x14200 bored sosplice 12875 44736 70725 0 2 0x8000002 syz-executor 70725 351245 14248 0 3 0x810008a sigsusp ksh 14248 175232 50271 0 3 0x18000098 kqread sshd-session 50271 363264 11919 0 3 0x18000092 kqread sshd-session 11919 317385 1 0 3 0x18000088 kqread sshd 86194 380537 64858 74 3 0x19100092 bpf pflogd 64858 485217 1 0 3 0x18000080 sbwait pflogd 70553 131285 21213 73 3 0x19100010 ffs_fsync syslogd 21213 37596 1 0 3 0x18100082 sbwait syslogd 61028 193947 1 0 3 0x18100080 kqread resolvd 27968 253344 63095 77 3 0x18100092 kqread dhcpleased 66886 259451 63095 77 3 0x18100092 kqread dhcpleased 63095 1785 1 0 3 0x18000080 kqread dhcpleased 3035 268260 0 0 3 0x14200 bored smr 52038 319577 0 0 2 0x14200 zerothread 12428 438667 0 0 3 0x14200 aiodoned aiodoned 29180 380214 0 0 3 0x14200 syncer update 80262 369972 0 0 3 0x14200 cleaner cleaner 35050 430952 0 0 3 0x14200 reaper reaper 48575 319502 0 0 3 0x14200 pgdaemon pagedaemon 56502 213179 0 0 3 0x14200 bored viomb 40434 442090 0 0 3 0x40014200 acpi0 acpi0 38486 113074 0 0 3 0x40014200 idle1 25839 342330 0 0 3 0x14200 bored softnet3 81317 500559 0 0 3 0x14200 bored softnet2 60201 109714 0 0 3 0x14200 bored softnet1 753 380680 0 0 3 0x14200 bored softnet0 99173 177396 0 0 3 0x14200 bored systqmp 19380 25554 0 0 3 0x14200 bored systq 7169 453250 0 0 3 0x14200 tmoslp softclockmp 35222 224108 0 0 3 0x40014200 tmoslp softclock 64515 105046 0 0 3 0x40014200 idle0 1 476915 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 23039 (syz-executor) thread 0xffff80002d76acd8 (244427) exclusive rrwlock inode r = 0 (0xfffffd806749fd58) #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_mknod+0x5b sys/ufs/ufs/ufs_vnops.c:167 #9 VOP_MKNOD+0x102 sys/kern/vfs_vops.c:121 #10 domknodat+0x47e sys/kern/vfs_syscalls.c:1628 #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 (0xfffffd806749f1a8) #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 domknodat+0xb4 sys/kern/vfs_syscalls.c:1580 #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 61977 (syz-executor) thread 0xffff80002f779998 (89986) 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 (0xffff800001190610) #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 65885 (syz-executor) thread 0xffff8000ffff6a40 (72271) exclusive rrwlock inode r = 0 (0xfffffd806749ff78) #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 (0xfffffd80741d15e8) #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 73315 (syz-executor) thread 0xffff8000ffff6020 (209870) exclusive rrwlock inode r = 0 (0xfffffd806749fb38) #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:3104 #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 (0xfffffd8074bdd5f8) #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:3089 #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 70553 (syslogd) thread 0xffff8000ffffdbe8 (131285) exclusive rrwlock inode r = 0 (0xfffffd806e4ab3d0) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10232 10323K 10689K 166960K 14464 0 pcb 17 18K 20K 166960K 352 0 rtable 220 6K 7K 166960K 2424 0 pf 32 9K 10K 166960K 198 0 ifaddr 46 16K 17K 166960K 320 0 ifgroup 55 2K 2K 166960K 348 0 sysctl 3 0K 2K 166960K 4 0 counters 64 36K 36K 166960K 212 0 ioctlops 0 0K 4K 166960K 1653 0 iov 0 0K 16K 166960K 87 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1435 90K 91K 166960K 3774 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 28 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 131 0 dirhash 15 2K 3K 166960K 39 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 89K 166960K 2531 0 sigio 0 0K 0K 166960K 12 0 proc 70 91K 128K 166960K 2376 0 subproc 104 6K 7K 166960K 910 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 409 0 in_multi 99 7K 7K 166960K 882 0 ether_multi 1 0K 0K 166960K 42 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 1441 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 241 89K 107K 166960K 21398 0 UVM aobj 131 4K 4K 166960K 133 0 pinsyscall 41 82K 107K 166960K 5234 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 181 0 NDP 12 0K 1K 166960K 226 0 temp 77 6816K 6884K 166960K 57776 0 kqueue 13 20K 28K 166960K 250 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 284 0 280 1 0 1 1 0 8 0 rtentry 112 871 0 771 5 1 4 4 0 8 1 unpcb 144 1852 0 1830 17 15 2 6 0 8 1 syncache 336 12 0 12 3 3 0 1 0 8 0 tcpcb 808 434 0 426 3 2 1 2 0 8 0 arp 120 162 0 143 1 0 1 1 0 8 0 inpcb 384 2722 0 2712 43 34 9 15 0 8 8 nd6 136 225 0 201 2 0 2 2 0 8 1 pkpcb 40 6 0 6 3 2 1 1 0 8 1 kcovpl 48 70 0 62 1 0 1 1 0 8 0 ppxss 1168 7 0 7 2 1 1 1 0 8 1 pffrag 232 18 0 9 3 2 1 1 0 482 0 pffrnode 88 17 0 8 3 2 1 1 0 8 0 pffrent 40 109 0 100 3 2 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 252 0 191 1 0 1 1 0 8 0 pfstkey 128 252 0 191 4 1 3 4 0 8 0 pfstate 376 252 0 191 12 5 7 11 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 3303 0 2858 35 6 29 30 0 8 1 art_table 32 3304 0 2858 4 0 4 4 0 8 0 art_node 16 856 0 767 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 125 0 115 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 35 0 16 3 0 3 3 0 8 0 dino2pl 256 4565 0 2942 102 0 102 102 0 8 0 ffsino 272 4565 0 2942 109 0 109 109 0 8 0 nchpl 144 6959 0 5191 66 0 66 66 0 8 0 uvmvnodes 80 6292 0 0 129 0 129 129 0 8 0 vnodes 216 6292 0 0 350 0 350 350 0 8 0 namei 1024 31468 0 31466 1 0 1 1 0 8 0 percpumem 16 120 0 74 1 0 1 1 0 8 0 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 696 3 0 2 3 2 1 1 0 8 0 kstatmem 264 172 0 148 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 32054 0 32050 16 14 2 8 1 8 1 plimitpl 152 565 0 547 1 0 1 1 0 8 0 sigapl 424 2733 0 2663 10 1 9 9 0 8 0 futexpl 64 25227 0 25218 4 3 1 1 0 8 0 knotepl 120 667 0 0 17 0 17 17 0 8 0 kqueuepl 216 902 0 892 17 16 1 5 0 8 0 pipepl 320 528 0 500 8 2 6 6 0 8 3 fdescpl 496 2693 0 2663 7 2 5 5 0 8 0 filepl 152 18355 0 18099 47 29 18 18 0 8 7 lockfpl 104 629 0 627 1 0 1 1 0 8 0 lockfspl 48 265 0 263 1 0 1 1 0 8 0 sessionpl 144 86 0 78 1 0 1 1 0 8 0 pgrppl 48 227 0 211 1 0 1 1 0 8 0 ucredpl 104 3824 0 3810 1 0 1 1 0 8 0 zombiepl 144 2663 0 2663 1 0 1 1 0 8 1 processpl 1152 2733 0 2663 6 0 6 6 0 8 0 procpl 648 5151 0 5067 10 2 8 8 0 8 0 srpgc 96 4 0 4 1 1 0 1 0 8 0 sosppl 168 3 0 3 3 2 1 1 0 8 1 sockpl 664 4874 0 4838 54 43 11 15 0 8 8 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 12 0 0 2 0 2 2 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k 2048 272 0 0 30 1 29 30 0 8 0 mtagpl 96 25 0 0 1 0 1 1 0 8 0 mbufpl 256 637 0 0 34 0 34 34 0 8 0 bufpl 280 9681 0 2650 503 0 503 503 0 8 0 anonpl 24 389679 0 384730 67 17 50 53 0 185 16 amapchunkpl 152 68300 0 67790 47 16 31 32 0 158 10 amappl16 200 7256 0 7152 42 36 6 14 0 8 0 amappl15 192 29 0 29 1 1 0 1 0 8 0 amappl14 184 241 0 229 1 0 1 1 0 8 0 amappl13 176 32 0 32 1 1 0 1 0 8 0 amappl12 168 4331 0 4300 3 1 2 2 0 8 0 amappl11 160 60 0 46 1 0 1 1 0 8 0 amappl10 152 15 0 15 1 1 0 1 0 8 0 amappl9 144 166 0 166 1 1 0 1 0 8 0 amappl8 136 23 0 20 1 0 1 1 0 8 0 amappl7 128 235 0 223 1 0 1 1 0 8 0 amappl6 120 792 0 790 1 0 1 1 0 8 0 amappl5 112 382 0 370 1 0 1 1 0 8 0 amappl4 104 522 0 501 1 0 1 1 0 8 0 amappl3 96 13757 0 13641 5 1 4 4 0 8 0 amappl2 88 1505 0 1440 2 0 2 2 0 8 0 amappl1 80 18773 0 18192 15 1 14 15 0 8 1 amappl 88 20481 0 20302 6 1 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 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 2696 0 2665 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2696 0 2665 1 0 1 1 0 8 0 vmmpekpl 168 22379 0 22319 5 1 4 4 0 8 0 vmmpepl 168 168366 0 166427 115 27 88 97 0 357 0 vmsppl 440 2695 0 2665 6 2 4 5 0 8 0 rwobjpl 56 52670 0 45207 111 5 106 106 0 8 0 pdppl 4096 5399 0 5331 195 123 72 83 0 8 4 pvpl 32 29246 0 0 236 2 234 234 0 265 0 pmappl 248 2695 0 2665 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 531 0 138 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff8343eff0) 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+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff834f4f28) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a955df0,ffff80000006c000) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff834f4f28) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff834f4f28) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a955f50,ffff80000006bc00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7236ec84ed30, count: -9 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 witness_checkorder(fffffd806749f098,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806749f088,1) at rw_enter+0x122 rrw_enter(fffffd806749f088,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8067363c28,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8067363c28,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd8067363c28,fffffd8067363eb0,0,0,200,0,96fb501e55e8054a) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd8067363c28,fffffd8067363eb0,ffff80002f779998) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd807a63f700,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1088 soreceive(ffff800001190540,ffff80003380d208,ffff80003380d1b8,0,ffff80003380d1f8,ffff80003380d37c,7cf2385f43362770) at soreceive+0xd3e sys/kern/uipc_socket.c:1022 recvit(ffff80002f779998,5,ffff80003380d350,0,ffff80003380d400) at recvit+0x40a sys/kern/uipc_syscalls.c:1082 sys_recvmsg(ffff80002f779998,ffff80003380d4b0,ffff80003380d400) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 syscall(ffff80003380d4b0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003380d4b0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1b5dd19ea90, count: -14