witness: lock order reversal: 1st 0xfffffd806be60d60 vmmaplk (&map->lock) 2nd 0xfffffd806bfa8b40 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_read+0x155 sys/kern/spec_vnops.c:215 #8 VOP_READ+0x102 sys/kern/vfs_vops.c:227 #9 vn_read+0x17b sys/kern/vfs_vnops.c:369 #10 dofilereadv+0x230 sys/kern/sys_generic.c:252 #11 sys_readv+0xd8 sys/kern/sys_generic.c:199 #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(fffffd806bfa8b40,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806bfa8b30,1) at rw_enter+0x122 rrw_enter(fffffd806bfa8b30,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806bec3a48,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806bec3a48,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd806bec3a48,ffff800011a37080,1f,0,1,4792154a3419b361,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd80647688f0) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff82de62d0,2902,8000,ffffffff829b5b40,ffff8000371ebb30) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000371eb920) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806e4f5de0,ffff8000371ebb30,0,fffffd807f7d3750) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd806b562738,ffff8000371ebb30,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000ffffc520,3,ffff8000371ebb30,0,ffff8000371ebbf0) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff8000ffffc520,ffff8000371ebca0,ffff8000371ebbf0) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000371ebca0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371ebca0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9ef662dc0f0, count: -16 ddb{1}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff8000371eb3e0 rbx 0xfffffd80042c6f98 rdx 0xffff8000012a04c0 rcx 0xffff8000ffffc520 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff8000371eb2c0 r9 0x8080808080808080 r10 0xdc80dfe92315fd72 r11 0x7e6f2653bb01f969 r12 0 r13 0xfffffd8003adee00 r14 0x3 r15 0xffffffff rip 0xffffffff82500785 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371eb3d0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=219096 pid=43127 tcnt=2 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=0xffff8000ffffca30,0xffff8000ffffd1d8 process=0xffff8000371c56c8 user=0xffff8000371e6000, vmspace=0xfffffd806be60c68 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 50252 411589 31357 0 2 0 syz-executor 81209 93444 83876 0 2 0 syz-executor 28700 483028 38620 0 7 0 syz-executor 28700 268936 38620 0 2 0x4000000 syz-executor 28700 155692 38620 0 3 0x4000080 fsleep syz-executor 28700 409256 38620 0 2 0x4000000 syz-executor 20658 154771 11221 0 2 0x3000 syz-executor 43127 469991 89562 0 2 0 syz-executor *43127 219096 89562 0 7 0x4000000 syz-executor 13130 221197 44699 0 3 0x80 nanoslp syz-executor 13130 283748 44699 0 3 0x4000080 kqread syz-executor 13130 53469 44699 0 3 0x4000080 fsleep syz-executor 29005 243055 55665 0 3 0 vmmaplk syz-executor 29005 428359 55665 0 3 0x4000000 physio syz-executor 81185 176549 93434 0 2 0 syz-executor 81185 292683 93434 0 3 0x4000080 fsleep syz-executor 81185 185752 93434 0 3 0x4000080 fsleep syz-executor 56529 28292 0 0 3 0x14200 acct acct 68105 102926 1 0 3 0x100083 ttyin getty 95809 379050 0 0 3 0x14200 bored sosplice 89562 518325 51929 0 3 0x82 nanoslp syz-executor 83876 347825 51929 0 3 0x82 nanoslp syz-executor 38620 469116 51929 0 3 0x82 nanoslp syz-executor 11221 180458 51929 0 3 0x82 nanoslp syz-executor 44699 521320 51929 0 3 0x82 nanoslp syz-executor 93434 403394 51929 0 3 0x82 nanoslp syz-executor 55665 316001 51929 0 3 0x82 nanoslp syz-executor 31357 289997 51929 0 3 0x82 nanoslp syz-executor 51929 514034 93448 0 3 0x82 kqread syz-executor 93448 253230 60314 0 3 0x10008a sigsusp ksh 60314 79825 84502 0 3 0x98 kqread sshd-session 84502 151246 3899 0 3 0x92 kqread sshd-session 3899 355228 1 0 3 0x88 kqread sshd 63090 197342 79018 74 3 0x1100092 bpf pflogd 79018 323175 1 0 3 0x80 sbwait pflogd 18722 100329 34883 73 3 0x1100090 kqread syslogd 34883 332501 1 0 3 0x100082 sbwait syslogd 144 435167 1 0 3 0x100080 kqread resolvd 96310 325669 25801 77 3 0x100092 kqread dhcpleased 88171 245025 25801 77 3 0x100092 kqread dhcpleased 25801 212851 1 0 3 0x80 kqread dhcpleased 71023 93026 0 0 3 0x14200 bored smr 42208 518561 0 0 2 0x14200 zerothread 17830 171998 0 0 3 0x14200 aiodoned aiodoned 83998 238690 0 0 3 0x14200 syncer update 51313 51177 0 0 3 0x14200 cleaner cleaner 45634 135288 0 0 3 0x14200 reaper reaper 63007 264269 0 0 3 0x14200 pgdaemon pagedaemon 606 255315 0 0 3 0x14200 bored viomb 39546 446803 0 0 3 0x40014200 acpi0 acpi0 81182 256664 0 0 3 0x40014200 idle1 73688 48298 0 0 3 0x14200 bored softnet3 97124 424988 0 0 3 0x14200 bored softnet2 76889 245312 0 0 3 0x14200 bored softnet1 44003 333793 0 0 3 0x14200 bored softnet0 36900 103698 0 0 3 0x14200 bored systqmp 73814 519582 0 0 3 0x14200 bored systq 60104 465232 0 0 3 0x14200 tmoslp softclockmp 4056 351256 0 0 3 0x40014200 tmoslp softclock 7395 503208 0 0 3 0x40014200 idle0 1 372832 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 43127 (syz-executor) thread 0xffff8000ffffc520 (219096) shared rwlock vmmaplk r = 0 (0xfffffd806be60d60) #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_read+0x155 sys/kern/spec_vnops.c:215 #4 VOP_READ+0x102 sys/kern/vfs_vops.c:227 #5 vn_read+0x17b sys/kern/vfs_vnops.c:369 #6 dofilereadv+0x230 sys/kern/sys_generic.c:252 #7 sys_readv+0xd8 sys/kern/sys_generic.c:199 #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 (0xffffffff835b1330) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 vn_read+0x56 sys/kern/vfs_vnops.c:351 #2 dofilereadv+0x230 sys/kern/sys_generic.c:252 #3 sys_readv+0xd8 sys/kern/sys_generic.c:199 #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 Process 29005 (syz-executor) thread 0xffff8000371c22b0 (428359) shared rwlock vmmaplk r = 0 (0xfffffd806be602e0) #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_read+0x155 sys/kern/spec_vnops.c:215 #4 VOP_READ+0x102 sys/kern/vfs_vops.c:227 #5 vn_read+0x17b sys/kern/vfs_vnops.c:369 #6 dofilereadv+0x230 sys/kern/sys_generic.c:252 #7 sys_pread+0xae sys/kern/vfs_syscalls.c:3293 #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10230 11266K 11462K 166960K 11990 0 pcb 17 13K 13K 166960K 150 0 rtable 197 6K 7K 166960K 477 0 pf 34 17K 18K 166960K 65 0 ifaddr 38 6K 7K 166960K 63 0 ifgroup 55 2K 2K 166960K 81 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 82 0 ioctlops 0 0K 4K 166960K 1526 0 iov 0 0K 16K 166960K 25 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1362 86K 86K 166960K 1810 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 19 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 93K 166960K 737 0 sigio 0 0K 0K 166960K 42 0 proc 72 91K 128K 166960K 604 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 67 0 in_multi 77 5K 7K 166960K 128 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 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 406 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 231 72K 86K 166960K 8510 0 UVM aobj 24 2K 2K 166960K 26 0 pinsyscall 43 86K 104K 166960K 1815 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 38 0 NDP 12 0K 1K 166960K 42 0 temp 55 6818K 6885K 166960K 27838 0 kqueue 14 22K 28K 166960K 146 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 69 0 66 1 0 1 1 0 8 0 rtentry 112 127 0 40 4 0 4 4 0 8 0 unpcb 144 326 0 309 3 1 2 2 0 8 1 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpcb 808 217 0 213 8 7 1 8 0 8 0 arp 120 22 0 5 1 0 1 1 0 8 0 ipq 40 65 0 65 1 1 0 1 0 8 0 ipqe 40 195 0 195 1 1 0 1 0 8 0 inpcb 336 744 0 733 7 5 2 7 0 8 0 nd6 136 27 0 6 1 0 1 1 0 8 0 pkpcb 40 11 0 11 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1168 6 0 6 2 1 1 1 0 8 1 pffrag 232 4 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 2 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 8 1 0 1 1 0 8 0 pfstkey 128 60 0 8 2 0 2 2 0 8 0 pfstate 376 60 0 8 6 0 6 6 0 8 0 pfrule 1344 22 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 557 0 193 29 2 27 29 0 8 3 art_table 32 558 0 193 4 0 4 4 0 8 0 art_node 16 125 0 49 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 8 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 23 0 2 1 0 1 1 0 8 0 dirhash 1024 30 0 13 3 0 3 3 0 8 0 dino2pl 256 2699 0 1193 95 0 95 95 0 8 0 ffsino 272 2699 0 1193 101 0 101 101 0 8 0 nchpl 144 3743 0 2060 63 0 63 63 0 8 0 uvmvnodes 80 3019 0 0 62 0 62 62 0 8 0 vnodes 216 3019 0 0 168 0 168 168 0 8 0 namei 1024 12666 0 12666 2 1 1 2 0 8 1 percpumem 16 55 0 9 1 0 1 1 0 8 0 kstatmem 264 42 0 18 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 11091 0 11090 9 8 1 8 1 8 0 plimitpl 152 187 0 170 1 0 1 1 0 8 0 sigapl 424 1039 0 987 7 1 6 7 0 8 0 futexpl 64 9022 0 9018 1 0 1 1 0 8 0 knotepl 120 515 0 0 16 0 16 16 0 8 0 kqueuepl 216 292 0 281 5 4 1 5 0 8 0 pipepl 320 224 0 196 6 3 3 6 0 8 0 fdescpl 496 1019 0 987 5 0 5 5 0 8 0 filepl 152 6095 0 5842 17 4 13 15 0 8 1 lockfpl 104 257 0 254 2 0 2 2 0 8 1 lockfspl 48 77 0 74 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 36 0 19 1 0 1 1 0 8 0 ucredpl 104 1245 0 1231 1 0 1 1 0 8 0 zombiepl 144 988 0 987 1 0 1 1 0 8 0 processpl 1160 1039 0 987 5 1 4 5 0 8 0 procpl 648 2064 0 2003 6 0 6 6 0 8 0 srpgc 96 7 0 7 2 1 1 1 0 8 1 sosppl 168 3 0 3 1 1 0 1 0 8 0 sockpl 664 1164 0 1134 10 6 4 10 0 8 1 mcl64k 65536 65 0 0 9 0 9 9 0 8 1 mcl16k 16384 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 136 0 0 17 0 17 17 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 20 0 0 3 0 3 3 0 8 0 mtagpl 96 11 0 0 1 0 1 1 0 8 0 mbufpl 256 4945 0 0 310 0 310 310 0 8 0 bufpl 280 3472 0 99 241 0 241 241 0 8 0 anonpl 24 207671 0 204135 37 14 23 35 0 185 0 amapchunkpl 152 28114 0 27636 34 8 26 28 0 158 5 amappl16 200 5101 0 5067 5 2 3 5 0 8 0 amappl15 192 45 0 45 1 1 0 1 0 8 0 amappl14 184 117 0 105 1 0 1 1 0 8 0 amappl13 176 29 0 29 1 1 0 1 0 8 0 amappl12 168 1662 0 1632 4 1 3 3 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 18 0 18 1 1 0 1 0 8 0 amappl9 144 162 0 162 1 1 0 1 0 8 0 amappl8 136 49 0 46 1 0 1 1 0 8 0 amappl7 128 106 0 94 1 0 1 1 0 8 0 amappl6 120 165 0 164 1 0 1 1 0 8 0 amappl5 112 136 0 124 1 0 1 1 0 8 0 amappl4 104 321 0 302 1 0 1 1 0 8 0 amappl3 96 5041 0 4948 3 0 3 3 0 8 0 amappl2 88 1329 0 1244 3 1 2 3 0 8 0 amappl1 80 9493 0 8922 14 1 13 14 0 8 0 amappl 88 8077 0 7908 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 1 0 1 1 0 1 1 0 8 1 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 1 1 1 0 8 1 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 25 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1019 0 987 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1019 0 987 1 0 1 1 0 8 0 vmmpekpl 168 9848 0 9810 3 0 3 3 0 8 0 vmmpepl 168 69376 0 67465 90 5 85 89 0 357 0 vmsppl 448 1018 0 987 6 2 4 5 0 8 0 rwobjpl 56 24955 0 20978 57 0 57 57 0 8 0 pdppl 4096 2045 0 1974 111 40 71 85 0 8 0 pvpl 32 12539 0 0 102 1 101 101 0 265 0 pmappl 248 1018 0 987 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 715 0 63 20 0 20 20 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff834c1ff0) 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+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff835b1128) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835b1128) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 intr_handler(ffff80002a07bb60,ffff800000069c00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff835b1128) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835b1128) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a07bcc0,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff835b1128) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835b1128) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a07be20,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff835b1128) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835b1128) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x7c36972f52c0, 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(fffffd806bfa8b40,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806bfa8b30,1) at rw_enter+0x122 rrw_enter(fffffd806bfa8b30,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806bec3a48,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806bec3a48,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd806bec3a48,ffff800011a37080,1f,0,1,4792154a3419b361,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd80647688f0) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff82de62d0,2902,8000,ffffffff829b5b40,ffff8000371ebb30) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000371eb920) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806e4f5de0,ffff8000371ebb30,0,fffffd807f7d3750) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd806b562738,ffff8000371ebb30,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000ffffc520,3,ffff8000371ebb30,0,ffff8000371ebbf0) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff8000ffffc520,ffff8000371ebca0,ffff8000371ebbf0) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000371ebca0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371ebca0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9ef662dc0f0, count: -16