witness: lock order reversal: 1st 0xffff800010fbd3f8 sbufsnd (&so->so_snd.sb_lock) 2nd 0xfffffd806bdb1f78 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{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(fffffd806bdb1f78,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806bdb1f68,1) at rw_enter+0x122 rrw_enter(fffffd806bdb1f68,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8074aa4a60,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8074aa4a60,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff80002a0928d8) at vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 namei(ffff80002a0928d8) at namei+0x7aa sys/kern/vfs_lookup.c:250 unp_connect(ffff800010fbd250,fffffd80649bd100,ffff80002a03ea40) at unp_connect+0x27d sys/kern/uipc_usrreq.c:862 uipc_dgram_send(ffff800010fbd250,fffffd8060e86d00,fffffd80649bd100,0) at uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:601 sosend(ffff800010fbd250,fffffd80649bd100,ffff80002a092b68,0,0,0) at sosend+0xa43 sendit(ffff80002a03ea40,5,ffff80002a092ce0,0,ffff80002a092da0) at sendit+0x721 sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff80002a03ea40,ffff80002a092e50,ffff80002a092da0) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 syscall(ffff80002a092e50) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a092e50) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc6118574350, count: -15 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a092530 rbx 0xffffffff83061629 pp_r600_decoded_lanes+0x34594 rdx 0 rcx 0xffff80002a03ea40 rax 0xffff800029b7bff0 r8 0xffff80002a092410 r9 0x8080808080808080 r10 0x7290d28da4c8cfc8 r11 0xc82d743083ff2185 r12 0xfffffd80042a0a38 r13 0xfffffd8003ab7dc0 r14 0x3 r15 0xffffffff rip 0xffffffff816cefe5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a092520 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=353891 pid=7221 tcnt=2 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a03f1d8,0xffff80002a03ecd8 process=0xffff8000ffff1220 user=0xffff80002a08d000, vmspace=0xfffffd806bfb1388 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 86802 331378 10304 0 7 0x8000000 syz-executor 86802 93700 10304 0 3 0xc000000 biowait syz-executor 49062 404944 47171 0 2 0x8000000 syz-executor 49062 288735 47171 0 3 0xc000080 fsleep syz-executor 49062 390101 47171 0 3 0xc000080 fsleep syz-executor 97671 267249 92978 0 2 0x8000000 syz-executor 97671 372998 92978 0 3 0xc000080 fsleep syz-executor 7221 386191 93769 0 2 0x8000000 syz-executor * 7221 353891 93769 0 7 0xc000000 syz-executor 62357 339415 48163 0 2 0x8000000 syz-executor 62357 214886 48163 0 3 0xc000080 fsleep syz-executor 62357 74992 48163 0 3 0xc000080 fsleep syz-executor 46765 94840 63118 0 2 0x8000000 syz-executor 46765 30805 63118 0 3 0xc000080 fsleep syz-executor 46765 401968 63118 0 3 0xc000080 fsleep syz-executor 46765 180653 63118 0 3 0xc000080 fsleep syz-executor 12245 256817 2102 0 3 0x8000080 nanoslp syz-executor 12245 112290 2102 0 3 0xc000080 kqsel syz-executor 12245 478512 2102 0 3 0xc000080 fsleep syz-executor 69686 485770 0 0 3 0x14200 acct acct 10304 44692 99741 0 3 0x8000082 nanoslp syz-executor 63118 17245 99741 0 3 0x8000082 nanoslp syz-executor 47171 470913 99741 0 3 0x8000082 nanoslp syz-executor 2102 421187 99741 0 3 0x8000082 nanoslp syz-executor 92978 186226 99741 0 3 0x8000082 nanoslp syz-executor 48163 142548 99741 0 3 0x8000082 nanoslp syz-executor 93769 506548 99741 0 3 0x8000082 nanoslp syz-executor 9384 39552 99741 0 3 0x8000082 wait syz-executor 74550 117978 0 0 3 0x14280 nfsidl nfsio 51760 420907 0 0 3 0x14280 nfsidl nfsio 13168 191153 0 0 3 0x14280 nfsidl nfsio 66912 375345 0 0 3 0x14280 nfsidl nfsio 34981 461315 0 0 3 0x14280 nfsidl nfsio 92430 401393 0 0 3 0x14280 nfsidl nfsio 5771 409620 0 0 3 0x14280 nfsidl nfsio 85999 504657 0 0 3 0x14280 nfsidl nfsio 79747 333295 0 0 3 0x14280 nfsidl nfsio 6686 439749 0 0 3 0x14280 nfsidl nfsio 68531 149208 0 0 3 0x14280 nfsidl nfsio 31331 363636 0 0 3 0x14280 nfsidl nfsio 40157 326255 0 0 3 0x14280 nfsidl nfsio 84577 22982 0 0 3 0x14280 nfsidl nfsio 84068 496087 0 0 3 0x14280 nfsidl nfsio 25530 145942 0 0 3 0x14280 nfsidl nfsio 48496 498325 0 0 3 0x14280 nfsidl nfsio 55405 153982 0 0 3 0x14280 nfsidl nfsio 28823 108245 0 0 3 0x14280 nfsidl nfsio 45781 300510 0 0 3 0x14280 nfsidl nfsio 61363 5648 0 0 3 0x14200 bored sosplice 99741 156403 44466 0 3 0x8000082 kqread syz-executor 44466 257829 24097 0 3 0x810008a sigsusp ksh 24097 155149 60855 0 3 0x18000098 kqread sshd-session 60855 272 11521 0 3 0x18000092 kqread sshd-session 65559 178009 1 0 3 0x18100083 ttyin getty 11521 500485 1 0 3 0x18000088 kqread sshd 63950 230686 67145 74 3 0x19100092 bpf pflogd 67145 218350 1 0 3 0x18000080 sbwait pflogd 40326 362375 12141 73 3 0x19100010 biowait syslogd 12141 391232 1 0 3 0x18100082 sbwait syslogd 13279 498163 1 0 3 0x18100080 kqread resolvd 77317 88426 90177 77 3 0x18100092 kqread dhcpleased 69201 195030 90177 77 3 0x18100092 kqread dhcpleased 90177 415912 1 0 3 0x18000080 kqread dhcpleased 44824 473454 0 0 3 0x14200 bored smr 94987 455499 0 0 2 0x14200 zerothread 82635 77408 0 0 3 0x14200 aiodoned aiodoned 66417 431502 0 0 3 0x14200 syncer update 36542 309544 0 0 3 0x14200 cleaner cleaner 52316 163504 0 0 3 0x14200 reaper reaper 96133 507298 0 0 3 0x14200 pgdaemon pagedaemon 10113 433311 0 0 3 0x14200 bored viomb 13397 9088 0 0 3 0x40014200 acpi0 acpi0 2760 27228 0 0 3 0x40014200 idle1 44324 485328 0 0 3 0x14200 bored softnet3 5245 223850 0 0 3 0x14200 bored softnet2 19809 348412 0 0 3 0x14200 bored softnet1 29045 41308 0 0 3 0x14200 bored softnet0 16850 87292 0 0 3 0x14200 bored systqmp 97876 503967 0 0 3 0x14200 bored systq 55322 213865 0 0 3 0x14200 tmoslp softclockmp 81923 458404 0 0 3 0x40014200 tmoslp softclock 87466 417262 0 0 3 0x40014200 idle0 1 497173 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 86802 (syz-executor) thread 0xffff80002a03ecc8 (93700) exclusive rrwlock inode r = 0 (0xfffffd8060f24708) #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 (0xfffffd806bdb11a8) #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 7221 (syz-executor) thread 0xffff80002a03ea40 (353891) 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 (0xffff800010fbd3f8) #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 40326 (syslogd) thread 0xffff8000ffffd960 (362375) exclusive rrwlock inode r = 0 (0xfffffd806e4b41b0) #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 10206 10176K 10748K 166960K 13550 0 pcb 17 16K 17K 166960K 322 0 rtable 230 9K 9K 166960K 1963 0 pf 37 10K 10K 166960K 173 0 ifaddr 47 16K 16K 166960K 266 0 ifgroup 64 2K 2K 166960K 293 0 sysctl 3 0K 0K 166960K 5 0 counters 68 36K 37K 166960K 192 0 ioctlops 0 0K 4K 166960K 1590 0 iov 0 0K 12K 166960K 222 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1450 91K 91K 166960K 3043 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 10K 14K 166960K 32 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 199 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 18 65K 97K 166960K 1802 0 sigio 0 0K 0K 166960K 22 0 proc 70 91K 140K 166960K 1984 0 subproc 104 6K 7K 166960K 743 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 157 0 in_multi 99 7K 7K 166960K 671 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 3 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 1271 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 256 77K 95K 166960K 15845 0 UVM aobj 49 8K 8K 166960K 55 0 pinsyscall 43 86K 107K 166960K 4145 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 64 0 NDP 14 0K 1K 166960K 190 0 temp 77 6816K 6882K 166960K 60114 0 kqueue 14 22K 31K 166960K 210 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 320 0 317 4 1 3 3 0 8 2 rtentry 112 691 0 588 4 1 3 4 0 8 0 unpcb 144 1372 0 1349 16 10 6 6 0 8 5 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpqe 32 18 0 18 1 1 0 1 0 8 0 tcpcb 808 695 0 689 28 24 4 11 0 8 3 arp 120 122 0 104 1 0 1 1 0 8 0 inpcb 384 2110 0 2097 35 30 5 15 0 8 3 nd6 136 191 0 165 2 1 1 2 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 57 0 49 1 0 1 1 0 8 0 ppxss 1168 10 0 10 4 3 1 1 0 8 1 pffrag 232 14 0 13 2 1 1 1 0 482 0 pffrnode 88 14 0 13 2 1 1 1 0 8 0 pffrent 40 148 0 147 2 1 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 148 0 113 1 0 1 1 0 8 0 pfstkey 128 148 0 113 3 0 3 3 0 8 1 pfstate 376 148 0 113 7 0 7 7 0 8 2 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 2754 0 2303 37 8 29 30 0 8 0 art_table 32 2755 0 2303 4 0 4 4 0 8 0 art_node 16 687 0 595 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 8 1 0 1 1 0 8 0 semapl 112 197 0 187 1 0 1 1 0 8 0 shmpl 112 52 0 6 2 0 2 2 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3454 0 1852 101 0 101 101 0 8 0 ffsino 272 3454 0 1852 109 1 108 108 0 8 0 nchpl 144 5159 0 3402 66 0 66 66 0 8 0 uvmvnodes 80 4849 0 0 99 0 99 99 0 8 0 vnodes 216 4849 0 0 270 0 270 270 0 8 0 namei 1024 24657 0 24655 4 3 1 2 0 8 0 percpumem 16 110 0 62 1 0 1 1 0 8 0 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 696 10 0 8 1 0 1 1 0 8 0 kstatmem 264 152 0 124 3 0 3 3 0 8 0 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 28900 0 28898 10 7 3 6 1 8 2 plimitpl 152 425 0 407 1 0 1 1 0 8 0 sigapl 424 2025 0 1953 10 1 9 9 0 8 0 futexpl 64 18391 0 18382 3 2 1 1 0 8 0 knotepl 120 408 0 0 10 0 10 10 0 8 0 kqueuepl 216 534 0 523 5 4 1 5 0 8 0 pipepl 320 440 0 413 8 5 3 6 0 8 0 fdescpl 496 1984 0 1952 6 1 5 6 0 8 0 filepl 152 13801 0 13538 25 10 15 16 0 8 4 lockfpl 104 511 0 508 2 1 1 2 0 8 0 lockfspl 48 186 0 183 1 0 1 1 0 8 0 sessionpl 144 71 0 62 1 0 1 1 0 8 0 pgrppl 48 140 0 123 1 0 1 1 0 8 0 ucredpl 104 1794 0 1781 1 0 1 1 0 8 0 zombiepl 144 1954 0 1953 1 0 1 1 0 8 0 processpl 1152 2025 0 1953 7 1 6 6 0 8 0 procpl 648 3828 0 3744 11 3 8 8 0 8 0 srpgc 96 12 0 12 4 4 0 1 0 8 0 sosppl 168 8 0 8 2 1 1 1 0 8 1 sockpl 664 3813 0 3774 41 30 11 14 0 8 7 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 232 0 0 28 0 28 28 0 8 0 mtagpl 96 9 0 0 1 0 1 1 0 8 0 mbufpl 256 1430 0 0 83 0 83 83 0 8 0 bufpl 280 8634 0 2327 451 0 451 451 0 8 0 anonpl 24 291474 0 287877 60 10 50 52 0 185 19 amapchunkpl 152 50634 0 50073 39 9 30 33 0 158 8 amappl16 200 5134 0 5111 41 35 6 15 0 8 4 amappl15 192 5 0 5 2 2 0 1 0 8 0 amappl14 184 215 0 203 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 1 0 1 0 8 0 amappl12 168 3410 0 3378 3 1 2 3 0 8 0 amappl11 160 51 0 37 1 0 1 1 0 8 0 amappl10 152 14 0 14 2 2 0 1 0 8 0 amappl9 144 199 0 199 1 1 0 1 0 8 0 amappl8 136 20 0 18 1 0 1 1 0 8 0 amappl7 128 202 0 190 1 0 1 1 0 8 0 amappl6 120 656 0 654 1 0 1 1 0 8 0 amappl5 112 328 0 316 1 0 1 1 0 8 0 amappl4 104 460 0 441 1 0 1 1 0 8 0 amappl3 96 9696 0 9565 4 0 4 4 0 8 0 amappl2 88 1288 0 1224 2 0 2 2 0 8 0 amappl1 80 15727 0 15142 15 2 13 14 0 8 0 amappl 88 15059 0 14867 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 54 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1994 0 1960 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1994 0 1960 1 0 1 1 0 8 0 vmmpekpl 168 17913 0 17857 5 1 4 4 0 8 0 vmmpepl 168 125743 0 123798 109 22 87 95 0 357 2 vmsppl 440 1993 0 1960 6 1 5 5 0 8 1 rwobjpl 56 41230 0 35368 85 2 83 83 0 8 0 pdppl 4096 3995 0 3922 175 102 73 87 0 8 0 pvpl 32 29807 0 0 241 1 240 241 0 265 0 pmappl 248 1993 0 1960 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 582 0 145 13 0 13 13 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(ffff80002a0d4480,ffff800000069c00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_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(ffff80002a0d45e0,ffff80000006c000) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:589 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:158 __mp_lock(ffffffff834f4f28) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff834f4f28) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 intr_handler(ffff80002a0d4750,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: 0x721c4f489bc0, count: -13 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(fffffd806bdb1f78,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806bdb1f68,1) at rw_enter+0x122 rrw_enter(fffffd806bdb1f68,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8074aa4a60,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8074aa4a60,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff80002a0928d8) at vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 namei(ffff80002a0928d8) at namei+0x7aa sys/kern/vfs_lookup.c:250 unp_connect(ffff800010fbd250,fffffd80649bd100,ffff80002a03ea40) at unp_connect+0x27d sys/kern/uipc_usrreq.c:862 uipc_dgram_send(ffff800010fbd250,fffffd8060e86d00,fffffd80649bd100,0) at uipc_dgram_send+0x131 sys/kern/uipc_usrreq.c:601 sosend(ffff800010fbd250,fffffd80649bd100,ffff80002a092b68,0,0,0) at sosend+0xa43 sendit(ffff80002a03ea40,5,ffff80002a092ce0,0,ffff80002a092da0) at sendit+0x721 sys/kern/uipc_syscalls.c:786 sys_sendmsg(ffff80002a03ea40,ffff80002a092e50,ffff80002a092da0) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:604 syscall(ffff80002a092e50) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a092e50) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc6118574350, count: -15