witness: lock order reversal: 1st 0xffff8000011f7dc0 sbufrcv (&so->so_rcv.sb_lock) 2nd 0xfffffd806dd760a0 inode (&ip->i_lock) lock order [1] sbufrcv (&so->so_rcv.sb_lock) -> [2] inode (&ip->i_lock) lock order data 0xffffffff830d5171 -> 0xffffffff8304f7ef is missing lock order [2] inode (&ip->i_lock) -> [1] 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 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(fffffd806dd760a0,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806dd76090,1) at rw_enter+0x122 rrw_enter(fffffd806dd76090,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8064ab6458,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8064ab6458,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd8064ab6458,fffffd8064ab62a8,0,0,200,0,a5a59202ea6c0579) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd8064ab6458,fffffd8064ab62a8,ffff80002a0fe7d0) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd806309ce00,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1088 soreceive(ffff8000011f7cf0,ffff80003223a548,ffff80003223a4f8,0,ffff80003223a538,ffff80003223a6bc,4505a274b88c561f) at soreceive+0xd3e sys/kern/uipc_socket.c:1022 recvit(ffff80002a0fe7d0,5,ffff80003223a690,0,ffff80003223a740) at recvit+0x40a sys/kern/uipc_syscalls.c:1082 sys_recvmsg(ffff80002a0fe7d0,ffff80003223a7f0,ffff80003223a740) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 syscall(ffff80003223a7f0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003223a7f0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb2ce9dc2610, count: -14 ddb{1}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff800032239fa0 rbx 0xffffffff83061629 pp_r600_decoded_lanes+0x34594 rdx 0xffff80000118eec0 rcx 0xffff80002a0fe7d0 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff800032239e80 r9 0x8080808080808080 r10 0x6db43cb8a8481bcf r11 0x7b43c5bb6d2afb7c r12 0xfffffd800429fad0 r13 0xfffffd8003ab7dc0 r14 0x3 r15 0xffffffff rip 0xffffffff816cefe5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800032239f90 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=52860 pid=38355 tcnt=3 stat=onproc flags process=9000000 proc=4000000 runpri=24, usrpri=50, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a0fea58,0xffff80002a0ff710 process=0xffff80003237e430 user=0xffff800032235000, vmspace=0xfffffd806ecdb008 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 38355 397560 34600 0 2 0x9000000 syz-executor *38355 52860 34600 0 7 0xd000000 syz-executor 38355 440193 34600 0 2 0xd000000 syz-executor 7585 519746 87288 0 7 0x8000000 syz-executor 7585 83403 87288 0 3 0xc000080 fsleep syz-executor 24377 89052 70730 0 3 0x8000080 nanoslp syz-executor 24377 169294 70730 0 3 0xc000080 kqsel syz-executor 24377 490298 70730 0 3 0xc000080 fsleep syz-executor 87288 334132 94719 0 3 0x8000082 nanoslp syz-executor 34868 170052 94719 0 3 0x8000082 nanoslp syz-executor 70730 218293 94719 0 3 0x8000082 nanoslp syz-executor 89677 4269 94719 0 3 0x8000002 getblk syz-executor 22140 162301 94719 0 3 0x8000082 wait syz-executor 70508 173054 94719 0 3 0x8000002 biowait syz-executor 34600 478135 94719 0 3 0x8000082 nanoslp syz-executor 26776 116360 94719 0 3 0x8000082 nanoslp syz-executor 49838 17735 1 0 3 0x18100083 ttyin getty 8869 391811 0 0 3 0x14280 nfsidl nfsio 79465 230234 0 0 3 0x14280 nfsidl nfsio 66959 251662 0 0 3 0x14280 nfsidl nfsio 22178 200003 0 0 3 0x14280 nfsidl nfsio 69282 154909 0 0 3 0x14280 nfsidl nfsio 70750 503685 0 0 3 0x14280 nfsidl nfsio 64321 240453 0 0 3 0x14280 nfsidl nfsio 1789 149603 0 0 3 0x14280 nfsidl nfsio 186 182725 0 0 3 0x14280 nfsidl nfsio 86356 22721 0 0 3 0x14280 nfsidl nfsio 90471 210776 0 0 3 0x14280 nfsidl nfsio 3104 325917 0 0 3 0x14280 nfsidl nfsio 64819 194818 0 0 3 0x14280 nfsidl nfsio 92934 318639 0 0 3 0x14280 nfsidl nfsio 36739 372531 0 0 3 0x14280 nfsidl nfsio 82485 74373 0 0 3 0x14280 nfsidl nfsio 17645 98462 0 0 3 0x14280 nfsidl nfsio 66988 233781 0 0 3 0x14280 nfsidl nfsio 67997 92181 0 0 3 0x14280 nfsidl nfsio 49404 201690 0 0 3 0x14280 nfsidl nfsio 80356 143813 0 0 3 0x14200 acct acct 25168 202829 0 0 3 0x14200 bored sosplice 94719 273144 43195 0 3 0x8000082 kqread syz-executor 43195 291190 49386 0 3 0x810008a sigsusp ksh 49386 92881 95945 0 3 0x18000098 kqread sshd-session 95945 377099 29320 0 3 0x18000092 kqread sshd-session 29320 509326 1 0 3 0x18000088 kqread sshd 31064 55545 47009 74 3 0x19100092 bpf pflogd 47009 230675 1 0 3 0x18000080 sbwait pflogd 65759 110070 68233 73 3 0x19100090 kqread syslogd 68233 458707 1 0 3 0x18100082 sbwait syslogd 67944 497990 1 0 3 0x18100080 kqread resolvd 89821 89848 24293 77 3 0x18100092 kqread dhcpleased 31651 147791 24293 77 3 0x18100092 kqread dhcpleased 24293 268205 1 0 3 0x18000080 kqread dhcpleased 9098 75755 0 0 3 0x14200 bored smr 32493 469761 0 0 2 0x14200 zerothread 11643 136386 0 0 3 0x14200 aiodoned aiodoned 26629 501413 0 0 3 0x14200 syncer update 84725 54559 0 0 3 0x14200 cleaner cleaner 77997 338152 0 0 3 0x14200 reaper reaper 80200 66654 0 0 3 0x14200 pgdaemon pagedaemon 22353 475425 0 0 3 0x14200 bored viomb 81358 114381 0 0 3 0x40014200 acpi0 acpi0 6945 449296 0 0 3 0x40014200 idle1 6552 321180 0 0 3 0x14200 bored softnet3 47834 206797 0 0 3 0x14200 bored softnet2 84930 523596 0 0 3 0x14200 bored softnet1 81621 354964 0 0 3 0x14200 bored softnet0 20727 40915 0 0 3 0x14200 bored systqmp 37502 434846 0 0 3 0x14200 bored systq 44382 273848 0 0 3 0x14200 tmoslp softclockmp 28297 300158 0 0 3 0x40014200 tmoslp softclock 46894 521310 0 0 3 0x40014200 idle0 1 284192 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 38355 (syz-executor) thread 0xffff80002a0fe7d0 (52860) 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_externalize+0x14e #2 soreceive+0xd3e sys/kern/uipc_socket.c:1022 #3 recvit+0x40a sys/kern/uipc_syscalls.c:1082 #4 sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 #5 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #5 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 exclusive rwlock sbufrcv r = 0 (0xffff8000011f7dc0) #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 soreceive+0x298 sys/kern/uipc_socket.c:877 #4 recvit+0x40a sys/kern/uipc_syscalls.c:1082 #5 sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 #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 7585 (syz-executor) thread 0xffff80002a0fe2c0 (519746) shared rwlock vmmaplk r = 0 (0xfffffd806ecdb2b0) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1785 #2 uvm_fault_check+0x47 sys/uvm/uvm_fault.c:672 #3 uvm_fault+0x112 sys/uvm/uvm_fault.c:600 #4 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188 #5 usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436 #6 recall_trap+0x8 Process 89677 (syz-executor) thread 0xffff8000ffff1c00 (4269) exclusive rrwlock inode r = 0 (0xfffffd806e5f6f80) #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 ufs_lookup+0x16bc sys/ufs/ufs/ufs_lookup.c:573 #7 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #8 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #9 namei+0x7aa sys/kern/vfs_lookup.c:250 #10 dofstatat+0xd2 sys/kern/vfs_syscalls.c:2074 #11 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #11 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e65dd60) #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 vget+0x2bd sys/kern/vfs_subr.c:676 #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 dofstatat+0xd2 sys/kern/vfs_syscalls.c:2074 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 Process 70508 (syz-executor) thread 0xffff8000ffff0cd0 (173054) exclusive rrwlock inode r = 0 (0xfffffd806e103b48) #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 (0xfffffd806418cb40) #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10223 10241K 10758K 166960K 13300 0 pcb 18 15K 16K 166960K 231 0 rtable 192 6K 7K 166960K 2106 0 pf 31 9K 10K 166960K 173 0 ifaddr 38 14K 16K 166960K 289 0 ifgroup 52 2K 2K 166960K 307 0 sysctl 1 0K 0K 166960K 1 0 counters 62 36K 36K 166960K 192 0 ioctlops 0 0K 4K 166960K 1592 0 iov 0 0K 16K 166960K 41 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1427 90K 90K 166960K 2792 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 52 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 93K 166960K 1713 0 sigio 0 0K 0K 166960K 18 0 proc 70 91K 128K 166960K 2162 0 subproc 104 6K 6K 166960K 832 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 125 0 in_multi 77 5K 7K 166960K 748 0 ether_multi 1 0K 0K 166960K 8 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 1293 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 238 72K 93K 166960K 14436 0 UVM aobj 57 6K 6K 166960K 58 0 pinsyscall 41 82K 104K 166960K 4242 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 67 0 NDP 11 0K 1K 166960K 204 0 temp 76 6816K 6905K 166960K 45638 0 kqueue 13 20K 28K 166960K 131 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 199 0 196 1 0 1 1 0 8 0 rtentry 112 751 0 665 6 2 4 4 0 8 0 unpcb 144 1131 0 1110 16 14 2 10 0 8 1 syncache 336 5 0 5 3 3 0 1 0 8 0 tcpcb 808 469 0 464 20 12 8 8 0 8 7 arp 120 134 0 121 1 0 1 1 0 8 0 inpcb 384 1659 0 1649 29 19 10 10 0 8 8 nd6 136 204 0 184 2 1 1 2 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 kcovpl 48 64 0 56 1 0 1 1 0 8 0 ppxss 1168 3 0 3 2 1 1 1 0 8 1 pffrag 232 9 0 8 2 1 1 1 0 482 0 pffrnode 88 9 0 8 2 1 1 1 0 8 0 pffrent 40 58 0 57 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 116 0 69 1 0 1 1 0 8 0 pfstkey 128 116 0 69 2 0 2 2 0 8 0 pfstate 376 116 0 69 5 0 5 5 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 2969 0 2605 38 10 28 30 0 8 3 art_table 32 2970 0 2605 5 1 4 4 0 8 0 art_node 16 750 0 672 1 0 1 1 0 8 0 sysvmsgpl 40 44 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 50 0 40 1 0 1 1 0 8 0 shmpl 112 55 0 1 2 0 2 2 0 8 0 dirhash 1024 34 0 17 3 0 3 3 0 8 0 dino2pl 256 2996 0 1389 101 0 101 101 0 8 0 ffsino 272 2997 0 1389 108 0 108 108 0 8 0 nchpl 144 4310 0 2550 66 0 66 66 0 8 0 uvmvnodes 80 4309 0 0 88 0 88 88 0 8 0 vnodes 216 4309 0 0 240 0 240 240 0 8 0 namei 1024 21099 0 21097 6 5 1 2 0 8 0 percpumem 16 110 0 65 1 0 1 1 0 8 0 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 696 3 0 2 2 1 1 1 0 8 0 kstatmem 264 152 0 130 2 0 2 2 0 8 0 scxspl 216 30261 0 30260 13 12 1 8 1 8 0 plimitpl 152 341 0 323 1 0 1 1 0 8 0 sigapl 424 1922 0 1852 10 1 9 9 0 8 0 futexpl 64 13684 0 13682 6 5 1 1 0 8 0 knotepl 120 387 0 0 10 0 10 10 0 8 0 kqueuepl 216 412 0 401 7 2 5 5 0 8 4 pipepl 320 550 0 523 18 15 3 8 0 8 0 fdescpl 496 1882 0 1852 7 2 5 5 0 8 0 filepl 152 11263 0 11005 37 23 14 18 0 8 3 lockfpl 104 321 0 318 2 1 1 2 0 8 0 lockfspl 48 120 0 117 1 0 1 1 0 8 0 sessionpl 144 79 0 70 1 0 1 1 0 8 0 pgrppl 48 149 0 132 1 0 1 1 0 8 0 ucredpl 104 1406 0 1390 1 0 1 1 0 8 0 zombiepl 144 1855 0 1852 1 0 1 1 0 8 0 processpl 1152 1922 0 1852 7 1 6 6 0 8 0 procpl 648 3276 0 3201 8 0 8 8 0 8 0 srpgc 96 13 0 13 3 2 1 1 0 8 1 sosppl 168 7 0 7 5 4 1 1 0 8 1 sockpl 664 3000 0 2966 48 37 11 23 0 8 7 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 229 0 0 28 0 28 28 0 8 0 mtagpl 96 11 0 0 1 0 1 1 0 8 0 mbufpl 256 562 0 0 32 0 32 32 0 8 0 bufpl 280 9946 0 1786 583 0 583 583 0 8 0 anonpl 24 349486 0 345959 60 9 51 55 0 185 19 amapchunkpl 152 46790 0 46285 40 7 33 35 0 158 10 amappl16 200 7226 0 7207 43 29 14 14 0 8 11 amappl15 192 16 0 16 1 1 0 1 0 8 0 amappl14 184 254 0 242 1 0 1 1 0 8 0 amappl13 176 25 0 25 2 2 0 1 0 8 0 amappl12 168 3418 0 3388 3 1 2 2 0 8 0 amappl11 160 69 0 55 1 0 1 1 0 8 0 amappl10 152 20 0 20 1 1 0 1 0 8 0 amappl9 144 105 0 104 1 0 1 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 292 0 279 1 0 1 1 0 8 0 amappl6 120 746 0 745 1 0 1 1 0 8 0 amappl5 112 365 0 354 1 0 1 1 0 8 0 amappl4 104 482 0 464 1 0 1 1 0 8 0 amappl3 96 8858 0 8741 5 1 4 4 0 8 0 amappl2 88 1431 0 1365 2 0 2 2 0 8 0 amappl1 80 15949 0 15350 20 6 14 14 0 8 0 amappl 88 13624 0 13448 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 57 0 1 2 0 2 2 0 8 0 uaddrrnd 24 1886 0 1855 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1886 0 1855 1 0 1 1 0 8 0 vmmpekpl 168 18453 0 18389 5 1 4 4 0 8 0 vmmpepl 168 123564 0 121703 115 18 97 97 0 357 8 vmsppl 440 1885 0 1855 6 2 4 5 0 8 0 rwobjpl 56 42448 0 37123 82 3 79 79 0 8 2 pdppl 4096 3779 0 3711 169 95 74 85 0 8 6 pvpl 32 29099 0 0 234 0 234 234 0 265 0 pmappl 248 1885 0 1855 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 518 0 128 12 0 12 12 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1a kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x1a 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(ffff80002a134980,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(ffff80002a134ae0,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+0x33 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 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 uvm_fault(fffffd806ecdb1c0,ff5728f5000,0,1) at uvm_fault+0x1ed sys/uvm/uvm_fault.c:622 upageflttrap(ffff80002a134e70,ff5728f5000) at upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188 usertrap(ffff80002a134e70) at usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x70a62ff00cd0, count: -16 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(fffffd806dd760a0,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806dd76090,1) at rw_enter+0x122 rrw_enter(fffffd806dd76090,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8064ab6458,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8064ab6458,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd8064ab6458,fffffd8064ab62a8,0,0,200,0,a5a59202ea6c0579) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd8064ab6458,fffffd8064ab62a8,ffff80002a0fe7d0) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd806309ce00,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1088 soreceive(ffff8000011f7cf0,ffff80003223a548,ffff80003223a4f8,0,ffff80003223a538,ffff80003223a6bc,4505a274b88c561f) at soreceive+0xd3e sys/kern/uipc_socket.c:1022 recvit(ffff80002a0fe7d0,5,ffff80003223a690,0,ffff80003223a740) at recvit+0x40a sys/kern/uipc_syscalls.c:1082 sys_recvmsg(ffff80002a0fe7d0,ffff80003223a7f0,ffff80003223a740) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 syscall(ffff80003223a7f0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003223a7f0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb2ce9dc2610, count: -14