witness: lock order reversal: 1st 0xfffffd806cd97650 vmmaplk (&map->lock) 2nd 0xfffffd806dd2ea30 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(fffffd806dd2ea30,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806dd2ea20,1) at rw_enter+0x122 rrw_enter(fffffd806dd2ea20,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8074c62b00,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8074c62b00,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd8074c62b00,ffff800011a26080,1f,0,1,14c654770956269e,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd8067acfb08) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff815ff3a0,2902,8000,ffffffff8290c0d0,ffff80002a0fc750) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff80002a0fc540) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806e728de0,ffff80002a0fc750,0,fffffd807f7d35b0) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd8067962690,ffff80002a0fc750,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000371e7468,3,ffff80002a0fc750,0,ffff80002a0fc810) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff8000371e7468,ffff80002a0fc8c0,ffff80002a0fc810) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff80002a0fc8c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80002a0fc8c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x25bb96b5b0, count: -16 ddb{1}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff80002a0fc000 rbx 0xfffffd80042c6a48 rdx 0xffff800001308b00 rcx 0xffff8000371e7468 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff80002a0fbee0 r9 0x8080808080808080 r10 0x2cb3de69fd27f899 r11 0xd331c46e46eb650e r12 0 r13 0xfffffd8003adee00 r14 0x3 r15 0xffffffff rip 0xffffffff829b8bf5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a0fbff0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=344773 pid=37957 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000371e6538,0xffff8000ffff2540 process=0xffff8000371aed70 user=0xffff80002a0f7000, vmspace=0xfffffd806cd97558 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 77817 520378 88927 0 2 0 syz-executor 12053 348837 30121 0 7 0 syz-executor 12053 277613 30121 0 3 0x4000000 biowait syz-executor 29663 484768 64203 0 2 0 syz-executor 94633 336378 11808 0 2 0x10 syz-executor 94633 15236 11808 0 3 0x4000090 fsleep syz-executor 94633 258506 11808 0 3 0x4000090 fsleep syz-executor 94633 282198 11808 0 3 0x4000090 fsleep syz-executor 17929 470317 11 0 3 0x80 nanoslp syz-executor 17929 513945 11 0 3 0x4000000 smrbar syz-executor 17929 279198 11 0 3 0x4000080 fsleep syz-executor 12172 359371 54641 0 2 0 syz-executor 12172 416104 54641 0 3 0x4000080 fsleep syz-executor 12172 459253 54641 0 3 0x4000080 fsleep syz-executor 37957 457356 17594 0 2 0 syz-executor *37957 344773 17594 0 7 0x4000000 syz-executor 30121 453264 52234 0 3 0x82 nanoslp syz-executor 88154 9806 81055 0 3 0x80 nanoslp syz-executor 88154 121657 81055 0 3 0x4000080 kqread syz-executor 88154 284012 81055 0 3 0x4000080 fsleep syz-executor 34171 481660 0 0 3 0x14200 acct acct 88927 71512 52234 0 3 0x82 nanoslp syz-executor 17594 300668 52234 0 3 0x82 nanoslp syz-executor 73756 140612 1 0 3 0x100083 ttyin getty 60636 78882 0 0 3 0x14200 bored sosplice 11808 368023 52234 0 3 0x82 nanoslp syz-executor 54641 190757 52234 0 3 0x82 nanoslp syz-executor 81055 254021 52234 0 3 0x82 nanoslp syz-executor 64203 35498 52234 0 2 0x2 syz-executor 11 429861 52234 0 3 0x82 nanoslp syz-executor 52234 322716 23824 0 2 0x2 syz-executor 23824 136740 28708 0 3 0x10008a sigsusp ksh 28708 155510 39709 0 3 0x98 kqread sshd-session 39709 360177 72510 0 3 0x92 kqread sshd-session 72510 292086 1 0 3 0x88 kqread sshd 7484 337035 44087 74 3 0x1100092 bpf pflogd 44087 343872 1 0 3 0x80 sbwait pflogd 76748 264604 42412 73 3 0x1100090 kqread syslogd 42412 419552 1 0 3 0x100082 sbwait syslogd 99227 124892 1 0 3 0x100080 kqread resolvd 61777 92929 61083 77 3 0x100092 kqread dhcpleased 7860 171624 61083 77 3 0x100092 kqread dhcpleased 61083 382008 1 0 3 0x80 kqread dhcpleased 16499 82358 0 0 3 0x14200 bored smr 36821 141534 0 0 2 0x14200 zerothread 79754 149034 0 0 3 0x14200 aiodoned aiodoned 35917 27923 0 0 3 0x14200 syncer update 83604 286933 0 0 3 0x14200 cleaner cleaner 60924 452392 0 0 3 0x14200 reaper reaper 16189 99260 0 0 3 0x14200 pgdaemon pagedaemon 34458 1541 0 0 3 0x14200 bored viomb 5649 232850 0 0 3 0x40014200 acpi0 acpi0 19896 33426 0 0 3 0x40014200 idle1 87185 366114 0 0 3 0x14200 bored softnet3 9623 64280 0 0 3 0x14200 bored softnet2 20310 93040 0 0 3 0x14200 bored softnet1 9655 208235 0 0 3 0x14200 bored softnet0 75065 473922 0 0 3 0x14200 bored systqmp 95621 353939 0 0 3 0x14200 bored systq 35018 225989 0 0 3 0x14200 tmoslp softclockmp 6106 460420 0 0 3 0x40014200 tmoslp softclock 52061 150261 0 0 3 0x40014200 idle0 1 150038 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 12053 (syz-executor) thread 0xffff8000ffffc520 (277613) exclusive rrwlock inode r = 0 (0xfffffd806dec95e8) #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 sys_ftruncate+0x1c4 sys/kern/vfs_syscalls.c:2902 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 17929 (syz-executor) thread 0xffff8000371e6f58 (513945) exclusive rwlock clonelk r = 0 (0xffffffff834b28c0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 if_clone_destroy+0x67 #2 tun_dev_close+0x1ce sys/net/if_tun.c:520 #3 spec_close+0x412 #4 VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 #5 vn_close+0xa3 sys/kern/vfs_vnops.c:292 #6 sys_ktrace+0x14e sys/kern/kern_ktrace.c:552 #7 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #7 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 Process 37957 (syz-executor) thread 0xffff8000371e7468 (344773) shared rwlock vmmaplk r = 0 (0xfffffd806cd97650) #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 (0xffffffff8357fcc8) #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10216 11338K 11540K 166960K 12810 0 pcb 18 16K 18K 166960K 357 0 rtable 214 7K 8K 166960K 527 0 pf 41 19K 274K 166960K 99 0 ifaddr 42 7K 7K 166960K 79 0 ifgroup 59 2K 2K 166960K 121 0 sysctl 2 0K 0K 166960K 2 0 counters 66 36K 36K 166960K 98 0 ioctlops 0 0K 4K 166960K 1552 0 iov 0 0K 20K 166960K 99 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1509 95K 95K 166960K 2414 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 19 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 73 0 dirhash 12 2K 2K 166960K 42 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 89K 166960K 1090 0 sigio 1 0K 0K 166960K 17 0 proc 72 91K 128K 166960K 707 0 subproc 104 6K 6K 166960K 143 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 180 0 in_multi 92 7K 7K 166960K 169 0 ether_multi 1 0K 0K 166960K 5 0 mrt 2 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 629 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 245 73K 77K 166960K 11742 0 UVM aobj 16 2K 2K 166960K 17 0 pinsyscall 43 86K 104K 166960K 2286 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 85 0 NDP 15 0K 2K 166960K 53 0 temp 76 6828K 7084K 166960K 26150 0 kqueue 13 20K 30K 166960K 207 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 159 0 156 3 2 1 3 0 8 0 rtentry 112 161 0 64 4 0 4 4 0 8 0 unpcb 144 1028 0 1011 9 5 4 6 0 8 3 syncache 336 6 0 6 2 2 0 1 0 8 0 tcpcb 808 501 0 494 14 6 8 8 0 8 7 arp 120 26 0 9 1 0 1 1 0 8 0 inpcb 336 1792 0 1777 10 3 7 10 0 8 4 nd6 136 39 0 13 1 0 1 1 0 8 0 pkpcb 40 9 0 9 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1168 4 0 4 1 1 0 1 0 8 0 pfstscr 40 3 0 3 2 1 1 1 0 8 1 pffrag 232 7 0 0 1 0 1 1 0 482 0 pffrnode 88 7 0 0 1 0 1 1 0 8 0 pffrent 40 8 0 1 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 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 82 0 27 1 0 1 1 0 8 0 pfstkey 128 89 0 34 2 0 2 2 0 8 0 pfstate 376 85 0 31 6 0 6 6 0 8 0 pfrule 1344 25 0 18 2 0 2 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 652 0 260 30 2 28 30 0 8 1 art_table 32 655 0 260 4 0 4 4 0 8 0 art_node 16 159 0 71 1 0 1 1 0 8 0 sysvmsgpl 40 71 0 70 1 0 1 1 0 8 0 semapl 112 67 0 57 1 0 1 1 0 8 0 shmpl 112 14 0 1 1 0 1 1 0 8 0 dirhash 1024 38 0 21 3 0 3 3 0 8 0 dino2pl 256 3242 0 1734 95 0 95 95 0 8 0 ffsino 272 3242 0 1734 102 0 102 102 0 8 0 nchpl 144 4743 0 3049 64 0 64 64 0 8 0 uvmvnodes 80 4085 0 0 84 0 84 84 0 8 0 vnodes 216 4085 0 0 227 0 227 227 0 8 0 namei 1024 16851 0 16851 3 2 1 2 0 8 1 percpumem 16 63 0 16 1 0 1 1 0 8 0 kstatmem 264 58 0 32 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 6 0 6 2 1 1 1 0 8 1 scxspl 216 14079 0 14077 9 8 1 8 1 8 0 plimitpl 152 339 0 322 1 0 1 1 0 8 0 sigapl 424 1398 0 1346 7 1 6 7 0 8 0 futexpl 64 14426 0 14419 1 0 1 1 0 8 0 knotepl 120 592 0 0 18 0 18 18 0 8 0 kqueuepl 216 424 0 414 6 4 2 5 0 8 1 pipepl 320 198 0 171 3 0 3 3 0 8 0 fdescpl 496 1377 0 1345 5 0 5 5 0 8 0 filepl 152 9345 0 9084 23 6 17 18 0 8 3 lockfpl 104 485 0 482 2 0 2 2 0 8 1 lockfspl 48 213 0 210 1 0 1 1 0 8 0 sessionpl 144 29 0 20 1 0 1 1 0 8 0 pgrppl 48 113 0 96 1 0 1 1 0 8 0 ucredpl 104 1123 0 1107 1 0 1 1 0 8 0 zombiepl 144 1346 0 1346 1 0 1 1 0 8 1 processpl 1160 1398 0 1346 5 1 4 5 0 8 0 procpl 648 2961 0 2898 6 0 6 6 0 8 0 srpgc 96 6 0 6 1 1 0 1 0 8 0 sosppl 168 11 0 11 3 2 1 1 0 8 1 sockpl 664 2995 0 2959 27 13 14 20 0 8 9 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 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 145 0 0 19 0 19 19 0 8 0 mcl2k 2048 26 0 0 4 0 4 4 0 8 0 mtagpl 96 17 0 0 1 0 1 1 0 8 0 mbufpl 256 197 0 0 12 0 12 12 0 8 0 bufpl 280 4946 0 115 346 0 346 346 0 8 0 anonpl 24 233077 0 229414 70 22 48 50 0 185 14 amapchunkpl 152 37341 0 36815 30 6 24 25 0 158 3 amappl16 200 5872 0 5840 38 23 15 15 0 8 11 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 137 0 125 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 2078 0 2048 3 1 2 2 0 8 0 amappl11 160 57 0 43 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 150 0 149 1 0 1 1 0 8 0 amappl8 136 59 0 56 1 0 1 1 0 8 0 amappl7 128 118 0 106 1 0 1 1 0 8 0 amappl6 120 210 0 208 1 0 1 1 0 8 0 amappl5 112 148 0 136 1 0 1 1 0 8 0 amappl4 104 341 0 319 1 0 1 1 0 8 0 amappl3 96 7058 0 6958 4 0 4 4 0 8 0 amappl2 88 1700 0 1617 3 0 3 3 0 8 0 amappl1 80 11463 0 10900 15 1 14 14 0 8 0 amappl 88 11222 0 11041 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 16 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1378 0 1346 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1378 0 1346 1 0 1 1 0 8 0 vmmpekpl 168 12078 0 12038 3 0 3 3 0 8 0 vmmpepl 168 91712 0 89800 107 12 95 95 0 357 5 vmsppl 448 1377 0 1346 6 2 4 5 0 8 0 rwobjpl 56 31339 0 26288 74 0 74 74 0 8 1 pdppl 4096 2763 0 2692 109 36 73 83 0 8 2 pvpl 32 14998 0 0 121 0 121 121 0 265 0 pmappl 248 1377 0 1346 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 423 0 59 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(ffffffff83489ff0) 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(ffffffff8357fac0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8357fac0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000323989f0,ffff800000069c00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff8357fac0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8357fac0) at __mp_lock+0x199 sys/kern/kern_lock.c:144 intr_handler(ffff800032398b50,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff8357fac0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8357fac0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff800032398cb0,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: 0x7212a8a6fb40, 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(fffffd806dd2ea30,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806dd2ea20,1) at rw_enter+0x122 rrw_enter(fffffd806dd2ea20,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8074c62b00,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8074c62b00,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd8074c62b00,ffff800011a26080,1f,0,1,14c654770956269e,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd8067acfb08) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff815ff3a0,2902,8000,ffffffff8290c0d0,ffff80002a0fc750) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff80002a0fc540) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806e728de0,ffff80002a0fc750,0,fffffd807f7d35b0) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd8067962690,ffff80002a0fc750,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000371e7468,3,ffff80002a0fc750,0,ffff80002a0fc810) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff8000371e7468,ffff80002a0fc8c0,ffff80002a0fc810) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff80002a0fc8c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff80002a0fc8c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x25bb96b5b0, count: -16