witness: lock order reversal: 1st 0xfffffd806bf772d8 vmmaplk (&map->lock) 2nd 0xfffffd806bcb5b40 inode (&ip->i_lock) lock order [1] vmmaplk (&map->lock) -> [2] inode (&ip->i_lock) #0 rw_enter+0x122 #1 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #2 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #3 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #4 vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 #5 vndstrategy+0x4ff sys/dev/vnd.c:342 #6 physio+0x2f6 sys/kern/kern_physio.c:162 #7 spec_write+0x120 sys/kern/spec_vnops.c:302 #8 VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 #9 vn_write+0x1d1 sys/kern/vfs_vnops.c:408 #10 dofilewritev+0x23c sys/kern/sys_generic.c:380 #11 sys_write+0xa2 sys/kern/sys_generic.c:300 #12 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #12 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 lock order [2] inode (&ip->i_lock) -> [1] vmmaplk (&map->lock) #0 rw_enter_read+0xab sys/kern/kern_rwlock.c:112 #1 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1819 #2 uvm_fault_check+0x49 sys/uvm/uvm_fault.c:672 #3 uvm_fault+0xf5 sys/uvm/uvm_fault.c:600 #4 kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 #5 kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 #6 alltraps_kern_meltdown+0x7b #7 copyout+0x57 #8 ffs_read+0x422 sys/ufs/ffs/ffs_vnops.c:254 #9 VOP_READ+0x102 sys/kern/vfs_vops.c:227 #10 vn_rdwr+0x15b #11 vmcmd_map_readvn+0x142 sys/kern/exec_subr.c:249 #12 exec_process_vmcmds+0xfb sys/kern/exec_subr.c:139 #13 sys_execve+0xbe4 sys/kern/kern_exec.c:468 #14 start_init+0x3c6 sys/kern/init_main.c:714 #15 proc_trampoline+0x10 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(fffffd806bcb5b40,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806bcb5b30,1) at rw_enter+0x122 rrw_enter(fffffd806bcb5b30,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8062c158b8,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8062c158b8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(1,fffffd8062c158b8,ffff800011a26500,61,0,1,41b4ec4c8d70a476,0,ffff800000b3e000,1) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd805ffe88c8) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff8210a140,2902,0,ffffffff81005cc0,ffff8000371d86a8) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_write(ffff8000371d8500) at spec_write+0x120 sys/kern/spec_vnops.c:302 VOP_WRITE(fffffd806e717d08,ffff8000371d86a8,1,fffffd807f7d3618) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8063f1e0a0,ffff8000371d86a8,0) at vn_write+0x1d1 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000ffff11e0,6,ffff8000371d86a8,0,ffff8000371d8760) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_write(ffff8000ffff11e0,ffff8000371d8810,ffff8000371d8760) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff8000371d8810) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371d8810) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x47ef377e240, count: -16 ddb{1}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff8000371d7fc0 rbx 0xfffffd80042c6c68 rdx 0xffff800001290c40 rcx 0xffff8000ffff11e0 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff8000371d7ea0 r9 0x8080808080808080 r10 0xeb968699cc9012d0 r11 0xde964181bbafe9ee r12 0 r13 0xfffffd8003adee00 r14 0x3 r15 0xffffffff rip 0xffffffff81ac00e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371d7fb0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=392724 pid=13442 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff1978,0xffff8000ffff0a58 process=0xffff8000ffff71f0 user=0xffff8000371d3000, vmspace=0xfffffd806bf771e0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 96657 250262 72419 0 2 0 syz-executor 96657 284048 72419 0 3 0x4000080 fsleep syz-executor 88651 216948 27175 0 7 0 syz-executor 88651 384606 27175 0 3 0x4000000 biowait syz-executor 88651 113235 27175 0 3 0x4000080 fsleep syz-executor 13442 515127 54521 0 2 0 syz-executor 13442 439084 54521 0 3 0x4000080 lockf syz-executor *13442 392724 54521 0 7 0x4000000 syz-executor 78400 355388 42046 0 2 0 syz-executor 78400 61834 42046 0 3 0x4000080 fsleep syz-executor 15828 279584 34459 0 3 0x80 nanoslp syz-executor 15828 47224 34459 0 3 0x4000080 fsleep syz-executor 15828 488218 34459 0 3 0x4000080 sbwait syz-executor 15828 133847 34459 0 3 0x4000080 fsleep syz-executor 86728 409667 36204 0 3 0x80 nanoslp syz-executor 86728 425449 36204 0 3 0x4000080 kqread syz-executor 86728 235060 36204 0 3 0x4000080 fsleep syz-executor 87981 242048 63544 0 3 0x80 nanoslp syz-executor 87981 444483 63544 0 3 0x4000080 kqsel syz-executor 87981 8525 63544 0 3 0x4000080 kqsel syz-executor 87981 52907 63544 0 3 0x4000080 fsleep syz-executor 27175 338388 43544 0 3 0x82 nanoslp syz-executor 79341 406011 0 0 3 0x14200 bored sosplice 59976 60387 0 0 3 0x14200 acct acct 72419 396340 43544 0 3 0x82 nanoslp syz-executor 36204 263201 43544 0 3 0x82 nanoslp syz-executor 86472 329928 43544 0 3 0x82 nanoslp syz-executor 42046 258064 43544 0 3 0x82 nanoslp syz-executor 63544 334807 43544 0 3 0x82 nanoslp syz-executor 34459 401755 43544 0 3 0x82 nanoslp syz-executor 54521 486661 43544 0 3 0x82 nanoslp syz-executor 43544 487150 43605 0 3 0x82 kqread syz-executor 43605 52429 15737 0 3 0x10008a sigsusp ksh 15737 310359 20678 0 3 0x98 kqread sshd-session 20678 341236 38373 0 3 0x92 kqread sshd-session 59036 58147 1 0 3 0x100083 ttyin getty 38373 86141 1 0 3 0x88 kqread sshd 88690 305236 9184 74 3 0x1100092 bpf pflogd 9184 343549 1 0 3 0x80 sbwait pflogd 96655 49469 93943 73 3 0x1100090 kqread syslogd 93943 327355 1 0 3 0x100082 sbwait syslogd 10951 236038 1 0 3 0x100080 kqread resolvd 90040 260173 66943 77 3 0x100092 kqread dhcpleased 61608 170733 66943 77 3 0x100092 kqread dhcpleased 66943 295974 1 0 3 0x80 kqread dhcpleased 1771 30201 0 0 3 0x14200 bored smr 44107 154755 0 0 3 0x14200 pgzero zerothread 82958 297725 0 0 3 0x14200 aiodoned aiodoned 78439 383544 0 0 3 0x14200 syncer update 51442 415169 0 0 3 0x14200 cleaner cleaner 617 177728 0 0 3 0x14200 reaper reaper 59442 460954 0 0 3 0x14200 pgdaemon pagedaemon 92581 122051 0 0 3 0x14200 bored viomb 48781 520594 0 0 3 0x40014200 acpi0 acpi0 77145 309328 0 0 3 0x40014200 idle1 80548 249983 0 0 3 0x14200 bored softnet3 50627 19114 0 0 3 0x14200 bored softnet2 47812 506012 0 0 3 0x14200 bored softnet1 5169 114503 0 0 3 0x14200 bored softnet0 26996 334203 0 0 3 0x14200 bored systqmp 87115 188772 0 0 3 0x14200 bored systq 58225 34829 0 0 3 0x14200 tmoslp softclockmp 41451 426954 0 0 3 0x40014200 tmoslp softclock 68559 370236 0 0 3 0x40014200 idle0 1 410610 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 88651 (syz-executor) thread 0xffff8000ffff1978 (384606) exclusive rrwlock inode r = 0 (0xfffffd806bcb50a0) #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_makeinode+0xcb sys/ufs/ufs/ufs_vnops.c:1732 #8 ufs_mknod+0x5b sys/ufs/ufs/ufs_vnops.c:167 #9 VOP_MKNOD+0x102 sys/kern/vfs_vops.c:121 #10 domknodat+0x47e sys/kern/vfs_syscalls.c:1624 #11 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #11 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806bcb5d60) #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 domknodat+0xb4 sys/kern/vfs_syscalls.c:1576 #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 Process 13442 (syz-executor) thread 0xffff8000ffff11e0 (392724) shared rwlock vmmaplk r = 0 (0xfffffd806bf772d8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvm_vslock_device+0x149 sys/uvm/uvm_glue.c:172 #2 physio+0x277 sys/kern/kern_physio.c:139 #3 spec_write+0x120 sys/kern/spec_vnops.c:302 #4 VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 #5 vn_write+0x1d1 sys/kern/vfs_vnops.c:408 #6 dofilewritev+0x23c sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 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 vn_write+0x4e sys/kern/vfs_vnops.c:393 #2 dofilewritev+0x23c sys/kern/sys_generic.c:380 #3 sys_write+0xa2 sys/kern/sys_generic.c:300 #4 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #4 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10197 11188K 11645K 166960K 11699 0 pcb 17 12K 12K 166960K 76 0 rtable 209 6K 6K 166960K 440 0 pf 34 17K 18K 166960K 57 0 ifaddr 40 6K 7K 166960K 57 0 ifgroup 55 2K 2K 166960K 73 0 counters 64 36K 36K 166960K 74 0 ioctlops 0 0K 4K 166960K 1570 0 iov 0 0K 24K 166960K 17 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1428 90K 90K 166960K 1692 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 18 0 dirhash 15 2K 2K 166960K 21 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 93K 166960K 497 0 sigio 0 0K 0K 166960K 4 0 proc 72 91K 128K 166960K 608 0 subproc 104 6K 6K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 36 0 in_multi 88 6K 7K 166960K 127 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 417 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 261 73K 91K 166960K 6241 0 UVM aobj 17 6K 6K 166960K 20 0 pinsyscall 43 86K 103K 166960K 1602 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 12 0K 2K 166960K 37 0 temp 50 6821K 6889K 166960K 17686 0 kqueue 15 24K 28K 166960K 72 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 57 0 54 1 0 1 1 0 8 0 rtentry 112 141 0 45 4 0 4 4 0 8 0 unpcb 144 268 0 249 4 0 4 4 0 8 3 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 808 86 0 80 1 0 1 1 0 8 0 arp 120 22 0 4 1 0 1 1 0 8 0 inpcb 336 384 0 371 4 0 4 4 0 8 2 nd6 136 31 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1168 3 0 3 1 0 1 1 0 8 1 pffrag 232 3 0 1 1 0 1 1 0 482 0 pffrnode 88 3 0 1 1 0 1 1 0 8 0 pffrent 40 5 0 3 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 46 0 0 1 0 1 1 0 8 0 pfstkey 128 46 0 0 2 0 2 2 0 8 0 pfstate 376 46 0 0 5 0 5 5 0 8 0 pfrule 1344 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 576 0 169 29 0 29 29 0 8 3 art_table 32 578 0 169 4 0 4 4 0 8 0 art_node 16 138 0 50 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 17 0 3 1 0 1 1 0 8 0 dirhash 1024 23 0 4 3 0 3 3 0 8 0 dino2pl 256 2224 0 716 95 0 95 95 0 8 0 ffsino 272 2224 0 716 101 0 101 101 0 8 0 nchpl 144 2915 0 1224 63 0 63 63 0 8 0 uvmvnodes 80 2534 0 0 52 0 52 52 0 8 0 vnodes 216 2534 0 0 141 0 141 141 0 8 0 namei 1024 9101 0 9100 2 0 2 2 0 8 1 percpumem 16 51 0 5 1 0 1 1 0 8 0 kstatmem 264 34 0 10 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 8989 0 8988 9 1 8 8 1 8 7 plimitpl 152 143 0 125 1 0 1 1 0 8 0 sigapl 424 797 0 745 7 0 7 7 0 8 1 futexpl 64 5182 0 5175 1 0 1 1 0 8 0 knotepl 120 313 0 0 10 0 10 10 0 8 0 kqueuepl 216 140 0 126 3 0 3 3 0 8 1 pipepl 320 149 0 122 3 0 3 3 0 8 0 fdescpl 496 777 0 745 5 0 5 5 0 8 0 filepl 152 3779 0 3519 16 0 16 16 0 8 5 lockfpl 104 174 0 169 1 0 1 1 0 8 0 lockfspl 48 49 0 45 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 41 0 24 1 0 1 1 0 8 0 ucredpl 104 360 0 346 1 0 1 1 0 8 0 zombiepl 144 746 0 745 1 0 1 1 0 8 0 processpl 1160 797 0 745 5 0 5 5 0 8 1 procpl 648 1386 0 1320 6 0 6 6 0 8 0 srpgc 96 4 0 4 1 0 1 1 0 8 1 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 664 718 0 683 9 0 9 9 0 8 5 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 133 0 0 17 0 17 17 0 8 0 mcl2k 2048 29 0 0 4 0 4 4 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 161 0 0 11 0 11 11 0 8 0 bufpl 280 3019 0 95 209 0 209 209 0 8 0 anonpl 24 189451 0 185427 48 2 46 46 0 185 16 amapchunkpl 152 20537 0 19953 30 0 30 30 0 158 7 amappl16 200 5151 0 5105 14 4 10 14 0 8 6 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 127 0 114 1 0 1 1 0 8 0 amappl13 176 10 0 10 1 1 0 1 0 8 0 amappl12 168 1438 0 1406 3 1 2 2 0 8 0 amappl11 160 70 0 56 1 0 1 1 0 8 0 amappl10 152 33 0 33 1 1 0 1 0 8 0 amappl9 144 181 0 181 1 1 0 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 115 0 103 1 0 1 1 0 8 0 amappl6 120 177 0 176 1 0 1 1 0 8 0 amappl5 112 145 0 133 1 0 1 1 0 8 0 amappl4 104 313 0 293 1 0 1 1 0 8 0 amappl3 96 3603 0 3491 3 0 3 3 0 8 0 amappl2 88 1060 0 976 3 0 3 3 0 8 1 amappl1 80 9119 0 8550 14 0 14 14 0 8 0 amappl 88 5839 0 5640 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 19 0 3 1 0 1 1 0 8 0 uaddrrnd 24 777 0 745 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 777 0 745 1 0 1 1 0 8 0 vmmpekpl 168 7681 0 7633 3 0 3 3 0 8 0 vmmpepl 168 56582 0 54614 93 0 93 93 0 357 6 vmsppl 448 776 0 745 6 1 5 5 0 8 1 rwobjpl 56 22371 0 18837 50 0 50 50 0 8 0 pdppl 4096 1561 0 1490 105 32 73 85 0 8 2 pvpl 32 13295 0 0 109 1 108 108 0 265 0 pmappl 248 776 0 745 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 388 0 35 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(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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:584 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:153 __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 intr_handler(ffff8000371b9ec0,ffff800000069c00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_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(ffff8000371ba020,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(ffff8000371ba180,ffff800000079f80) 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: 0x7df47ce89010, 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(fffffd806bcb5b40,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806bcb5b30,1) at rw_enter+0x122 rrw_enter(fffffd806bcb5b30,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8062c158b8,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8062c158b8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(1,fffffd8062c158b8,ffff800011a26500,61,0,1,41b4ec4c8d70a476,0,ffff800000b3e000,1) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd805ffe88c8) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff8210a140,2902,0,ffffffff81005cc0,ffff8000371d86a8) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_write(ffff8000371d8500) at spec_write+0x120 sys/kern/spec_vnops.c:302 VOP_WRITE(fffffd806e717d08,ffff8000371d86a8,1,fffffd807f7d3618) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8063f1e0a0,ffff8000371d86a8,0) at vn_write+0x1d1 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000ffff11e0,6,ffff8000371d86a8,0,ffff8000371d8760) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_write(ffff8000ffff11e0,ffff8000371d8810,ffff8000371d8760) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff8000371d8810) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371d8810) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x47ef377e240, count: -16