witness: lock order reversal: 1st 0xffff800000e02c18 sbufsnd (&so->so_snd.sb_lock) 2nd 0xfffffd80686143d8 inode (&ip->i_lock) lock order [1] sbufsnd (&so->so_snd.sb_lock) -> [2] inode (&ip->i_lock) lock order data 0xffffffff8292c146 -> 0xffffffff828d64a9 is missing lock order [2] inode (&ip->i_lock) -> [3] sbufrcv (&so->so_rcv.sb_lock) #0 rw_enter+0xd1 #1 sblock+0x8a sys/kern/uipc_socket2.c:548 #2 soreceive+0x201 sys/kern/uipc_socket.c:876 #3 fifo_read+0xd2 sys/miscfs/fifofs/fifo_vnops.c:256 #4 VOP_READ+0xc3 sys/kern/vfs_vops.c:227 #5 vn_rdwr+0x10a #6 vndsetcred+0x86 sys/dev/vnd.c:684 #7 vndioctl+0xac1 sys/dev/vnd.c:485 #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 lock order [3] sbufrcv (&so->so_rcv.sb_lock) -> [1] sbufsnd (&so->so_snd.sb_lock) #0 rw_enter+0xd1 #1 sblock+0x8a sys/kern/uipc_socket2.c:548 #2 sosplice+0x2a7 sys/kern/uipc_socket.c:1385 #3 sys_setsockopt+0x1d7 sys/kern/uipc_syscalls.c:1231 #4 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #4 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 Stopped at db_enter+0x1c: 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+0x1c sys/arch/amd64/amd64/db_interface.c:437 witness_checkorder(fffffd80686143d8,9,0) at witness_checkorder+0xc05 rw_enter(fffffd80686143c8,1) at rw_enter+0xd1 rrw_enter(fffffd80686143c8,1) at rrw_enter+0x91 sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806aed22c8,2001) at VOP_LOCK+0x8b sys/kern/vfs_vops.c:524 vn_lock(fffffd806aed22c8,2001) at vn_lock+0x85 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff80002ba885b8) at vfs_lookup+0xd3 sys/kern/vfs_lookup.c:418 namei(ffff80002ba885b8) at namei+0x56a sys/kern/vfs_lookup.c:250 unp_connect(ffff800000e02a70,fffffd807f002a00,ffff80002d6f7c70) at unp_connect+0x1ce sys/kern/uipc_usrreq.c:864 uipc_dgram_send(ffff800000e02a70,fffffd807e74db00,fffffd807f002a00,0) at uipc_dgram_send+0xd7 sys/kern/uipc_usrreq.c:599 sosend(ffff800000e02a70,fffffd807f002a00,ffff80002ba88848,0,0,0) at sosend+0x7aa sendit(ffff80002d6f7c70,5,ffff80002ba889c0,0,ffff80002ba88a80) at sendit+0x54c sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff80002d6f7c70,ffff80002ba88b30,ffff80002ba88a80) at sys_sendmsg+0x19b sys/kern/uipc_syscalls.c:604 syscall(ffff80002ba88b30) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002ba88b30) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x47f52e70d50, count: -15 ddb{0}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff80002ba88210 rbx 0xffffffff828e9404 pp_r600_decoded_lanes+0x2e88d rdx 0xffff800000de2a00 rcx 0xffff80002d6f7c70 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff80002ba880f0 r9 0x8080808080808080 r10 0x7dc5fe7bbd482a1b r11 0x60b3ba5c1d5b4dc2 r12 0xfffffd8003b26708 r13 0xfffffd800333ddc0 r14 0x3 r15 0xffffffff rip 0xffffffff81cae62c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002ba88200 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.6) tid=412208 pid=94416 tcnt=2 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002d6f6560,0xffff80002d6f7240 process=0xffff80003737c4a0 user=0xffff80002ba83000, vmspace=0xfffffd806ad1c6f0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 94416 436572 33178 0 2 0x8000000 syz-executor.6 *94416 412208 33178 0 7 0xc000000 syz-executor.6 29170 96227 44624 0 2 0x8000000 syz-executor.3 29170 24251 44624 0 7 0xc000000 syz-executor.3 62503 404239 19025 0 2 0x8000000 syz-executor.1 62503 217008 19025 0 3 0xc000080 piperd syz-executor.1 22857 501948 99760 0 2 0x8000000 syz-executor.2 22857 163479 99760 0 3 0xc000080 fsleep syz-executor.2 82795 125671 13077 0 2 0x8000000 syz-executor.0 82795 522695 13077 0 3 0xc000080 fsleep syz-executor.0 89067 75086 34734 0 2 0x8000000 syz-executor.4 89067 266304 34734 0 3 0xc000080 fsleep syz-executor.4 4304 431336 15165 0 2 0x8000000 syz-executor.7 4304 270632 15165 0 3 0xc000080 fsleep syz-executor.7 4304 345409 15165 0 3 0xc000080 fsleep syz-executor.7 99760 423185 98240 0 3 0x8000082 nanoslp syz-executor.2 15165 378713 98240 0 3 0x8000082 nanoslp syz-executor.7 13077 462582 98240 0 3 0x8000082 nanoslp syz-executor.0 19025 467161 98240 0 3 0x8000082 nanoslp syz-executor.1 47906 201548 98240 0 2 0x8000002 syz-executor.5 34734 181959 98240 0 3 0x8000082 nanoslp syz-executor.4 44624 294873 98240 0 3 0x8000082 nanoslp syz-executor.3 33178 212668 98240 0 3 0x8000082 nanoslp syz-executor.6 31306 349128 0 0 3 0x14200 bored sosplice 99582 391318 0 0 3 0x14280 nfsidl nfsio 48262 87474 0 0 3 0x14280 nfsidl nfsio 55480 513385 0 0 3 0x14280 nfsidl nfsio 9002 437257 0 0 3 0x14280 nfsidl nfsio 93431 187535 0 0 3 0x14280 nfsidl nfsio 87674 177113 0 0 3 0x14280 nfsidl nfsio 59435 169169 0 0 3 0x14280 nfsidl nfsio 14315 385108 0 0 3 0x14280 nfsidl nfsio 12629 168936 0 0 3 0x14280 nfsidl nfsio 45566 300840 0 0 3 0x14280 nfsidl nfsio 70178 357810 0 0 3 0x14280 nfsidl nfsio 16466 368693 0 0 3 0x14280 nfsidl nfsio 26646 414084 0 0 3 0x14280 nfsidl nfsio 28543 372586 0 0 3 0x14280 nfsidl nfsio 55978 159402 0 0 3 0x14280 nfsidl nfsio 92822 220041 0 0 3 0x14280 nfsidl nfsio 91258 497627 0 0 3 0x14280 nfsidl nfsio 52982 429098 0 0 3 0x14280 nfsidl nfsio 12943 110746 0 0 3 0x14280 nfsidl nfsio 18931 230005 0 0 3 0x14280 nfsidl nfsio 35644 294820 94393 0 3 0x18100082 netio arp 94393 101908 1 0 3 0x810008a sigsusp sh 98240 129937 60653 0 3 0x1a000082 kqread syz-fuzzer 98240 415429 60653 0 3 0x1e000082 thrsleep syz-fuzzer 98240 9395 60653 0 3 0x1e000082 wait syz-fuzzer 98240 360854 60653 0 3 0x1e000082 wait syz-fuzzer 98240 253410 60653 0 3 0x1e000082 wait syz-fuzzer 98240 363939 60653 0 3 0x1e000082 wait syz-fuzzer 98240 117653 60653 0 3 0x1e000082 thrsleep syz-fuzzer 98240 121321 60653 0 3 0x1e000082 thrsleep syz-fuzzer 98240 189828 60653 0 3 0x1e000082 thrsleep syz-fuzzer 98240 106660 60653 0 3 0x1e000082 wait syz-fuzzer 98240 452228 60653 0 3 0x1e000082 thrsleep syz-fuzzer 98240 211178 60653 0 3 0x1e000082 wait syz-fuzzer 98240 222239 60653 0 3 0x1e000082 wait syz-fuzzer 98240 152588 60653 0 3 0x1e000082 thrsleep syz-fuzzer 98240 341744 60653 0 3 0x1e000082 wait syz-fuzzer 60653 202423 9206 0 3 0x810008a sigsusp ksh 9206 150122 27637 0 3 0x1800009a kqread sshd 16096 220216 1 0 3 0x18100083 ttyin getty 27637 132879 1 0 3 0x18000088 kqread sshd 55231 355762 90818 73 3 0x19100010 biowait syslogd 90818 132812 1 0 3 0x18100082 sbwait syslogd 59536 209766 1 0 3 0x18100080 kqread resolvd 18508 407593 61943 77 3 0x18100092 kqread dhcpleased 59128 88603 61943 77 3 0x18100092 kqread dhcpleased 61943 37794 1 0 3 0x18000080 kqread dhcpleased 2596 24728 0 0 3 0x14200 bored smr 88978 214634 0 0 2 0x14200 zerothread 43808 114731 0 0 3 0x14200 aiodoned aiodoned 56791 385133 0 0 3 0x14200 syncer update 14401 11774 0 0 3 0x14200 cleaner cleaner 48845 464757 0 0 3 0x14200 reaper reaper 42819 518295 0 0 3 0x14200 pgdaemon pagedaemon 51937 234617 0 0 3 0x14200 bored viomb 24122 13007 0 0 3 0x40014200 acpi0 acpi0 99481 42572 0 0 3 0x40014200 idle1 46192 10414 0 0 3 0x14200 bored softnet3 72977 275729 0 0 3 0x14200 bored softnet2 85888 177079 0 0 3 0x14200 bored softnet1 54714 104168 0 0 3 0x14200 bored softnet0 67209 136004 0 0 3 0x14200 bored systqmp 46837 284304 0 0 3 0x14200 bored systq 84123 166534 0 0 3 0x14200 tmoslp softclockmp 89982 227877 0 0 3 0x40014200 tmoslp softclock 17788 137002 0 0 3 0x40014200 idle0 1 66975 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 94416 (syz-executor.6) thread 0xffff80002d6f7c70 (412208) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82dea520) #0 witness_lock+0x446 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x446 sys/kern/subr_witness.c:1157 #1 unp_connect+0x1c6 sys/kern/uipc_usrreq.c:864 #2 uipc_dgram_send+0xd7 sys/kern/uipc_usrreq.c:599 #3 sosend+0x7aa #4 sendit+0x54c sys/kern/uipc_syscalls.c:786 #5 sys_sendmsg+0x19b sys/kern/uipc_syscalls.c:604 #6 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #6 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 exclusive rwlock sbufsnd r = 0 (0xffff800000e02c18) #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 sblock+0x8a sys/kern/uipc_socket2.c:548 #3 sosend+0x259 sys/kern/uipc_socket.c:610 #4 sendit+0x54c sys/kern/uipc_syscalls.c:786 #5 sys_sendmsg+0x19b sys/kern/uipc_syscalls.c:604 #6 syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] #6 syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 55231 (syslogd) thread 0xffff8000ffffdc40 (355762) exclusive rrwlock inode r = 0 (0xfffffd806e7515f0) #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:524 #4 vn_lock+0x85 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0xf1 sys/kern/vfs_syscalls.c:2931 #6 syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] #6 syscall+0x854 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10212 6691K 7007K 166960K 13740 0 pcb 18 12K 12K 166960K 250 0 rtable 230 7K 7K 166960K 911 0 pf 29 8K 10K 166960K 121 0 ifaddr 44 15K 16K 166960K 132 0 ifgroup 50 2K 2K 166960K 193 0 sysctl 1 0K 1K 166960K 4 0 counters 64 36K 36K 166960K 134 0 ioctlops 0 0K 4K 166960K 1545 0 iov 1 1K 14K 166960K 82 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1385 87K 88K 166960K 2678 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 35 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 92 0 dirhash 12 2K 2K 166960K 60 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 19 69K 97K 166960K 1501 0 sigio 0 0K 0K 166960K 26 0 proc 58 79K 115K 166960K 1025 0 subproc 117 7K 7K 166960K 325 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 217 0 in_multi 99 7K 7K 166960K 312 0 ether_multi 1 0K 0K 166960K 12 0 mrt 1 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 725 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 304 78K 96K 166960K 14747 0 UVM aobj 52 4K 4K 166960K 55 0 pinsyscall 40 80K 100K 166960K 3031 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 100 0 NDP 11 0K 2K 166960K 91 0 temp 75 6808K 14742K 166960K 37792 0 kqueue 12 18K 26K 166960K 232 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 173 0 168 1 0 1 1 0 8 0 rtentry 112 304 0 200 4 0 4 4 0 8 0 unpcb 144 1078 0 1064 5 4 1 2 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 16 0 16 1 1 0 1 0 8 0 tcpcb 808 398 0 393 6 5 1 2 0 8 0 arp 120 56 0 37 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 384 1549 0 1536 6 3 3 3 0 8 0 nd6 136 79 0 49 2 0 2 2 0 8 0 pkpcb 40 10 0 10 5 5 0 1 0 8 0 kcovpl 48 25 0 16 1 0 1 1 0 8 0 ppxss 1168 5 0 5 4 4 0 1 0 8 0 pffrag 232 19 0 14 1 0 1 1 0 482 0 pffrnode 88 18 0 14 1 0 1 1 0 8 0 pffrent 40 114 0 109 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 130 0 101 1 0 1 1 0 8 0 pfstkey 128 130 0 101 2 0 2 2 0 8 0 pfstate 376 130 0 101 6 2 4 6 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 1163 0 704 36 6 30 30 0 8 0 art_table 32 1164 0 704 4 0 4 4 0 8 0 art_node 16 299 0 205 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 90 0 80 1 0 1 1 0 8 0 shmpl 112 52 0 3 2 0 2 2 0 8 0 dirhash 1024 49 0 32 3 0 3 3 0 8 0 dino2pl 256 3754 0 2236 96 0 96 96 0 8 0 ffsino 272 3754 0 2236 102 0 102 102 0 8 0 nchpl 144 6060 0 4318 67 0 67 67 0 8 0 uvmvnodes 80 4839 0 0 99 0 99 99 0 8 0 vnodes 216 4839 0 0 269 0 269 269 0 8 0 namei 1024 21843 0 21842 4 3 1 2 0 8 0 percpumem 16 81 0 35 1 0 1 1 0 8 0 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 696 4 0 2 1 0 1 1 0 8 0 kstatmem 264 92 0 70 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 38035 0 38034 23 22 1 8 1 8 0 plimitpl 152 274 0 258 1 0 1 1 0 8 0 sigapl 424 1795 0 1725 8 0 8 8 0 8 0 futexpl 64 23791 0 23786 5 4 1 1 0 8 0 knotepl 120 410 0 0 11 0 11 11 0 8 0 kqueuepl 216 477 0 469 1 0 1 1 0 8 0 pipepl 320 367 0 335 3 0 3 3 0 8 0 fdescpl 496 1753 0 1723 7 2 5 5 0 8 0 filepl 152 11454 0 11192 13 1 12 12 0 8 0 lockfpl 104 564 0 561 1 0 1 1 0 8 0 lockfspl 48 251 0 248 1 0 1 1 0 8 0 sessionpl 144 38 0 21 1 0 1 1 0 8 0 pgrppl 48 54 0 37 1 0 1 1 0 8 0 ucredpl 104 1832 0 1821 1 0 1 1 0 8 0 zombiepl 144 1726 0 1725 1 0 1 1 0 8 0 processpl 1144 1795 0 1725 6 0 6 6 0 8 0 procpl 656 3234 0 3142 9 0 9 9 0 8 0 srpgc 96 17 0 17 5 5 0 1 0 8 0 sosppl 168 4 0 4 3 3 0 1 0 8 0 sockpl 664 2826 0 2796 10 6 4 5 0 8 1 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 10 0 0 2 0 2 2 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 15 0 0 2 0 2 2 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 503 0 0 63 0 63 63 0 8 0 mtagpl 96 19 0 0 1 0 1 1 0 8 0 mbufpl 256 541 0 0 34 0 34 34 0 8 0 bufpl 280 9937 0 2780 512 0 512 512 0 8 0 anonpl 24 303783 0 297227 123 54 69 86 0 186 3 amapchunkpl 152 47825 0 47077 65 25 40 42 0 158 8 amappl16 200 5610 0 5468 72 57 15 29 0 8 2 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 210 0 197 2 1 1 2 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 2601 0 2569 2 0 2 2 0 8 0 amappl11 160 76 0 57 1 0 1 1 0 8 0 amappl10 152 97 0 94 1 0 1 1 0 8 0 amappl9 144 364 0 364 2 2 0 1 0 8 0 amappl8 136 191 0 158 2 0 2 2 0 8 0 amappl7 128 53 0 38 1 0 1 1 0 8 0 amappl6 120 509 0 492 2 1 1 2 0 8 0 amappl5 112 218 0 205 1 0 1 1 0 8 0 amappl4 104 687 0 647 3 1 2 3 0 8 0 amappl3 96 9011 0 8911 3 0 3 3 0 8 0 amappl2 88 2217 0 2141 4 2 2 4 0 8 0 amappl1 80 14609 0 14092 22 9 13 22 0 8 0 amappl 88 13998 0 13782 6 0 6 6 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 54 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1757 0 1725 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1757 0 1725 1 0 1 1 0 8 0 vmmpekpl 168 16845 0 16777 4 0 4 4 0 8 0 vmmpepl 168 124723 0 122722 151 53 98 116 0 357 2 vmsppl 440 1756 0 1725 5 1 4 5 0 8 0 rwobjpl 56 37728 0 31675 95 9 86 86 0 8 0 pdppl 4096 3521 0 3452 141 72 69 81 0 8 0 pvpl 32 49269 0 0 398 0 398 398 0 265 0 pmappl 248 1756 0 1725 5 2 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 501 0 93 12 0 12 12 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 witness_checkorder(fffffd80686143d8,9,0) at witness_checkorder+0xc05 rw_enter(fffffd80686143c8,1) at rw_enter+0xd1 rrw_enter(fffffd80686143c8,1) at rrw_enter+0x91 sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806aed22c8,2001) at VOP_LOCK+0x8b sys/kern/vfs_vops.c:524 vn_lock(fffffd806aed22c8,2001) at vn_lock+0x85 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff80002ba885b8) at vfs_lookup+0xd3 sys/kern/vfs_lookup.c:418 namei(ffff80002ba885b8) at namei+0x56a sys/kern/vfs_lookup.c:250 unp_connect(ffff800000e02a70,fffffd807f002a00,ffff80002d6f7c70) at unp_connect+0x1ce sys/kern/uipc_usrreq.c:864 uipc_dgram_send(ffff800000e02a70,fffffd807e74db00,fffffd807f002a00,0) at uipc_dgram_send+0xd7 sys/kern/uipc_usrreq.c:599 sosend(ffff800000e02a70,fffffd807f002a00,ffff80002ba88848,0,0,0) at sosend+0x7aa sendit(ffff80002d6f7c70,5,ffff80002ba889c0,0,ffff80002ba88a80) at sendit+0x54c sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff80002d6f7c70,ffff80002ba88b30,ffff80002ba88a80) at sys_sendmsg+0x19b sys/kern/uipc_syscalls.c:604 syscall(ffff80002ba88b30) at syscall+0x8cf mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002ba88b30) at syscall+0x8cf sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x47f52e70d50, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82dea318) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82dea318) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff80002ba82130) at syscall+0x83b mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002ba82130) at syscall+0x83b sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x94509633210, count: -6