witness: lock order reversal: 1st 0xffff8000013d9da0 sbufrcv (&so->so_rcv.sb_lock) 2nd 0xfffffd806af09810 inode (&ip->i_lock) lock order [1] sbufrcv (&so->so_rcv.sb_lock) -> [2] inode (&ip->i_lock) lock order data 0xffffffff830f26fc -> 0xffffffff8306e212 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+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 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(fffffd806af09810,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806af09800,1) at rw_enter+0x122 rrw_enter(fffffd806af09800,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd805ff251d0,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd805ff251d0,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd805ff251d0,fffffd805ff250f8,0,0,200,0,6860a6a208255cb3) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd805ff251d0,fffffd805ff250f8,ffff800031782038) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd806af8a500,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1094 soreceive(ffff8000013d9cd0,ffff8000371c8268,ffff8000371c8218,0,ffff8000371c8258,ffff8000371c83dc,94b0ab3f051f5aaf) at soreceive+0xd3e sys/kern/uipc_socket.c:1090 recvit(ffff800031782038,7,ffff8000371c83b0,0,ffff8000371c8460) at recvit+0x40a sys/kern/uipc_syscalls.c:1079 sys_recvmsg(ffff800031782038,ffff8000371c8510,ffff8000371c8460) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:879 syscall(ffff8000371c8510) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371c8510) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8b0005261d0, count: -14 ddb{1}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff8000371c7cc0 rbx 0xfffffd80042c6690 rdx 0xffff800001290b00 rcx 0xffff800031782038 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff8000371c7ba0 r9 0x8080808080808080 r10 0xb8eaa32de1d9d04f r11 0xeb12519d3aa4fe1b r12 0 r13 0xfffffd8003adee00 r14 0x3 r15 0xffffffff rip 0xffffffff81ac00e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371c7cb0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=479729 pid=5260 tcnt=3 stat=onproc flags process=1000000 proc=4000000 runpri=24, usrpri=50, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800031783478,0xffff800031783710 process=0xffff800037248918 user=0xffff8000371c3000, vmspace=0xfffffd806af538e0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11621 87362 22952 0 2 0 syz-executor 11621 375307 22952 0 2 0x4000000 syz-executor 5260 333927 88151 0 2 0x1000000 syz-executor * 5260 479729 88151 0 7 0x5000000 syz-executor 5260 263753 88151 0 2 0x5000000 syz-executor 53511 173721 48132 0 2 0 syz-executor 53511 344045 48132 0 2 0x4000000 syz-executor 53511 29208 48132 0 2 0x4000000 syz-executor 24025 274825 41768 0 2 0 syz-executor 24025 387414 41768 0 3 0x4000080 fsleep syz-executor 54072 424772 43835 0 2 0 syz-executor 54072 168665 43835 0 3 0x4000080 pipewr syz-executor 54072 399925 43835 0 3 0x4000080 lockf syz-executor 54072 118587 43835 0 3 0x4000080 fsleep syz-executor 85792 130852 51834 0 2 0 syz-executor 85792 121063 51834 0 3 0x4000080 netacc syz-executor 85792 73471 51834 0 3 0x4000080 fsleep syz-executor 55458 322285 91888 0 2 0 syz-executor 55458 31648 91888 0 3 0x4000080 fsleep syz-executor 55458 167493 91888 0 3 0x4000080 fsleep syz-executor 55458 200899 91888 0 3 0x4000080 fsleep syz-executor 55458 421419 91888 0 3 0x4000080 fsleep syz-executor 82538 491905 1 0 3 0x100083 ttyopn getty 83342 45903 0 0 3 0x14280 nfsidl nfsio 44628 41633 0 0 3 0x14280 nfsidl nfsio 5465 383027 0 0 3 0x14280 nfsidl nfsio 6265 249967 0 0 3 0x14280 nfsidl nfsio 54317 387245 0 0 3 0x14280 nfsidl nfsio 68595 93931 0 0 3 0x14280 nfsidl nfsio 35374 80066 0 0 3 0x14280 nfsidl nfsio 41306 427937 0 0 3 0x14280 nfsidl nfsio 89034 393931 0 0 3 0x14280 nfsidl nfsio 85310 125950 0 0 3 0x14280 nfsidl nfsio 45777 40933 0 0 3 0x14280 nfsidl nfsio 18288 411753 0 0 3 0x14280 nfsidl nfsio 33869 306462 0 0 3 0x14280 nfsidl nfsio 67765 319895 0 0 3 0x14280 nfsidl nfsio 96193 274847 0 0 3 0x14280 nfsidl nfsio 20485 347822 0 0 3 0x14280 nfsidl nfsio 47199 161304 0 0 3 0x14280 nfsidl nfsio 69840 412623 0 0 3 0x14280 nfsidl nfsio 71941 33955 0 0 3 0x14280 nfsidl nfsio 34416 176573 0 0 3 0x14280 nfsidl nfsio 36068 225316 0 0 3 0x14200 bored sosplice 51834 330019 37923 0 3 0x82 nanoslp syz-executor 22952 226020 37923 0 3 0x82 nanoslp syz-executor 41768 444381 37923 0 3 0x82 nanoslp syz-executor 43835 38860 37923 0 3 0x82 nanoslp syz-executor 48132 148212 37923 0 3 0x82 nanoslp syz-executor 91888 473989 37923 0 3 0x82 nanoslp syz-executor 28934 169590 37923 0 3 0x2 biowait syz-executor 88151 504466 37923 0 3 0x82 nanoslp syz-executor 37923 319029 3322 0 7 0x3 syz-executor 3322 144090 14706 0 3 0x10008a sigsusp ksh 14706 257722 51151 0 3 0x98 kqread sshd-session 51151 274159 15528 0 3 0x92 kqread sshd-session 15528 16738 1 0 3 0x88 kqread sshd 62568 256501 67356 74 3 0x1100092 bpf pflogd 67356 169992 1 0 3 0x80 sbwait pflogd 92239 66479 95369 73 3 0x1100090 kqread syslogd 95369 59496 1 0 3 0x100082 sbwait syslogd 8931 374958 1 0 3 0x100080 kqread resolvd 96764 167706 23052 77 3 0x100092 kqread dhcpleased 15127 315066 23052 77 3 0x100092 kqread dhcpleased 23052 266629 1 0 3 0x80 kqread dhcpleased 55032 235614 0 0 3 0x14200 bored smr 14815 224369 0 0 2 0x14200 zerothread 29832 412994 0 0 3 0x14200 aiodoned aiodoned 26705 6509 0 0 3 0x14200 syncer update 42889 74385 0 0 3 0x14200 cleaner cleaner 23070 234277 0 0 3 0x14200 reaper reaper 99342 252947 0 0 3 0x14200 pgdaemon pagedaemon 40552 79311 0 0 3 0x14200 bored viomb 3299 107361 0 0 3 0x40014200 acpi0 acpi0 41178 14751 0 0 3 0x40014200 idle1 93168 460848 0 0 3 0x14200 bored softnet3 62717 263716 0 0 3 0x14200 bored softnet2 57258 328357 0 0 3 0x14200 bored softnet1 89425 454353 0 0 3 0x14200 bored softnet0 39370 257141 0 0 3 0x14200 bored systqmp 85230 221748 0 0 3 0x14200 bored systq 73288 161564 0 0 3 0x14200 tmoslp softclockmp 48971 220638 0 0 3 0x40014200 tmoslp softclock 53363 135302 0 0 3 0x40014200 idle0 1 381271 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 5260 (syz-executor) thread 0xffff800031782038 (479729) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff835a0b68) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 unp_externalize+0x14e #2 soreceive+0xd3e sys/kern/uipc_socket.c:1090 #3 recvit+0x40a sys/kern/uipc_syscalls.c:1079 #4 sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:879 #5 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #5 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 exclusive rwlock sbufrcv r = 0 (0xffff8000013d9da0) #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 soreceive+0x295 sys/kern/uipc_socket.c:945 #4 recvit+0x40a sys/kern/uipc_syscalls.c:1079 #5 sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:879 #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 28934 (syz-executor) thread 0xffff80002a03ef48 (169590) exclusive rrwlock inode r = 0 (0xfffffd806af09c50) #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 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:169 #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:3099 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806cda24e8) #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 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:3084 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [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 10225 11205K 11504K 166960K 12294 0 pcb 18 18K 20K 166960K 252 0 rtable 224 7K 7K 166960K 466 0 pf 36 18K 20K 166960K 81 0 ifaddr 43 7K 8K 166960K 61 0 ifgroup 58 2K 2K 166960K 81 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 84 0 ioctlops 0 0K 4K 166960K 1544 0 iov 0 0K 16K 166960K 39 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1426 90K 90K 166960K 2030 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 13K 166960K 34 0 VM map 2 1K 1K 166960K 2 0 sem 12 10K 10K 166960K 61 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 93K 166960K 841 0 sigio 0 0K 0K 166960K 27 0 proc 72 91K 128K 166960K 596 0 subproc 104 6K 6K 166960K 105 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 94 0 in_multi 96 7K 7K 166960K 131 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 3 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 478 0 fusefs mount 1 32K 32K 166960K 1 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 249 73K 87K 166960K 9662 0 UVM aobj 68 3K 3K 166960K 72 0 pinsyscall 42 84K 104K 166960K 1984 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 45 0 NDP 12 0K 2K 166960K 38 0 temp 65 6824K 6904K 166960K 24947 0 kqueue 16 24K 26K 166960K 134 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 82 0 79 1 0 1 1 0 8 0 rtentry 112 128 0 26 4 0 4 4 0 8 0 unpcb 144 615 0 592 7 6 1 6 0 8 0 syncache 336 11 0 11 3 2 1 1 0 8 1 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 808 297 0 291 7 3 4 5 0 8 3 arp 120 21 0 1 1 0 1 1 0 8 0 inpcb 336 1268 0 1258 19 12 7 12 0 8 5 nd6 136 27 0 1 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1168 9 0 9 2 1 1 1 0 8 1 pffrag 232 5 0 1 1 0 1 1 0 482 0 pffrnode 88 5 0 1 1 0 1 1 0 8 0 pffrent 40 9 0 5 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 60 0 20 1 0 1 1 0 8 0 pfstkey 128 60 0 20 2 0 2 2 0 8 0 pfstate 376 59 0 20 5 0 5 5 0 8 0 pfrule 1344 24 0 18 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 506 0 106 30 2 28 30 0 8 0 art_table 32 508 0 106 4 0 4 4 0 8 0 art_node 16 125 0 35 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 7 1 0 1 1 0 8 0 semapl 112 57 0 47 1 0 1 1 0 8 0 shmpl 112 69 0 4 2 0 2 2 0 8 0 dirhash 1024 26 0 9 3 0 3 3 0 8 0 dino2pl 256 2869 0 1365 95 0 95 95 0 8 0 ffsino 272 2869 0 1365 101 0 101 101 0 8 0 nchpl 144 4068 0 2381 63 0 63 63 0 8 0 uvmvnodes 80 3367 0 0 69 0 69 69 0 8 0 vnodes 216 3367 0 0 188 0 188 188 0 8 0 namei 1024 13915 0 13914 3 2 1 2 0 8 0 percpumem 16 56 0 10 1 0 1 1 0 8 0 kstatmem 264 44 0 20 2 0 2 2 0 8 0 scsiplug 72 3 0 3 2 2 0 1 0 8 0 scxspl 216 12701 0 12699 16 14 2 8 1 8 1 plimitpl 152 250 0 233 1 0 1 1 0 8 0 sigapl 424 1179 0 1109 9 0 9 9 0 8 0 futexpl 64 10905 0 10898 1 0 1 1 0 8 0 knotepl 120 533 0 0 17 0 17 17 0 8 0 kqueuepl 216 324 0 312 5 2 3 5 0 8 2 pipepl 320 219 0 190 3 0 3 3 0 8 0 fdescpl 496 1139 0 1108 5 0 5 5 0 8 0 filepl 152 7544 0 7283 19 6 13 16 0 8 2 lockfpl 104 351 0 345 1 0 1 1 0 8 0 lockfspl 48 121 0 116 1 0 1 1 0 8 0 sessionpl 144 31 0 22 1 0 1 1 0 8 0 pgrppl 48 56 0 39 1 0 1 1 0 8 0 ucredpl 104 1212 0 1198 1 0 1 1 0 8 0 zombiepl 144 1109 0 1109 1 0 1 1 0 8 1 processpl 1160 1179 0 1109 7 1 6 6 0 8 0 procpl 648 2387 0 2302 8 0 8 8 0 8 0 sosppl 168 9 0 9 3 2 1 1 0 8 1 sockpl 664 2011 0 1975 25 16 9 15 0 8 4 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 139 0 0 18 0 18 18 0 8 0 mcl2k 2048 86 0 0 11 0 11 11 0 8 0 mtagpl 96 85 0 0 3 0 3 3 0 8 0 mbufpl 256 472 0 0 29 0 29 29 0 8 0 bufpl 280 5587 0 98 393 0 393 393 0 8 0 anonpl 24 220938 0 216882 66 23 43 47 0 185 14 amapchunkpl 152 31575 0 30992 34 10 24 29 0 158 1 amappl16 200 5597 0 5570 29 20 9 15 0 8 5 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 141 0 129 1 0 1 1 0 8 0 amappl13 176 8 0 8 2 2 0 1 0 8 0 amappl12 168 1803 0 1772 4 2 2 3 0 8 0 amappl11 160 54 0 39 1 0 1 1 0 8 0 amappl10 152 18 0 18 1 1 0 1 0 8 0 amappl9 144 132 0 131 2 1 1 1 0 8 0 amappl8 136 28 0 25 1 0 1 1 0 8 0 amappl7 128 118 0 106 1 0 1 1 0 8 0 amappl6 120 171 0 170 1 0 1 1 0 8 0 amappl5 112 142 0 130 1 0 1 1 0 8 0 amappl4 104 354 0 335 1 0 1 1 0 8 0 amappl3 96 5875 0 5772 3 0 3 3 0 8 0 amappl2 88 1492 0 1407 3 0 3 3 0 8 0 amappl1 80 11769 0 11211 15 0 15 15 0 8 1 amappl 88 9159 0 8973 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 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 52 0 51 1 0 1 1 0 8 0 aobjpl 72 71 0 4 2 0 2 2 0 8 0 uaddrrnd 24 1139 0 1108 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1139 0 1108 1 0 1 1 0 8 0 vmmpekpl 168 11088 0 11046 3 0 3 3 0 8 0 vmmpepl 168 79090 0 77208 104 13 91 95 0 357 7 vmsppl 448 1138 0 1108 6 2 4 5 0 8 0 rwobjpl 56 28988 0 24607 63 1 62 62 0 8 0 pdppl 4096 2285 0 2216 121 48 73 85 0 8 4 pvpl 32 14536 0 0 118 0 118 118 0 265 0 pmappl 248 1138 0 1108 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 457 0 75 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(ffffffff834f2ff0) 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(ffffffff835a0960) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835a0960) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a04ef20,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff835a0960) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835a0960) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a04f080,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x38 sys/dev/kcov.c:159 __mp_lock(ffffffff835a0960) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835a0960) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 ktrstruct(ffff80002a03e2a0,ffffffff830530c4,ffff8000013e8158,8) at ktrstruct+0xe2 sys/kern/kern_ktrace.c:307 dopselect(ffff80002a03e2a0,32,7bc03ac3f700,0,0,ffff80002a04f5a8,531828ee77555b9b,ffff80002a03e2a0) at dopselect+0xc58 sys/kern/sys_generic.c:720 sys_pselect(ffff80002a03e2a0,ffff80002a04f6f0,ffff80002a04f640) at sys_pselect+0x263 sys/kern/sys_generic.c:589 syscall(ffff80002a04f6f0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80002a04f6f0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bc03ac3f6b0, 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(fffffd806af09810,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806af09800,1) at rw_enter+0x122 rrw_enter(fffffd806af09800,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd805ff251d0,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd805ff251d0,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vfs_getcwd_common(fffffd805ff251d0,fffffd805ff250f8,0,0,200,0,6860a6a208255cb3) at vfs_getcwd_common+0xd1 sys/kern/vfs_getcwd.c:287 vn_isunder(fffffd805ff251d0,fffffd805ff250f8,ffff800031782038) at vn_isunder+0x56 sys/kern/vfs_vnops.c:688 unp_externalize(fffffd806af8a500,ec,0) at unp_externalize+0x286 sys/kern/uipc_usrreq.c:1094 soreceive(ffff8000013d9cd0,ffff8000371c8268,ffff8000371c8218,0,ffff8000371c8258,ffff8000371c83dc,94b0ab3f051f5aaf) at soreceive+0xd3e sys/kern/uipc_socket.c:1090 recvit(ffff800031782038,7,ffff8000371c83b0,0,ffff8000371c8460) at recvit+0x40a sys/kern/uipc_syscalls.c:1079 sys_recvmsg(ffff800031782038,ffff8000371c8510,ffff8000371c8460) at sys_recvmsg+0x1bf sys/kern/uipc_syscalls.c:879 syscall(ffff8000371c8510) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371c8510) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8b0005261d0, count: -14