witness: lock order reversal: 1st 0xffff80000130d938 sbufsnd (&so->so_snd.sb_lock) 2nd 0xfffffd807ac06b48 inode (&ip->i_lock) lock order [1] sbufsnd (&so->so_snd.sb_lock) -> [2] inode (&ip->i_lock) lock order data 0xffffffff830a027e -> 0xffffffff8304f7ef 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+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 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+0x3e3 sys/kern/uipc_socket.c:1386 #3 sys_setsockopt+0x2ba sys/kern/uipc_syscalls.c:1231 #4 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [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(fffffd807ac06b48,9,0) at witness_checkorder+0x1024 rw_enter(fffffd807ac06b38,1) at rw_enter+0x122 rrw_enter(fffffd807ac06b38,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806ad5d880,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806ad5d880,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff80002a10dbf8) at vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 namei(ffff80002a10dbf8) at namei+0x7aa sys/kern/vfs_lookup.c:250 unp_connect(ffff80000130d790,fffffd806e953a00,ffff8000371decf0) at unp_connect+0x27d sys/kern/uipc_usrreq.c:862 uipc_dgram_send(ffff80000130d790,fffffd806cb1f200,fffffd806e953a00,0) at uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:601 sosend(ffff80000130d790,fffffd806e953a00,ffff80002a10de88,0,0,0) at sosend+0xa43 sendit(ffff8000371decf0,7,ffff80002a10e000,0,ffff80002a10e0c0) at sendit+0x721 sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff8000371decf0,ffff80002a10e170,ffff80002a10e0c0) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 syscall(ffff80002a10e170) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a10e170) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb3eae2aa970, count: -15 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a10d850 rbx 0xffffffff83061629 pp_r600_decoded_lanes+0x34594 rdx 0 rcx 0xffff8000371decf0 rax 0xffffffff8343eff0 cpu_info_full_primary+0x1ff0 r8 0xffff80002a10d730 r9 0x8080808080808080 r10 0x1191f16e0e2b818d r11 0xeaebcb796a3453e1 r12 0xfffffd800429f4f8 r13 0xfffffd8003ab7dc0 r14 0x3 r15 0xffffffff rip 0xffffffff816cefe5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a10d840 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=407073 pid=14995 tcnt=3 stat=onproc flags process=8000010 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000371de048,0xffff8000371de7f0 process=0xffff8000371c4db0 user=0xffff80002a109000, vmspace=0xfffffd807b79f1c8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14995 403109 35636 0 3 0x8000090 nanoslp syz-executor *14995 407073 35636 0 7 0xc000010 syz-executor 14995 491184 35636 0 3 0xc000090 fsleep syz-executor 60417 116457 66064 0 7 0x8000000 syz-executor 96661 483091 99810 0 2 0x8000000 syz-executor 89243 174857 7531 0 2 0x8000000 syz-executor 89243 371248 7531 0 3 0xc000080 fsleep syz-executor 56530 235351 93128 0 2 0x8000000 syz-executor 56530 402510 93128 0 3 0xc000080 ttyout syz-executor 56530 241677 93128 0 3 0xc000080 fsleep syz-executor 48221 168859 94967 0 3 0x8000080 nanoslp syz-executor 48221 422475 94967 0 3 0xc000080 ttyin syz-executor 48221 392655 94967 0 3 0xc000080 fsleep syz-executor 96692 182685 1 0 3 0x18000082 nanoslp getty 66064 229324 63468 0 3 0x8000082 nanoslp syz-executor 93128 226477 63468 0 3 0x8000082 nanoslp syz-executor 94967 396265 63468 0 3 0x8000082 nanoslp syz-executor 35636 383486 63468 0 3 0x8000082 nanoslp syz-executor 7531 90165 63468 0 3 0x8000082 nanoslp syz-executor 39919 197428 63468 0 3 0x8000002 biowait syz-executor 99810 234201 63468 0 3 0x8000082 nanoslp syz-executor 77393 229391 63468 0 3 0x8000082 piperd syz-executor 9270 451545 0 0 3 0x14200 bored sosplice 63468 481740 92124 0 2 0x8000002 syz-executor 92124 400035 60658 0 3 0x810008a sigsusp ksh 60658 180763 20363 0 3 0x18000098 kqread sshd-session 20363 86829 59859 0 3 0x18000092 kqread sshd-session 59859 312026 1 0 3 0x18000088 kqread sshd 35430 487439 89213 74 3 0x19100092 bpf pflogd 89213 80913 1 0 3 0x18000080 sbwait pflogd 44919 280136 68162 73 3 0x19100010 biowait syslogd 68162 99052 1 0 3 0x18100082 sbwait syslogd 47993 188678 1 0 3 0x18100080 kqread resolvd 71019 357354 36384 77 3 0x18100092 kqread dhcpleased 98507 158418 36384 77 3 0x18100092 kqread dhcpleased 36384 69357 1 0 3 0x18000080 kqread dhcpleased 69749 483061 0 0 3 0x14200 bored smr 43983 103506 0 0 3 0x14200 pgzero zerothread 69266 429192 0 0 3 0x14200 aiodoned aiodoned 3660 99076 0 0 3 0x14200 syncer update 87462 479229 0 0 3 0x14200 cleaner cleaner 37081 383518 0 0 3 0x14200 reaper reaper 13985 276151 0 0 3 0x14200 pgdaemon pagedaemon 80580 278505 0 0 3 0x14200 bored viomb 14217 346466 0 0 3 0x40014200 acpi0 acpi0 8723 180745 0 0 3 0x40014200 idle1 91232 18435 0 0 3 0x14200 bored softnet3 67752 137490 0 0 3 0x14200 bored softnet2 90970 51663 0 0 3 0x14200 bored softnet1 57106 364926 0 0 3 0x14200 bored softnet0 83501 405846 0 0 3 0x14200 bored systqmp 33926 212074 0 0 3 0x14200 bored systq 14021 145208 0 0 3 0x14200 tmoslp softclockmp 34107 223045 0 0 3 0x40014200 tmoslp softclock 39152 220595 0 0 3 0x40014200 idle0 1 115064 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 14995 (syz-executor) thread 0xffff8000371decf0 (407073) 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_connect+0x26c sys/kern/uipc_usrreq.c:862 #2 uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:601 #3 sosend+0xa43 #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:179 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 exclusive rwlock sbufsnd r = 0 (0xffff80000130d938) #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 sosend+0x2ff sys/kern/uipc_socket.c:611 #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:179 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 39919 (syz-executor) thread 0xffff800029fd87a0 (197428) exclusive rrwlock inode r = 0 (0xfffffd8067b41e70) #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 (0xfffffd80789c7f78) #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 44919 (syslogd) thread 0xffff8000ffffd960 (280136) exclusive rrwlock inode r = 0 (0xfffffd806e48b3d0) #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 10234 10379K 10636K 166960K 13314 0 pcb 19 16K 18K 166960K 383 0 rtable 240 7K 7K 166960K 1392 0 pf 32 9K 10K 166960K 130 0 ifaddr 45 15K 15K 166960K 191 0 ifgroup 55 2K 2K 166960K 214 0 sysctl 3 0K 2K 166960K 5 0 counters 64 36K 36K 166960K 148 0 ioctlops 0 0K 4K 166960K 1555 0 iov 0 0K 14K 166960K 113 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1515 95K 95K 166960K 2810 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 27 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 74 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 93K 166960K 1298 0 sigio 0 0K 0K 166960K 16 0 proc 70 91K 128K 166960K 1540 0 subproc 104 6K 7K 166960K 520 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 119 0 in_multi 99 7K 7K 166960K 468 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 964 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 225 80K 100K 166960K 11935 0 UVM aobj 44 2K 2K 166960K 47 0 pinsyscall 41 82K 104K 166960K 3207 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 52 0 NDP 15 0K 2K 166960K 134 0 temp 76 6816K 6882K 166960K 53217 0 kqueue 14 22K 26K 166960K 147 0 SYN cache 2 8K 16K 166960K 3 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 175 0 172 1 0 1 1 0 8 0 rtentry 112 488 0 377 4 0 4 4 0 8 0 unpcb 144 996 0 974 14 8 6 6 0 8 5 syncache 336 5 0 5 3 2 1 1 0 8 1 tcpcb 808 312 0 307 13 12 1 8 0 8 0 arp 120 88 0 70 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 1641 0 1628 31 23 8 14 0 8 6 nd6 136 125 0 101 1 0 1 1 0 8 0 pkpcb 40 5 0 5 4 3 1 1 0 8 1 kcovpl 48 40 0 32 1 0 1 1 0 8 0 ppxss 1168 6 0 6 3 3 0 1 0 8 0 pffrag 232 9 0 6 1 0 1 1 0 482 0 pffrnode 88 7 0 4 1 0 1 1 0 8 0 pffrent 40 96 0 93 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 92 0 64 1 0 1 1 0 8 0 pfstkey 128 92 0 64 2 0 2 2 0 8 0 pfstate 376 92 0 64 4 0 4 4 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 1917 0 1458 36 7 29 29 0 8 0 art_table 32 1918 0 1458 4 0 4 4 0 8 0 art_node 16 486 0 386 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 14 4 3 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 70 0 60 1 0 1 1 0 8 0 shmpl 112 44 0 3 2 0 2 2 0 8 0 dirhash 1024 26 0 9 3 0 3 3 0 8 0 dino2pl 256 2993 0 1420 99 0 99 99 0 8 0 ffsino 272 2993 0 1420 106 0 106 106 0 8 0 nchpl 144 4305 0 2574 65 0 65 65 0 8 0 uvmvnodes 80 4271 0 0 88 0 88 88 0 8 0 vnodes 216 4271 0 0 238 0 238 238 0 8 0 namei 1024 19837 0 19835 4 3 1 2 0 8 0 percpumem 16 88 0 42 1 0 1 1 0 8 0 vcpupl 3904 4 0 1 1 0 1 1 0 8 0 vmpool 696 7 0 4 1 0 1 1 0 8 0 kstatmem 264 108 0 84 2 0 2 2 0 8 0 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 27983 0 27981 14 10 4 8 1 8 3 plimitpl 152 393 0 375 1 0 1 1 0 8 0 sigapl 424 1556 0 1507 9 2 7 8 0 8 0 futexpl 64 14175 0 14171 4 3 1 1 0 8 0 knotepl 120 499 0 0 15 0 15 15 0 8 0 kqueuepl 216 379 0 369 5 4 1 5 0 8 0 pipepl 320 374 0 347 11 8 3 8 0 8 0 fdescpl 496 1516 0 1486 5 0 5 5 0 8 0 filepl 152 11282 0 11028 37 18 19 19 0 8 8 lockfpl 104 403 0 401 1 0 1 1 0 8 0 lockfspl 48 138 0 136 1 0 1 1 0 8 0 sessionpl 144 55 0 47 1 0 1 1 0 8 0 pgrppl 48 134 0 118 1 0 1 1 0 8 0 ucredpl 104 1352 0 1338 1 0 1 1 0 8 0 zombiepl 144 1507 0 1507 1 0 1 1 0 8 1 processpl 1152 1556 0 1507 7 2 5 6 0 8 0 procpl 648 2820 0 2764 10 4 6 8 0 8 0 srpgc 96 8 0 8 3 3 0 1 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 664 2821 0 2783 42 23 19 20 0 8 15 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 257 0 0 33 0 33 33 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 497 0 0 29 0 29 29 0 8 0 bufpl 280 8044 0 1409 475 0 475 475 0 8 0 anonpl 24 281049 0 277709 74 20 54 57 0 185 22 amapchunkpl 152 39078 0 38634 46 15 31 32 0 158 12 amappl16 200 5465 0 5443 25 23 2 15 0 8 0 amappl15 192 31 0 31 1 1 0 1 0 8 0 amappl14 184 176 0 164 1 0 1 1 0 8 0 amappl13 176 16 0 15 1 0 1 1 0 8 0 amappl12 168 2662 0 2632 4 2 2 3 0 8 0 amappl11 160 86 0 72 1 0 1 1 0 8 0 amappl10 152 18 0 18 1 1 0 1 0 8 0 amappl9 144 131 0 131 1 1 0 1 0 8 0 amappl8 136 16 0 14 1 0 1 1 0 8 0 amappl7 128 173 0 161 1 0 1 1 0 8 0 amappl6 120 487 0 485 1 0 1 1 0 8 0 amappl5 112 275 0 264 1 0 1 1 0 8 0 amappl4 104 425 0 403 1 0 1 1 0 8 0 amappl3 96 7559 0 7453 4 0 4 4 0 8 0 amappl2 88 1085 0 1021 2 0 2 2 0 8 0 amappl1 80 13197 0 12608 15 1 14 14 0 8 0 amappl 88 11259 0 11100 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 46 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1523 0 1490 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1523 0 1490 1 0 1 1 0 8 0 vmmpekpl 168 14089 0 14032 3 0 3 3 0 8 0 vmmpepl 168 99375 0 97553 103 17 86 96 0 357 1 vmsppl 440 1522 0 1490 7 2 5 5 0 8 0 rwobjpl 56 34645 0 29402 76 1 75 75 0 8 0 pdppl 4096 3053 0 2983 145 67 78 85 0 8 8 pvpl 32 29525 0 0 238 1 237 237 0 265 0 pmappl 248 1522 0 1490 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 481 0 96 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(fffffd807ac06b48,9,0) at witness_checkorder+0x1024 rw_enter(fffffd807ac06b38,1) at rw_enter+0x122 rrw_enter(fffffd807ac06b38,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806ad5d880,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806ad5d880,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff80002a10dbf8) at vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 namei(ffff80002a10dbf8) at namei+0x7aa sys/kern/vfs_lookup.c:250 unp_connect(ffff80000130d790,fffffd806e953a00,ffff8000371decf0) at unp_connect+0x27d sys/kern/uipc_usrreq.c:862 uipc_dgram_send(ffff80000130d790,fffffd806cb1f200,fffffd806e953a00,0) at uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:601 sosend(ffff80000130d790,fffffd806e953a00,ffff80002a10de88,0,0,0) at sosend+0xa43 sendit(ffff8000371decf0,7,ffff80002a10e000,0,ffff80002a10e0c0) at sendit+0x721 sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff8000371decf0,ffff80002a10e170,ffff80002a10e0c0) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 syscall(ffff80002a10e170) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a10e170) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb3eae2aa970, 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(ffffffff834f4f28) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff834f4f28) at __mp_lock+0x199 sys/kern/kern_lock.c:144 syscall(ffff800031378d60) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff800031378d60) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72309b329cd0, count: -6