witness: lock order reversal: 1st 0xffff8000011df0b0 sbufrcv (&so->so_rcv.sb_lock) 2nd 0xfffffd806bd93c50 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(fffffd806bd93c50,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806bd93c40,1) at rw_enter+0x122 rrw_enter(fffffd806bd93c40,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806bd7f6c8,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806bd7f6c8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd806bd7f6c8,fffffd806bd7f6c8,0,0,200,0,1e99d899e186a508) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd806bd7f6c8,fffffd806bd7f6c8,ffff800034f98cd0) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd806e9a8800,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1088 soreceive(ffff8000011defe0,ffff80003728d818,ffff80003728d7c8,0,ffff80003728d808,ffff80003728d98c,37124a452a507ba4) at soreceive+0xd3e sys/kern/uipc_socket.c:1022 recvit(ffff800034f98cd0,5,ffff80003728d960,0,ffff80003728da10) at recvit+0x40a sys/kern/uipc_syscalls.c:1082 sys_recvmsg(ffff800034f98cd0,ffff80003728dac0,ffff80003728da10) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 syscall(ffff80003728dac0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003728dac0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf6e833bfb50, count: -14 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003728d270 rbx 0xffffffff83061629 pp_r600_decoded_lanes+0x34594 rdx 0 rcx 0xffff800034f98cd0 rax 0xffff800029b7bff0 r8 0xffff80003728d150 r9 0x8080808080808080 r10 0xf975aa168fbb2f6a r11 0xa7804e328dcd7d5a r12 0xfffffd80042a0ac0 r13 0xfffffd8003ab7dc0 r14 0x3 r15 0xffffffff rip 0xffffffff816cefe5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003728d260 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=69327 pid=61720 tcnt=3 stat=onproc flags process=9000000 proc=4000000 runpri=24, usrpri=77, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800034f987c0,0xffff800034f98038 process=0xffff8000365afaa8 user=0xffff800037288000, vmspace=0xfffffd806be291c0 estcpu=27, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15709 162732 68789 0 2 0x8000000 syz-executor 15709 129616 68789 0 2 0xc000000 syz-executor 400 286175 60612 0 2 0x8000000 syz-executor 400 498337 60612 0 2 0xc000000 syz-executor 400 77334 60612 0 3 0xc000080 fsleep syz-executor 400 480086 60612 0 3 0xc000080 fsleep syz-executor 3304 83983 79702 0 7 0x8000000 syz-executor 3304 11350 79702 0 3 0xc000000 biowait syz-executor 98039 404546 5282 0 2 0x8000000 syz-executor 98039 521972 5282 0 3 0xc000080 fsleep syz-executor 94505 438075 85755 0 2 0x8000000 syz-executor 94505 351422 85755 0 3 0xc000080 fsleep syz-executor 71246 329624 77474 0 2 0x8000000 syz-executor 71246 224738 77474 0 3 0xc000080 fsleep syz-executor 61720 171273 61641 0 2 0x9000000 syz-executor *61720 69327 61641 0 7 0xd000000 syz-executor 61720 312491 61641 0 2 0xd000000 syz-executor 92722 75370 0 0 3 0x14200 bored sosplice 99475 3859 0 0 3 0x14280 nfsidl nfsio 66965 325644 0 0 3 0x14280 nfsidl nfsio 39617 241377 0 0 3 0x14280 nfsidl nfsio 61839 351133 0 0 3 0x14280 nfsidl nfsio 11497 287444 0 0 3 0x14280 nfsidl nfsio 46358 411267 0 0 3 0x14280 nfsidl nfsio 27586 142790 0 0 3 0x14280 nfsidl nfsio 63714 439490 0 0 3 0x14280 nfsidl nfsio 10528 508774 0 0 3 0x14280 nfsidl nfsio 7184 315551 0 0 3 0x14280 nfsidl nfsio 66873 339500 0 0 3 0x14280 nfsidl nfsio 34716 420905 0 0 3 0x14280 nfsidl nfsio 42021 395642 0 0 3 0x14280 nfsidl nfsio 13834 285012 0 0 3 0x14280 nfsidl nfsio 33747 26148 0 0 3 0x14280 nfsidl nfsio 93390 407535 0 0 3 0x14280 nfsidl nfsio 53273 115405 0 0 3 0x14280 nfsidl nfsio 71482 165228 0 0 3 0x14280 nfsidl nfsio 9306 507880 0 0 3 0x14280 nfsidl nfsio 46793 461101 0 0 3 0x14280 nfsidl nfsio 77474 132553 26738 0 3 0x8000082 nanoslp syz-executor 60612 480753 26738 0 2 0x8000482 syz-executor 61641 302187 26738 0 3 0x8000082 nanoslp syz-executor 68789 467497 26738 0 3 0x8000082 nanoslp syz-executor 5282 227990 26738 0 3 0x8000082 nanoslp syz-executor 79702 85116 26738 0 3 0x8000082 nanoslp syz-executor 85755 45021 26738 0 3 0x8000082 nanoslp syz-executor 26738 90711 41119 0 3 0x8000082 nanoslp syz-executor 41119 211378 39434 0 3 0x810008a sigsusp ksh 39434 506762 76507 0 3 0x18000098 kqread sshd-session 76507 521104 10524 0 3 0x18000092 kqread sshd-session 31435 312233 1 0 3 0x18100083 ttyin getty 10524 63164 1 0 3 0x18000088 kqread sshd 74402 329424 13845 74 3 0x19100092 bpf pflogd 13845 137774 1 0 3 0x18000080 sbwait pflogd 74803 165103 35660 73 3 0x19100090 kqread syslogd 35660 273567 1 0 3 0x18100082 sbwait syslogd 82575 389214 1 0 3 0x18100080 kqread resolvd 73911 438482 59745 77 3 0x18100092 kqread dhcpleased 14699 476103 59745 77 3 0x18100092 kqread dhcpleased 59745 325608 1 0 3 0x18000080 kqread dhcpleased 9807 484343 0 0 3 0x14200 bored smr 78634 250268 0 0 2 0x14200 zerothread 56188 110321 0 0 3 0x14200 aiodoned aiodoned 63189 84669 0 0 3 0x14200 syncer update 67041 254970 0 0 3 0x14200 cleaner cleaner 5261 403380 0 0 3 0x14200 reaper reaper 87512 52402 0 0 3 0x14200 pgdaemon pagedaemon 43794 104786 0 0 3 0x14200 bored viomb 36101 379058 0 0 3 0x40014200 acpi0 acpi0 87144 451122 0 0 3 0x40014200 idle1 3424 509856 0 0 3 0x14200 bored softnet3 65592 363901 0 0 3 0x14200 bored softnet2 17175 189653 0 0 3 0x14200 bored softnet1 81627 369052 0 0 3 0x14200 bored softnet0 93788 472794 0 0 3 0x14200 bored systqmp 60640 388160 0 0 3 0x14200 bored systq 29347 319799 0 0 3 0x14200 tmoslp softclockmp 9213 232307 0 0 3 0x40014200 tmoslp softclock 69575 117901 0 0 3 0x40014200 idle0 1 354873 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 3304 (syz-executor) thread 0xffff800037232f68 (11350) exclusive rrwlock inode r = 0 (0xfffffd806bd930a0) #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 (0xfffffd806bd93920) #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 61720 (syz-executor) thread 0xffff800034f98cd0 (69327) 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 (0xffff8000011df0b0) #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10190 10237K 10482K 166960K 11997 0 pcb 18 14K 16K 166960K 168 0 rtable 172 4K 6K 166960K 364 0 pf 28 8K 10K 166960K 45 0 ifaddr 36 13K 15K 166960K 48 0 ifgroup 47 2K 2K 166960K 57 0 sysctl 3 0K 0K 166960K 3 0 counters 60 35K 36K 166960K 66 0 ioctlops 0 0K 4K 166960K 1495 0 iov 0 0K 16K 166960K 48 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1429 90K 90K 166960K 1586 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 13 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 93K 166960K 317 0 sigio 0 0K 0K 166960K 5 0 proc 70 91K 140K 166960K 556 0 subproc 91 5K 6K 166960K 105 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 34 0 in_multi 74 5K 7K 166960K 117 0 ether_multi 1 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 389 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 230 68K 87K 166960K 4675 0 UVM aobj 74 5K 5K 166960K 75 0 pinsyscall 41 82K 107K 166960K 1386 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 16 0 NDP 10 0K 1K 166960K 29 0 temp 38 6807K 6875K 166960K 7072 0 kqueue 13 20K 26K 166960K 62 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 56 0 51 1 0 1 1 0 8 0 rtentry 112 113 0 34 4 0 4 4 0 8 0 unpcb 144 375 0 355 4 0 4 4 0 8 3 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 72 0 65 1 0 1 1 0 8 0 arp 120 18 0 4 1 0 1 1 0 8 0 inpcb 384 490 0 476 12 4 8 12 0 8 6 nd6 136 26 0 6 1 0 1 1 0 8 0 kcovpl 48 8 0 1 1 0 1 1 0 8 0 ppxss 1168 1 0 1 1 0 1 1 0 8 1 pffrag 232 3 0 2 1 0 1 1 0 482 0 pffrnode 88 3 0 2 1 0 1 1 0 8 0 pffrent 40 47 0 46 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 38 0 1 1 0 1 1 0 8 0 pfstkey 128 38 0 1 2 0 2 2 0 8 0 pfstate 376 38 0 1 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 456 0 129 29 1 28 29 0 8 4 art_table 32 457 0 129 4 0 4 4 0 8 0 art_node 16 112 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 4 1 0 1 1 0 8 1 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 72 0 1 3 0 3 3 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 1899 0 393 95 0 95 95 0 8 0 ffsino 272 1899 0 393 101 0 101 101 0 8 0 nchpl 144 2365 0 680 63 0 63 63 0 8 0 uvmvnodes 80 2170 0 0 45 0 45 45 0 8 0 vnodes 216 2170 0 0 121 0 121 121 0 8 0 namei 1024 7913 0 7912 2 0 2 2 0 8 1 percpumem 16 47 0 3 1 0 1 1 0 8 0 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 696 2 0 1 1 0 1 1 0 8 0 kstatmem 264 26 0 6 2 0 2 2 0 8 0 scxspl 216 6989 0 6988 4 2 2 3 1 8 1 plimitpl 152 128 0 110 1 0 1 1 0 8 0 sigapl 424 636 0 566 9 1 8 8 0 8 0 futexpl 64 3545 0 3540 1 0 1 1 0 8 0 knotepl 120 316 0 0 10 0 10 10 0 8 0 kqueuepl 216 162 0 151 3 0 3 3 0 8 2 pipepl 320 165 0 137 5 2 3 5 0 8 0 fdescpl 496 597 0 567 5 0 5 5 0 8 0 filepl 152 3758 0 3508 18 3 15 18 0 8 5 lockfpl 104 103 0 100 1 0 1 1 0 8 0 lockfspl 48 46 0 43 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 31 0 14 1 0 1 1 0 8 0 ucredpl 104 276 0 262 1 0 1 1 0 8 0 zombiepl 144 567 0 566 1 0 1 1 0 8 0 processpl 1152 636 0 566 6 0 6 6 0 8 0 procpl 648 988 0 908 9 1 8 8 0 8 1 srpgc 96 4 0 4 1 0 1 1 0 8 1 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 664 927 0 888 21 10 11 18 0 8 7 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 241 0 0 31 0 31 31 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 379 0 0 24 0 24 24 0 8 0 bufpl 280 2732 0 93 189 0 189 189 0 8 0 anonpl 24 155046 0 151716 47 2 45 45 0 185 19 amapchunkpl 152 15651 0 15171 35 0 35 35 0 158 15 amappl16 200 4076 0 4054 18 8 10 14 0 8 8 amappl15 192 37 0 37 1 1 0 1 0 8 0 amappl14 184 120 0 108 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 1238 0 1208 4 1 3 3 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 11 0 10 1 0 1 1 0 8 0 amappl9 144 134 0 134 1 1 0 1 0 8 0 amappl8 136 26 0 24 1 0 1 1 0 8 0 amappl7 128 106 0 93 1 0 1 1 0 8 0 amappl6 120 176 0 175 1 0 1 1 0 8 0 amappl5 112 127 0 116 1 0 1 1 0 8 0 amappl4 104 319 0 300 1 0 1 1 0 8 0 amappl3 96 2987 0 2876 4 0 4 4 0 8 1 amappl2 88 611 0 549 2 0 2 2 0 8 0 amappl1 80 8316 0 7741 14 1 13 14 0 8 0 amappl 88 4298 0 4131 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 74 0 1 2 0 2 2 0 8 0 uaddrrnd 24 599 0 568 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 599 0 568 1 0 1 1 0 8 0 vmmpekpl 168 6880 0 6830 3 0 3 3 0 8 0 vmmpepl 168 45173 0 43334 92 0 92 92 0 357 9 vmsppl 440 598 0 568 6 2 4 5 0 8 0 rwobjpl 56 19073 0 15915 48 0 48 48 0 8 2 pdppl 4096 1205 0 1137 100 28 72 85 0 8 4 pvpl 32 13550 0 0 112 2 110 110 0 265 0 pmappl 248 598 0 568 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 395 0 32 11 0 11 11 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(ffff8000371e1730,ffff800000069c00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xf sys/dev/kcov.c:154 intr_handler(ffff8000371e18a0,ffff80000006c000) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __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 intr_handler(ffff8000371e1a00,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: 0x70295c00c990, count: -12 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(fffffd806bd93c50,9,0) at witness_checkorder+0x1024 rw_enter(fffffd806bd93c40,1) at rw_enter+0x122 rrw_enter(fffffd806bd93c40,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806bd7f6c8,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806bd7f6c8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd806bd7f6c8,fffffd806bd7f6c8,0,0,200,0,1e99d899e186a508) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd806bd7f6c8,fffffd806bd7f6c8,ffff800034f98cd0) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd806e9a8800,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1088 soreceive(ffff8000011defe0,ffff80003728d818,ffff80003728d7c8,0,ffff80003728d808,ffff80003728d98c,37124a452a507ba4) at soreceive+0xd3e sys/kern/uipc_socket.c:1022 recvit(ffff800034f98cd0,5,ffff80003728d960,0,ffff80003728da10) at recvit+0x40a sys/kern/uipc_syscalls.c:1082 sys_recvmsg(ffff800034f98cd0,ffff80003728dac0,ffff80003728da10) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:882 syscall(ffff80003728dac0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003728dac0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf6e833bfb50, count: -14