witness: lock order reversal: 1st 0xfffffd807b0df820 vmmaplk (&map->lock) 2nd 0xfffffd807ab78d60 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(fffffd807ab78d60,9,0) at witness_checkorder+0x1047 rw_enter(fffffd807ab78d50,1) at rw_enter+0x122 rrw_enter(fffffd807ab78d50,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8060485eb0,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8060485eb0,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd8060485eb0,ffff800011a26440,3f,0,1,c1ba1cc0c52264ab,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd807b143008) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff81c49cb0,2902,8000,ffffffff82774d40,ffff8000371fa450) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000371fa240) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806dd20de0,ffff8000371fa450,0,fffffd807f7d3548) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd806c013e40,ffff8000371fa450,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff80002a03f1d0,6,ffff8000371fa450,0,ffff8000371fa510) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff80002a03f1d0,ffff8000371fa5c0,ffff8000371fa510) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000371fa5c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371fa5c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe7a8b9b9090, count: -16 ddb{1}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff8000371f9d00 rbx 0xfffffd80042c2be0 rdx 0xffff800001308ec0 rcx 0xffff80002a03f1d0 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff8000371f9be0 r9 0x8080808080808080 r10 0x988a7393437e6316 r11 0x4c72977882256fae r12 0 r13 0xfffffd8003adae00 r14 0x3 r15 0xffffffff rip 0xffffffff81610e15 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371f9cf0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=290683 pid=29462 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000309822a8,0xffff800030984548 process=0xffff800029fe9b38 user=0xffff8000371f5000, vmspace=0xfffffd807b0df728 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 32910 320288 85071 0 7 0 syz-executor 32910 493700 85071 0 3 0x4000080 fsleep syz-executor 32910 212155 85071 0 3 0x4000000 biowait syz-executor 32910 394610 85071 0 3 0x4000000 inode syz-executor 81783 244943 28415 0 2 0 syz-executor 2808 23863 11790 0 2 0 syz-executor 2808 117171 11790 0 3 0x4000080 fifor syz-executor 49124 219924 94378 0 2 0 syz-executor 49124 192937 94378 0 3 0x4000080 fsleep syz-executor 3816 409560 8903 0 2 0 syz-executor 3816 249872 8903 0 3 0x4000080 fsleep syz-executor 83031 497488 36143 0 2 0 syz-executor 83031 323219 36143 0 3 0x4000080 fsleep syz-executor 83031 179655 36143 0 3 0x4000080 fsleep syz-executor 29462 367387 25018 0 2 0x10 syz-executor *29462 290683 25018 0 7 0x4000010 syz-executor 95299 323642 24024 0 3 0x80 nanoslp syz-executor 95299 450933 24024 0 3 0x4000080 kqread syz-executor 95299 177204 24024 0 3 0x4000080 fsleep syz-executor 25018 273319 40205 0 3 0x82 nanoslp syz-executor 24024 179233 40205 0 3 0x82 nanoslp syz-executor 11790 428298 40205 0 3 0x82 nanoslp syz-executor 56385 90046 1 0 3 0x100083 ttyopn getty 85071 304309 40205 0 3 0x82 nanoslp syz-executor 36143 2083 40205 0 3 0x82 nanoslp syz-executor 81416 282532 0 0 3 0x14200 bored sosplice 8903 288946 40205 0 3 0x82 nanoslp syz-executor 28415 6248 40205 0 3 0x82 nanoslp syz-executor 94378 490838 40205 0 3 0x82 nanoslp syz-executor 40205 403926 68146 0 3 0x82 kqread syz-executor 68146 102212 68197 0 3 0x10008a sigsusp ksh 68197 117939 60508 0 3 0x98 kqread sshd-session 60508 140094 26600 0 3 0x92 kqread sshd-session 26600 155213 1 0 3 0x88 kqread sshd 10915 87300 7234 74 3 0x1100092 bpf pflogd 7234 403717 1 0 3 0x80 sbwait pflogd 6082 9516 12670 73 3 0x1100090 kqread syslogd 12670 109632 1 0 3 0x100082 sbwait syslogd 86874 203747 1 0 3 0x100080 kqread resolvd 1757 476492 32661 77 3 0x100092 kqread dhcpleased 45842 271784 32661 77 3 0x100092 kqread dhcpleased 32661 424849 1 0 3 0x80 kqread dhcpleased 24462 241727 0 0 3 0x14200 bored smr 40456 314521 0 0 2 0x14200 zerothread 66885 390428 0 0 3 0x14200 aiodoned aiodoned 95838 490177 0 0 3 0x14200 syncer update 21100 417416 0 0 3 0x14200 cleaner cleaner 60267 108778 0 0 3 0x14200 reaper reaper 40020 148636 0 0 3 0x14200 pgdaemon pagedaemon 83606 467942 0 0 3 0x14200 bored viomb 34117 510120 0 0 3 0x40014200 acpi0 acpi0 82185 179890 0 0 3 0x40014200 idle1 2220 359055 0 0 3 0x14200 bored softnet3 60109 121961 0 0 3 0x14200 bored softnet2 26047 296833 0 0 3 0x14200 bored softnet1 68246 102392 0 0 3 0x14200 bored softnet0 78869 245033 0 0 3 0x14200 bored systqmp 49170 377210 0 0 3 0x14200 bored systq 37808 354185 0 0 3 0x14200 tmoslp softclockmp 66015 232986 0 0 3 0x40014200 tmoslp softclock 36235 211235 0 0 3 0x40014200 idle0 1 102233 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 32910 (syz-executor) thread 0xffff800030983970 (212155) exclusive rrwlock inode r = 0 (0xfffffd806cd481a8) #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 vn_write+0x18d sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x23c sys/kern/sys_generic.c:380 #7 sys_pwrite+0xae sys/kern/vfs_syscalls.c:3353 #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 Process 32910 (syz-executor) thread 0xffff800030982cc8 (394610) exclusive rrwlock inode r = 0 (0xfffffd806cd48f78) #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 vn_open+0x1f4 sys/kern/vfs_vnops.c:107 #8 doopenat+0x31d sys/kern/vfs_syscalls.c:1123 #9 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #9 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 Process 29462 (syz-executor) thread 0xffff80002a03f1d0 (290683) shared rwlock vmmaplk r = 0 (0xfffffd807b0df820) #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 (0xffffffff8359d538) #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 10235 11193K 11545K 166960K 14008 0 pcb 18 15K 16K 166960K 599 0 rtable 219 7K 7K 166960K 655 0 pf 45 19K 26K 166960K 119 0 ifaddr 46 8K 8K 166960K 98 0 ifgroup 66 2K 2K 166960K 137 0 sysctl 3 0K 0K 166960K 9 0 counters 70 37K 37K 166960K 112 0 ioctlops 0 0K 4K 166960K 1712 0 iov 0 0K 24K 166960K 102 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1494 94K 94K 166960K 3041 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 30 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 133 0 dirhash 12 2K 3K 166960K 33 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 85K 166960K 1765 0 sigio 0 0K 0K 166960K 34 0 proc 72 91K 140K 166960K 876 0 subproc 104 6K 6K 166960K 173 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 287 0 in_multi 95 7K 8K 166960K 204 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 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 758 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 247 73K 87K 166960K 18140 0 UVM aobj 124 7K 7K 166960K 131 0 pinsyscall 43 86K 102K 166960K 3028 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 72 0 NDP 15 0K 2K 166960K 68 0 temp 77 6828K 6900K 166960K 46612 0 kqueue 14 22K 30K 166960K 308 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 134 0 129 1 0 1 1 0 8 0 rtentry 112 213 0 114 4 0 4 4 0 8 0 unpcb 144 1555 0 1532 14 10 4 6 0 8 2 syncache 336 10 0 10 2 1 1 1 0 8 1 tcpqe 32 3 0 3 2 2 0 1 0 8 0 tcpcb 808 653 0 645 14 12 2 8 0 8 1 arp 120 36 0 19 1 0 1 1 0 8 0 inpcb 336 2415 0 2402 17 10 7 7 0 8 5 nd6 136 47 0 22 1 0 1 1 0 8 0 pkpcb 40 9 0 9 3 2 1 1 0 8 1 kcovpl 48 13 0 5 1 0 1 1 0 8 0 ppxss 1168 10 0 8 5 4 1 1 0 8 0 pffrag 232 13 0 5 1 0 1 1 0 482 0 pffrnode 88 13 0 5 1 0 1 1 0 8 0 pffrent 40 29 0 21 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 117 0 39 1 0 1 1 0 8 0 pfstkey 128 121 0 42 3 0 3 3 0 8 0 pfstate 376 116 0 40 8 0 8 8 0 8 0 pfrule 1344 24 0 17 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 865 0 424 36 7 29 31 0 8 0 art_table 32 867 0 424 4 0 4 4 0 8 0 art_node 16 207 0 121 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 19 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 130 0 120 1 0 1 1 0 8 0 shmpl 112 128 0 7 4 0 4 4 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 4455 0 2942 95 0 95 95 0 8 0 ffsino 272 4455 0 2942 103 1 102 102 0 8 0 nchpl 144 6919 0 5207 64 0 64 64 0 8 0 uvmvnodes 80 5732 0 0 117 0 117 117 0 8 0 vnodes 216 5732 0 0 319 0 319 319 0 8 0 namei 1024 27760 0 27759 2 1 1 1 0 8 0 percpumem 16 70 0 21 1 0 1 1 0 8 0 kstatmem 264 72 0 42 3 1 2 3 0 8 0 scsiplug 72 6 0 6 2 1 1 1 0 8 1 scxspl 216 21014 0 21013 14 12 2 7 1 8 1 plimitpl 152 543 0 526 1 0 1 1 0 8 0 sigapl 424 2074 0 2023 7 1 6 7 0 8 0 futexpl 64 25099 0 25093 1 0 1 1 0 8 0 knotepl 120 576 0 0 17 0 17 17 0 8 0 kqueuepl 216 642 0 631 9 8 1 5 0 8 0 pipepl 320 433 0 406 16 13 3 8 0 8 0 fdescpl 496 2051 0 2019 5 0 5 5 0 8 0 filepl 152 16180 0 15920 28 14 14 18 0 8 1 lockfpl 104 609 0 606 1 0 1 1 0 8 0 lockfspl 48 208 0 205 1 0 1 1 0 8 0 sessionpl 144 34 0 25 1 0 1 1 0 8 0 pgrppl 48 57 0 40 1 0 1 1 0 8 0 ucredpl 104 3798 0 3783 1 0 1 1 0 8 0 zombiepl 144 2023 0 2023 1 0 1 1 0 8 1 processpl 1160 2074 0 2023 4 0 4 4 0 8 0 procpl 648 4800 0 4738 6 0 6 6 0 8 0 srpgc 96 9 0 9 3 3 0 1 0 8 0 sosppl 168 15 0 15 2 1 1 1 0 8 1 sockpl 664 4302 0 4261 24 14 10 15 0 8 6 mcl64k 65536 4 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 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 166 0 0 21 0 21 21 0 8 0 mcl2k 2048 22 0 0 3 0 3 3 0 8 0 mtagpl 96 31 0 0 1 0 1 1 0 8 0 mbufpl 256 294 0 0 18 0 18 18 0 8 0 bufpl 280 5172 0 114 362 0 362 362 0 8 0 anonpl 24 325467 0 321690 68 20 48 54 0 185 14 amapchunkpl 152 59247 0 58712 43 17 26 29 0 158 4 amappl16 200 8062 0 8014 39 33 6 19 0 8 1 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 143 0 131 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 2790 0 2759 3 1 2 2 0 8 0 amappl11 160 65 0 50 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 144 0 143 1 0 1 1 0 8 0 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 127 0 115 1 0 1 1 0 8 0 amappl6 120 218 0 217 1 0 1 1 0 8 0 amappl5 112 160 0 148 1 0 1 1 0 8 0 amappl4 104 380 0 360 1 0 1 1 0 8 0 amappl3 96 10912 0 10805 3 0 3 3 0 8 0 amappl2 88 2401 0 2316 3 0 3 3 0 8 0 amappl1 80 14405 0 13834 16 2 14 14 0 8 0 amappl 88 17545 0 17361 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 2 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 255 0 255 3 2 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 130 0 7 3 0 3 3 0 8 0 uaddrrnd 24 2051 0 2019 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2051 0 2019 1 0 1 1 0 8 0 vmmpekpl 168 17614 0 17562 3 0 3 3 0 8 0 vmmpepl 168 134920 0 132975 105 11 94 98 0 357 0 vmsppl 448 2050 0 2019 6 2 4 5 0 8 0 rwobjpl 56 43138 0 36304 97 0 97 97 0 8 0 pdppl 4096 4109 0 4038 109 38 71 81 0 8 0 pvpl 32 15427 0 0 125 1 124 125 0 265 0 pmappl 248 2050 0 2019 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 444 0 80 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(ffffffff8349fff0) 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(ffffffff8359d330) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8359d330) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000371d82e0,ffff800000069c00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __mp_lock(ffffffff8359d330) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8359d330) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000371d8440,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff8359d330) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8359d330) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000371d85a0,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: 0x77a188cd4830, 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(fffffd807ab78d60,9,0) at witness_checkorder+0x1047 rw_enter(fffffd807ab78d50,1) at rw_enter+0x122 rrw_enter(fffffd807ab78d50,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd8060485eb0,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd8060485eb0,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd8060485eb0,ffff800011a26440,3f,0,1,c1ba1cc0c52264ab,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd807b143008) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff81c49cb0,2902,8000,ffffffff82774d40,ffff8000371fa450) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000371fa240) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806dd20de0,ffff8000371fa450,0,fffffd807f7d3548) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd806c013e40,ffff8000371fa450,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff80002a03f1d0,6,ffff8000371fa450,0,ffff8000371fa510) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff80002a03f1d0,ffff8000371fa5c0,ffff8000371fa510) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000371fa5c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371fa5c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe7a8b9b9090, count: -16