witness: lock order reversal: 1st 0xffff8000012946e8 sbufsnd (&so->so_snd.sb_lock) 2nd 0xfffffd806dfa93c8 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(fffffd806dfa93c8,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806dfa93b8,1) at rw_enter+0x122 rrw_enter(fffffd806dfa93b8,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8079747ce0,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8079747ce0,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff80003726bc08) at vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 namei(ffff80003726bc08) at namei+0x7aa sys/kern/vfs_lookup.c:250 unp_connect(ffff800001294540,fffffd80602ed800,ffff8000fffea2b8) at unp_connect+0x27d sys/kern/uipc_usrreq.c:868 uipc_dgram_send(ffff800001294540,fffffd806ce81d00,fffffd80602ed800,0) at uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:607 sosend(ffff800001294540,fffffd80602ed800,ffff80003726be98,0,0,0) at sosend+0xa40 sendit(ffff8000fffea2b8,3,ffff80003726c010,0,ffff80003726c0d0) at sendit+0x721 sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff8000fffea2b8,ffff80003726c180,ffff80003726c0d0) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 syscall(ffff80003726c180) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80003726c180) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x804b452a3d0, count: -15 ddb{0}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff80003726b860 rbx 0xfffffd80042c6e98 rdx 0xffff8000012906c0 rcx 0xffff8000fffea2b8 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff80003726b740 r9 0x8080808080808080 r10 0xf50ca094d6009c5e r11 0x293dd7decf4902e3 r12 0 r13 0xfffffd8003adfe00 r14 0x3 r15 0xffffffff rip 0xffffffff812ecd15 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003726b850 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=366422 pid=84468 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffea540,0xffff8000fffeb990 process=0xffff8000fffe4488 user=0xffff800037267000, vmspace=0xfffffd806befbaa0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 62690 45533 77208 0 2 0 syz-executor 62690 213663 77208 0 3 0x4000080 fsleep syz-executor 62690 69474 77208 0 2 0x4000000 syz-executor 84468 114128 88303 0 3 0x80 nanoslp syz-executor *84468 366422 88303 0 7 0x4000000 syz-executor 75172 46626 16925 0 3 0x1 inode syz-executor 75172 34037 16925 0 3 0x4000080 fsleep syz-executor 49075 411765 63184 0 2 0 syz-executor 49075 223353 63184 0 3 0x4000080 pipewr syz-executor 49075 199492 63184 0 3 0x4000080 pipewr syz-executor 49075 197942 63184 0 3 0x4000001 inode syz-executor 61988 157336 17596 0 7 0 syz-executor 61988 415172 17596 0 3 0x4000080 kqsel syz-executor 61988 98347 17596 0 3 0x4000001 inode syz-executor 12437 435071 58141 0 2 0x1 syz-executor 12437 267135 58141 0 3 0x4000080 fsleep syz-executor 12437 451848 58141 0 3 0x4000080 pipewr syz-executor 97821 522155 96194 0 2 0 syz-executor 97821 517491 96194 0 2 0x4000000 syz-executor 97821 272314 96194 0 3 0x4000080 fsleep syz-executor 63184 72722 49414 0 3 0x3 inode syz-executor 27769 6417 1 0 3 0x100083 ttyin getty 25965 96428 0 0 3 0x14200 acct acct 19261 171704 76388 0 3 0x82 netio sshd-session 34621 134685 0 0 3 0x14200 bored sosplice 58275 277236 0 0 3 0x14280 nfsidl nfsio 30922 489093 0 0 3 0x14280 nfsidl nfsio 61088 21783 0 0 3 0x14280 nfsidl nfsio 41057 378859 0 0 3 0x14280 nfsidl nfsio 61567 370089 0 0 3 0x14280 nfsidl nfsio 8363 463550 0 0 3 0x14280 nfsidl nfsio 87940 480488 0 0 3 0x14280 nfsidl nfsio 10150 364870 0 0 3 0x14280 nfsidl nfsio 3128 25733 0 0 3 0x14280 nfsidl nfsio 68335 404808 0 0 3 0x14280 nfsidl nfsio 4709 452335 0 0 3 0x14280 nfsidl nfsio 87756 280112 0 0 3 0x14280 nfsidl nfsio 69132 152786 0 0 3 0x14280 nfsidl nfsio 41395 522827 0 0 3 0x14280 nfsidl nfsio 53578 82916 0 0 3 0x14280 nfsidl nfsio 9220 21781 0 0 3 0x14280 nfsidl nfsio 82502 509387 0 0 3 0x14280 nfsidl nfsio 24517 167730 0 0 3 0x14280 nfsidl nfsio 69391 390277 0 0 3 0x14280 nfsidl nfsio 74715 34691 0 0 3 0x14280 nfsidl nfsio 59855 496379 49414 0 3 0x82 wait syz-executor 17596 333812 49414 0 3 0x3 inode syz-executor 16925 129888 49414 0 3 0x3 inode syz-executor 58141 405623 49414 0 3 0x3 inode syz-executor 96194 138310 49414 0 3 0x3 inode syz-executor 88303 225306 49414 0 3 0x3 inode syz-executor 77208 400610 49414 0 3 0x3 inode syz-executor 49414 313252 33708 0 3 0x82 kqread syz-executor 33708 22813 84104 0 3 0x10008a sigsusp ksh 84104 253511 30706 0 3 0x98 kqread sshd-session 30706 296770 76388 0 3 0x92 kqread sshd-session 76388 146324 1 0 3 0x88 kqread sshd 21776 153487 326 74 3 0x1100092 bpf pflogd 326 327292 1 0 3 0x80 sbwait pflogd 57581 353754 260 73 3 0x1100090 kqread syslogd 260 129491 1 0 3 0x100082 sbwait syslogd 95318 59 1 0 3 0x100080 kqread resolvd 6319 73112 36468 77 3 0x100092 kqread dhcpleased 2112 318775 36468 77 3 0x100092 kqread dhcpleased 36468 318734 1 0 3 0x80 kqread dhcpleased 63245 185369 0 0 3 0x14200 bored smr 13071 521776 0 0 2 0x14200 zerothread 65470 399925 0 0 3 0x14200 aiodoned aiodoned 86536 113278 0 0 3 0x14200 syncer update 23839 52126 0 0 3 0x14200 cleaner cleaner 2404 15104 0 0 3 0x14200 reaper reaper 90 474236 0 0 3 0x14200 pgdaemon pagedaemon 45640 424587 0 0 3 0x14200 bored viomb 96362 249648 0 0 3 0x40014200 acpi0 acpi0 23685 460873 0 0 3 0x40014200 idle1 64897 359975 0 0 3 0x14200 bored softnet3 82987 178997 0 0 3 0x14200 bored softnet2 1722 123766 0 0 3 0x14200 bored softnet1 23256 120846 0 0 3 0x14200 bored softnet0 34056 503569 0 0 3 0x14200 bored systqmp 9681 347394 0 0 3 0x14200 bored systq 45358 431286 0 0 3 0x14200 tmoslp softclockmp 70251 179750 0 0 3 0x40014200 tmoslp softclock 97618 64127 0 0 3 0x40014200 idle0 1 460970 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 84468 (syz-executor) thread 0xffff8000fffea2b8 (366422) 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 __mp_acquire_count+0x58 #2 mi_switch+0x4b7 sys/kern/sched_bsd.c:441 #3 yield+0x6a sys/kern/sched_bsd.c:320 #4 pool_get+0x242 sys/kern/subr_pool.c:589 #5 namei+0xdf sys/kern/vfs_lookup.c:145 #6 unp_connect+0x27d sys/kern/uipc_usrreq.c:868 #7 uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:607 #8 sosend+0xa40 #9 sendit+0x721 sys/kern/uipc_syscalls.c:786 #10 sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 #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 exclusive rwlock sbufsnd r = 0 (0xffff8000012946e8) #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 97821 (syz-executor) thread 0xffff8000fffe91f0 (517491) exclusive rrwlock inode r = 0 (0xfffffd806dfa95e8) #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 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 vn_open+0x13f sys/kern/vfs_vnops.c:140 #12 vndioctl+0xcb1 sys/dev/vnd.c:457 #13 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #14 vn_ioctl+0xf6 sys/kern/vfs_vnops.c:525 #15 sys_ioctl+0x67c #16 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #16 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #17 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10221 11367K 11697K 166960K 13729 0 pcb 17 18K 21K 166960K 478 0 rtable 186 7K 8K 166960K 569 0 pf 42 18K 20K 166960K 131 0 ifaddr 40 6K 8K 166960K 95 0 ifgroup 70 2K 3K 166960K 151 0 sysctl 4 1K 1K 166960K 6 0 counters 70 37K 37K 166960K 132 0 ioctlops 0 0K 4K 166960K 1613 0 iov 0 0K 24K 166960K 207 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1421 89K 90K 166960K 2847 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 39 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 108 0 dirhash 12 2K 3K 166960K 60 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 97K 166960K 1723 0 sigio 0 0K 0K 166960K 106 0 proc 72 91K 128K 166960K 761 0 subproc 104 6K 6K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 333 0 in_multi 76 5K 7K 166960K 174 0 ether_multi 1 0K 0K 166960K 18 0 mrt 2 0K 0K 166960K 9 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 739 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 1K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 274 75K 90K 166960K 18203 0 UVM aobj 124 132K 134K 166960K 129 0 pinsyscall 45 90K 109K 166960K 2905 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 86 0 NDP 15 0K 2K 166960K 67 0 temp 86 6828K 6904K 166960K 72201 0 kqueue 15 24K 28K 166960K 282 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 248 0 245 4 3 1 3 0 8 0 rtentry 112 176 0 96 4 0 4 4 0 8 0 unpcb 144 1023 0 1005 10 6 4 4 0 8 3 syncache 336 20 0 20 2 2 0 1 0 8 0 tcpqe 32 10 0 10 1 1 0 1 0 8 0 tcpcb 808 819 0 812 16 10 6 8 0 8 5 arp 120 36 0 20 1 0 1 1 0 8 0 inpcb 336 2553 0 2542 23 13 10 13 0 8 8 nd6 136 34 0 12 1 0 1 1 0 8 0 pkpcb 40 7 0 7 4 4 0 2 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1168 24 0 24 3 2 1 1 0 8 1 pffrag 232 13 0 6 1 0 1 1 0 482 0 pffrnode 88 12 0 6 1 0 1 1 0 8 0 pffrent 40 25 0 18 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 133 0 33 1 0 1 1 0 8 0 pfstkey 128 133 0 33 4 0 4 4 0 8 0 pfstate 376 132 0 33 11 0 11 11 0 8 0 pfrule 1344 23 0 17 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 689 0 338 32 7 25 31 0 8 0 art_table 32 691 0 338 4 0 4 4 0 8 0 art_node 16 173 0 104 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 7 1 0 1 1 0 8 0 semapl 112 104 0 94 1 0 1 1 0 8 0 shmpl 112 126 0 5 4 0 4 4 0 8 0 dirhash 1024 49 0 32 3 0 3 3 0 8 0 dino2pl 256 4562 0 3059 95 0 95 95 0 8 0 ffsino 272 4562 0 3059 102 1 101 102 0 8 0 nchpl 144 7045 0 5345 64 0 64 64 0 8 0 uvmvnodes 80 5529 0 0 113 0 113 113 0 8 0 vnodes 216 5529 0 0 308 0 308 308 0 8 0 namei 1024 26035 0 26034 6 5 1 2 0 8 0 percpumem 16 80 0 31 1 0 1 1 0 8 0 kstatmem 264 92 0 62 3 0 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 7 0 7 3 3 0 1 0 8 0 scxspl 216 20718 0 20718 10 9 1 6 1 8 1 plimitpl 152 517 0 499 1 0 1 1 0 8 0 sigapl 424 2060 0 1987 9 0 9 9 0 8 0 futexpl 64 25824 0 25820 1 0 1 1 0 8 0 knotepl 120 555 0 0 17 0 17 17 0 8 0 kqueuepl 216 617 0 604 6 4 2 5 0 8 1 pipepl 320 512 0 481 6 0 6 6 0 8 3 fdescpl 496 2019 0 1986 6 1 5 6 0 8 0 filepl 152 15340 0 15076 24 9 15 17 0 8 2 lockfpl 104 452 0 449 1 0 1 1 0 8 0 lockfspl 48 200 0 197 1 0 1 1 0 8 0 sessionpl 144 41 0 31 1 0 1 1 0 8 0 pgrppl 48 70 0 52 1 0 1 1 0 8 0 ucredpl 104 2892 0 2877 1 0 1 1 0 8 0 zombiepl 144 2353 0 2352 1 0 1 1 0 8 0 processpl 1160 2060 0 1987 6 0 6 6 0 8 0 procpl 648 4835 0 4749 8 0 8 8 0 8 0 srpgc 96 11 0 11 3 3 0 1 0 8 0 sosppl 168 6 0 5 1 0 1 1 0 8 0 sockpl 664 3866 0 3834 29 17 12 15 0 8 8 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 152 0 0 19 0 19 19 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 28 0 0 4 0 4 4 0 8 0 mtagpl 96 43 0 0 2 0 2 2 0 8 0 mbufpl 256 698 0 0 43 0 43 43 0 8 0 bufpl 280 5501 0 111 385 0 385 385 0 8 0 anonpl 24 306378 0 295653 95 30 65 65 0 185 0 amapchunkpl 152 59849 0 59147 46 12 34 36 0 158 5 amappl16 200 6580 0 6253 40 22 18 18 0 8 0 amappl15 192 16 0 16 1 1 0 1 0 8 0 amappl14 184 147 0 134 1 0 1 1 0 8 0 amappl13 176 15 0 15 1 1 0 1 0 8 0 amappl12 168 2702 0 2669 4 1 3 3 0 8 0 amappl11 160 60 0 45 1 0 1 1 0 8 0 amappl10 152 3 0 3 2 2 0 1 0 8 0 amappl9 144 184 0 184 1 1 0 1 0 8 0 amappl8 136 27 0 24 1 0 1 1 0 8 0 amappl7 128 128 0 114 1 0 1 1 0 8 0 amappl6 120 173 0 172 1 0 1 1 0 8 0 amappl5 112 162 0 149 1 0 1 1 0 8 0 amappl4 104 380 0 360 1 0 1 1 0 8 0 amappl3 96 10828 0 10720 4 0 4 4 0 8 0 amappl2 88 2442 0 2349 3 0 3 3 0 8 0 amappl1 80 16091 0 15431 17 1 16 17 0 8 0 amappl 88 17608 0 17404 5 0 5 5 0 92 0 dma16384 16384 1 0 1 1 0 1 1 0 8 1 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 256 0 256 3 3 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 128 0 5 3 0 3 3 0 8 0 uaddrrnd 24 2019 0 1986 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2019 0 1986 1 0 1 1 0 8 0 vmmpekpl 168 19137 0 19089 3 0 3 3 0 8 0 vmmpepl 168 132141 0 129746 123 18 105 105 0 357 0 vmsppl 448 2018 0 1986 6 2 4 5 0 8 0 rwobjpl 56 42885 0 35861 101 1 100 100 0 8 0 pdppl 4096 4045 0 3972 133 60 73 87 0 8 0 pvpl 32 18580 0 0 151 1 150 150 0 265 0 pmappl 248 2018 0 1986 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 497 0 104 12 0 12 12 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(fffffd806dfa93c8,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806dfa93b8,1) at rw_enter+0x122 rrw_enter(fffffd806dfa93b8,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8079747ce0,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8079747ce0,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff80003726bc08) at vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 namei(ffff80003726bc08) at namei+0x7aa sys/kern/vfs_lookup.c:250 unp_connect(ffff800001294540,fffffd80602ed800,ffff8000fffea2b8) at unp_connect+0x27d sys/kern/uipc_usrreq.c:868 uipc_dgram_send(ffff800001294540,fffffd806ce81d00,fffffd80602ed800,0) at uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:607 sosend(ffff800001294540,fffffd80602ed800,ffff80003726be98,0,0,0) at sosend+0xa40 sendit(ffff8000fffea2b8,3,ffff80003726c010,0,ffff80003726c0d0) at sendit+0x721 sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff8000fffea2b8,ffff80003726c180,ffff80003726c0d0) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 syscall(ffff80003726c180) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80003726c180) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x804b452a3d0, 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 syscall(ffff8000372a4a90) at syscall+0x2cc mi_syscall sys/sys/syscall_mi.h:155 [inline] syscall(ffff8000372a4a90) at syscall+0x2cc sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x712850358f50, count: -6