witness: lock order reversal: 1st 0xffff800001343438 sbufsnd (&so->so_snd.sb_lock) 2nd 0xfffffd806539c4e0 inode (&ip->i_lock) lock order [1] sbufsnd (&so->so_snd.sb_lock) -> [2] inode (&ip->i_lock) lock order data 0xffffffff830beb84 -> 0xffffffff83071f68 is missing lock order [2] inode (&ip->i_lock) -> [3] sbufrcv (&so->so_rcv.sb_lock) #0 rw_enter+0x122 #1 sblock+0xb7 sys/kern/uipc_socket2.c:549 #2 soreceive+0x295 sys/kern/uipc_socket.c:945 #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:178 [inline] #11 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 lock order [3] sbufrcv (&so->so_rcv.sb_lock) -> [1] sbufsnd (&so->so_snd.sb_lock) #0 rw_enter+0x122 #1 sblock+0xb7 sys/kern/uipc_socket2.c:549 #2 sosplice+0x3f4 sys/kern/uipc_socket.c:1454 #3 sys_setsockopt+0x2ba sys/kern/uipc_syscalls.c:1228 #4 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #4 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #5 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(fffffd806539c4e0,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806539c4d0,1) at rw_enter+0x122 rrw_enter(fffffd806539c4d0,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806b4f3978,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806b4f3978,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff8000333984a8) at vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 namei(ffff8000333984a8) at namei+0x7aa sys/kern/vfs_lookup.c:250 unp_connect(ffff800001343290,fffffd8068135400,ffff8000ffff0cd0) at unp_connect+0x27d sys/kern/uipc_usrreq.c:868 uipc_dgram_send(ffff800001343290,fffffd806a376100,fffffd8068135400,0) at uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:607 sosend(ffff800001343290,fffffd8068135400,ffff800033398738,0,0,8) at sosend+0xa40 sendit(ffff8000ffff0cd0,4,ffff8000333988b0,8,ffff800033398970) at sendit+0x721 sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff8000ffff0cd0,ffff800033398a20,ffff800033398970) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 syscall(ffff800033398a20) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff800033398a20) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc83a9c87c40, count: -15 ddb{0}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff800033398100 rbx 0xfffffd80042c7470 rdx 0xffff8000012aee00 rcx 0xffff8000ffff0cd0 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff800033397fe0 r9 0x8080808080808080 r10 0x3b184aeaced1aa48 r11 0xc4885879a71406a5 r12 0 r13 0xfffffd8003adfe00 r14 0x3 r15 0xffffffff rip 0xffffffff812ecd15 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000333980f0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=455706 pid=47560 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff1c00,0xffff8000371b8558 process=0xffff8000fffeed58 user=0xffff800033393000, vmspace=0xfffffd80680483a8 estcpu=31, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6203 96896 37327 0 7 0 syz-executor 82871 436724 82875 0 2 0 syz-executor 82871 346878 82875 0 3 0x4000000 biowait syz-executor 47560 301348 912 0 2 0 syz-executor *47560 455706 912 0 7 0x4000000 syz-executor 53059 39256 81401 0 2 0 syz-executor 53059 236927 81401 0 3 0x4000080 sbwait syz-executor 71756 102989 56268 0 2 0 syz-executor 71756 371116 56268 0 3 0x4000080 piperd syz-executor 71756 75089 56268 0 3 0x4000080 fsleep syz-executor 69029 496645 0 0 3 0x14280 nfsidl nfsio 70336 292372 0 0 3 0x14280 nfsidl nfsio 86050 243099 0 0 3 0x14280 nfsidl nfsio 32857 148856 0 0 3 0x14280 nfsidl nfsio 41811 117805 0 0 3 0x14280 nfsidl nfsio 65937 256936 0 0 3 0x14280 nfsidl nfsio 52713 440597 0 0 3 0x14280 nfsidl nfsio 43360 331986 0 0 3 0x14280 nfsidl nfsio 3877 277359 0 0 3 0x14280 nfsidl nfsio 12204 201155 0 0 3 0x14280 nfsidl nfsio 23290 425239 0 0 3 0x14280 nfsidl nfsio 8828 122670 0 0 3 0x14280 nfsidl nfsio 35439 145508 0 0 3 0x14280 nfsidl nfsio 31591 335392 0 0 3 0x14280 nfsidl nfsio 44329 104294 0 0 3 0x14280 nfsidl nfsio 46754 402596 0 0 3 0x14280 nfsidl nfsio 23618 299658 0 0 3 0x14280 nfsidl nfsio 29767 252396 0 0 3 0x14280 nfsidl nfsio 66968 106477 0 0 3 0x14280 nfsidl nfsio 3726 260198 0 0 3 0x14280 nfsidl nfsio 99384 8230 0 0 3 0x14200 bored sosplice 81401 81568 10270 0 3 0x82 nanoslp syz-executor 79403 139376 10270 0 3 0x2 biowait syz-executor 912 477731 10270 0 3 0x82 nanoslp syz-executor 56268 102725 10270 0 3 0x82 nanoslp syz-executor 90548 83609 10270 0 3 0x2 biowait syz-executor 37327 222103 10270 0 3 0x82 nanoslp syz-executor 82875 356756 10270 0 3 0x82 nanoslp syz-executor 61344 27638 10270 0 3 0x2 biowait syz-executor 10270 178513 79636 0 3 0x82 kqread syz-executor 79636 242536 87954 0 3 0x10008a sigsusp ksh 87954 92585 12037 0 3 0x98 kqread sshd-session 12037 302989 4539 0 3 0x92 kqread sshd-session 28431 151038 1 0 3 0x100083 ttyin getty 4539 265264 1 0 3 0x88 kqread sshd 93655 394866 894 74 3 0x1100092 bpf pflogd 894 345677 1 0 3 0x80 sbwait pflogd 13827 518076 56217 73 3 0x1100090 kqread syslogd 56217 136790 1 0 3 0x100082 sbwait syslogd 47220 23833 1 0 3 0x100080 kqread resolvd 49565 145487 82524 77 3 0x100092 kqread dhcpleased 65921 156785 82524 77 3 0x100092 kqread dhcpleased 82524 423846 1 0 3 0x80 kqread dhcpleased 75628 300197 0 0 3 0x14200 bored smr 3080 91616 0 0 2 0x14200 zerothread 38302 113417 0 0 3 0x14200 aiodoned aiodoned 49118 296946 0 0 3 0x14200 syncer update 25436 324620 0 0 3 0x14200 cleaner cleaner 8425 192012 0 0 3 0x14200 reaper reaper 18984 85735 0 0 3 0x14200 pgdaemon pagedaemon 39332 30654 0 0 3 0x14200 bored viomb 90989 39734 0 0 3 0x40014200 acpi0 acpi0 33495 451675 0 0 3 0x40014200 idle1 98886 86290 0 0 3 0x14200 bored softnet3 3978 378969 0 0 3 0x14200 bored softnet2 65978 413700 0 0 3 0x14200 bored softnet1 86738 19097 0 0 3 0x14200 bored softnet0 84037 498180 0 0 3 0x14200 bored systqmp 41552 369240 0 0 3 0x14200 bored systq 51129 260444 0 0 3 0x14200 tmoslp softclockmp 18905 401959 0 0 3 0x40014200 tmoslp softclock 21481 127513 0 0 3 0x40014200 idle0 1 496674 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 82871 (syz-executor) thread 0xffff8000371b8548 (346878) exclusive rrwlock inode r = 0 (0xfffffd806539c5f0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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:169 #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:1732 #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:1123 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806de80928) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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:1123 #9 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #9 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 Process 47560 (syz-executor) thread 0xffff8000ffff0cd0 (455706) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff836258d8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 unp_connect+0x26c sys/kern/uipc_usrreq.c:868 #2 uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:607 #3 sosend+0xa40 #4 sendit+0x721 sys/kern/uipc_syscalls.c:786 #5 sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 #6 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 exclusive rwlock sbufsnd r = 0 (0xffff800001343438) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 sblock+0xb7 sys/kern/uipc_socket2.c:549 #3 sosend+0x2ff sys/kern/uipc_socket.c:681 #4 sendit+0x721 sys/kern/uipc_syscalls.c:786 #5 sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 #6 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 79403 (syz-executor) thread 0xffff800029fd9448 (139376) exclusive rrwlock inode r = 0 (0xfffffd806539cb40) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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:169 #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:3099 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c37b3c8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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:3084 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 90548 (syz-executor) thread 0xffff80002a03ecc0 (83609) exclusive rrwlock inode r = 0 (0xfffffd806539cf80) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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:678 #6 ufs_ihashget+0x192 sys/ufs/ufs/ufs_ihash.c:98 #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:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806cd7af88) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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:1852 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 61344 (syz-executor) thread 0xffff80002a03ef48 (27638) exclusive rrwlock inode r = 0 (0xfffffd806dd486f8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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:169 #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:3099 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806cd7a1b8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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:3084 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10200 11135K 11588K 166960K 12412 0 pcb 17 14K 15K 166960K 136 0 rtable 223 6K 7K 166960K 414 0 pf 34 17K 21K 166960K 75 0 ifaddr 42 7K 8K 166960K 59 0 ifgroup 55 2K 2K 166960K 83 0 sysctl 1 0K 0K 166960K 1 0 counters 64 36K 36K 166960K 84 0 ioctlops 0 0K 4K 166960K 1518 0 iov 1 8K 20K 166960K 33 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1445 91K 92K 166960K 2096 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 13K 166960K 18 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 36 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 15 53K 93K 166960K 819 0 sigio 0 0K 0K 166960K 14 0 proc 72 91K 140K 166960K 597 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 143 0 in_multi 95 7K 7K 166960K 129 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 4 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 430 0 fusefs mount 1 32K 32K 166960K 1 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 219 72K 88K 166960K 9395 0 UVM aobj 10 2K 2K 166960K 12 0 pinsyscall 40 80K 106K 166960K 1960 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 107 0 NDP 12 0K 2K 166960K 40 0 temp 53 6822K 6890K 166960K 23442 0 kqueue 13 20K 26K 166960K 134 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 79 0 76 1 0 1 1 0 8 0 rtentry 112 126 0 23 4 0 4 4 0 8 0 unpcb 144 652 0 628 6 4 2 6 0 8 1 syncache 336 10 0 10 3 2 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 315 0 310 9 6 3 8 0 8 2 arp 120 24 0 4 1 0 1 1 0 8 0 inpcb 336 1017 0 1007 7 5 2 7 0 8 1 nd6 136 25 0 4 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1168 7 0 7 2 1 1 1 0 8 1 pffrag 232 7 0 3 1 0 1 1 0 482 0 pffrnode 88 7 0 3 1 0 1 1 0 8 0 pffrent 40 88 0 84 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 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pfstitem 24 83 0 18 1 0 1 1 0 8 0 pfstkey 128 83 0 18 3 0 3 3 0 8 0 pfstate 376 83 0 18 7 0 7 7 0 8 0 pfrule 1344 23 0 17 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 503 0 46 32 0 32 32 0 8 0 art_table 32 504 0 46 5 0 5 5 0 8 0 art_node 16 125 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 27 0 17 1 0 1 1 0 8 0 shmpl 112 9 0 2 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2824 0 1327 95 0 95 95 0 8 0 ffsino 272 2824 0 1327 101 0 101 101 0 8 0 nchpl 144 3967 0 2287 63 0 63 63 0 8 0 uvmvnodes 80 3415 0 0 70 0 70 70 0 8 0 vnodes 216 3415 0 0 190 0 190 190 0 8 0 namei 1024 13178 0 13174 3 2 1 2 0 8 0 percpumem 16 56 0 10 1 0 1 1 0 8 0 kstatmem 264 44 0 20 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 11871 0 11867 10 6 4 8 1 8 3 plimitpl 152 280 0 263 1 0 1 1 0 8 0 sigapl 424 1158 0 1090 9 1 8 8 0 8 0 futexpl 64 10263 0 10262 1 0 1 1 0 8 0 knotepl 120 719 0 0 22 0 22 22 0 8 0 kqueuepl 216 187 0 178 1 0 1 1 0 8 0 pipepl 320 278 0 250 8 0 8 8 0 8 5 fdescpl 496 1117 0 1088 5 0 5 5 0 8 1 filepl 152 6933 0 6680 18 2 16 18 0 8 6 lockfpl 104 366 0 364 1 0 1 1 0 8 0 lockfspl 48 100 0 98 1 0 1 1 0 8 0 sessionpl 144 29 0 20 1 0 1 1 0 8 0 pgrppl 48 44 0 27 1 0 1 1 0 8 0 ucredpl 104 847 0 834 1 0 1 1 0 8 0 zombiepl 144 1090 0 1090 1 0 1 1 0 8 1 processpl 1160 1158 0 1090 7 1 6 6 0 8 0 procpl 648 2374 0 2301 8 0 8 8 0 8 0 srpgc 96 4 0 4 1 0 1 1 0 8 1 sosppl 168 3 0 3 2 1 1 1 0 8 1 sockpl 664 1792 0 1756 17 10 7 14 0 8 3 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 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 145 0 0 19 0 19 19 0 8 0 mcl2k 2048 22 0 0 3 0 3 3 0 8 0 mtagpl 96 18 0 0 1 0 1 1 0 8 0 mbufpl 256 285 0 0 18 0 18 18 0 8 0 bufpl 280 3621 0 99 252 0 252 252 0 8 0 anonpl 24 207060 0 202188 58 13 45 56 0 185 7 amapchunkpl 152 30293 0 29792 33 6 27 32 0 158 0 amappl16 200 4928 0 4870 28 21 7 19 0 8 2 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 137 0 125 1 0 1 1 0 8 0 amappl13 176 23 0 23 1 1 0 1 0 8 0 amappl12 168 1807 0 1779 4 1 3 3 0 8 0 amappl11 160 127 0 113 1 0 1 1 0 8 0 amappl10 152 21 0 21 1 1 0 1 0 8 0 amappl9 144 108 0 108 1 1 0 1 0 8 0 amappl8 136 25 0 22 1 0 1 1 0 8 0 amappl7 128 131 0 118 1 0 1 1 0 8 0 amappl6 120 166 0 164 1 0 1 1 0 8 0 amappl5 112 140 0 128 1 0 1 1 0 8 0 amappl4 104 348 0 328 1 0 1 1 0 8 0 amappl3 96 5796 0 5713 3 0 3 3 0 8 0 amappl2 88 1461 0 1380 3 0 3 3 0 8 0 amappl1 80 11522 0 10956 14 0 14 14 0 8 0 amappl 88 8930 0 8772 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 7 0 7 2 2 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 8 0 8 2 2 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 11 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1117 0 1088 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1117 0 1088 1 0 1 1 0 8 0 vmmpekpl 168 11361 0 11316 3 0 3 3 0 8 0 vmmpepl 168 77958 0 76171 98 8 90 98 0 357 1 vmsppl 448 1116 0 1088 6 2 4 5 0 8 0 rwobjpl 56 27951 0 23573 63 0 63 63 0 8 0 pdppl 4096 2241 0 2176 115 44 71 85 0 8 6 pvpl 32 15917 0 0 129 0 129 129 0 265 0 pmappl 248 1116 0 1088 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 424 0 65 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 witness_checkorder(fffffd806539c4e0,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806539c4d0,1) at rw_enter+0x122 rrw_enter(fffffd806539c4d0,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806b4f3978,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806b4f3978,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff8000333984a8) at vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 namei(ffff8000333984a8) at namei+0x7aa sys/kern/vfs_lookup.c:250 unp_connect(ffff800001343290,fffffd8068135400,ffff8000ffff0cd0) at unp_connect+0x27d sys/kern/uipc_usrreq.c:868 uipc_dgram_send(ffff800001343290,fffffd806a376100,fffffd8068135400,0) at uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:607 sosend(ffff800001343290,fffffd8068135400,ffff800033398738,0,0,8) at sosend+0xa40 sendit(ffff8000ffff0cd0,4,ffff8000333988b0,8,ffff800033398970) at sendit+0x721 sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff8000ffff0cd0,ffff800033398a20,ffff800033398970) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 syscall(ffff800033398a20) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff800033398a20) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc83a9c87c40, count: -15 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(ffffffff836256d0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff836256d0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 sys_mmap(ffff8000371b8f68,ffff80002d5740b0,ffff80002d574000) at sys_mmap+0x62f sys/uvm/uvm_mmap.c:287 syscall(ffff80002d5740b0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80002d5740b0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7471c16a09b0, count: -7