witness: lock order reversal: 1st 0xfffffd806cdcbf10 vmmaplk (&map->lock) 2nd 0xfffffd806bf0d810 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(fffffd806bf0d810,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806bf0d800,1) at rw_enter+0x122 rrw_enter(fffffd806bf0d800,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806613a528,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806613a528,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd806613a528,ffff800011a26a40,a5,0,1,685b0d5e62320df8,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd807e1c18c0) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff8210a140,2902,8000,ffffffff81005cc0,ffff8000371ea950) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000371ea740) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806e649eb8,ffff8000371ea950,0,fffffd807f7d3750) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd8074c19d20,ffff8000371ea950,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff80002a054028,4,ffff8000371ea950,0,ffff8000371eaa10) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff80002a054028,ffff8000371eaac0,ffff8000371eaa10) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000371eaac0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371eaac0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3e601ab1750, count: -16 ddb{1}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff8000371ea200 rbx 0xfffffd80042c71b8 rdx 0xffff8000012bfa00 rcx 0xffff80002a054028 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff8000371ea0e0 r9 0x8080808080808080 r10 0x8ea064947ff5d2e3 r11 0xe49f8f66165e8667 r12 0 r13 0xfffffd8003adee00 r14 0x3 r15 0xffffffff rip 0xffffffff81ac00e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371ea1f0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=489346 pid=40041 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=78, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a054a48,0xffff80002a054f68 process=0xffff800033b8ed58 user=0xffff8000371e5000, vmspace=0xfffffd806cdcbe18 estcpu=28, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 99961 230946 43088 0 2 0 syz-executor 99961 27 43088 0 3 0x4000080 fsleep syz-executor 46176 373925 23352 0 2 0 syz-executor 46176 388014 23352 0 2 0x4000000 syz-executor 40041 460933 53317 0 2 0 syz-executor *40041 489346 53317 0 7 0x4000000 syz-executor 97644 259910 28496 0 2 0 syz-executor 97644 220603 28496 0 2 0x4000000 syz-executor 38519 63424 23043 0 2 0 syz-executor 38519 503022 23043 0 3 0x4000080 fsleep syz-executor 38519 250035 23043 0 3 0x4000080 fsleep syz-executor 8233 369816 49017 0 2 0 syz-executor 8233 16009 49017 0 2 0x4000000 syz-executor 3199 368876 33240 0 7 0x2 syz-executor 23043 154825 33240 0 2 0x2 syz-executor 13520 302841 1 0 3 0x100083 ttyin getty 53317 264975 33240 0 3 0x82 nanoslp syz-executor 18294 444128 0 0 3 0x14280 nfsidl nfsio 28956 373735 0 0 3 0x14280 nfsidl nfsio 3143 47664 0 0 3 0x14280 nfsidl nfsio 82709 220384 0 0 3 0x14280 nfsidl nfsio 36962 167077 0 0 3 0x14280 nfsidl nfsio 6441 137517 0 0 3 0x14280 nfsidl nfsio 44481 246201 0 0 3 0x14280 nfsidl nfsio 54281 345539 0 0 3 0x14280 nfsidl nfsio 86765 347240 0 0 3 0x14280 nfsidl nfsio 71668 142339 0 0 3 0x14280 nfsidl nfsio 98996 238144 0 0 3 0x14280 nfsidl nfsio 80187 392747 0 0 3 0x14280 nfsidl nfsio 58459 258139 0 0 3 0x14280 nfsidl nfsio 55989 224819 0 0 3 0x14280 nfsidl nfsio 10599 105959 0 0 3 0x14280 nfsidl nfsio 45034 328134 0 0 3 0x14280 nfsidl nfsio 74112 338204 0 0 3 0x14280 nfsidl nfsio 89182 483253 0 0 3 0x14280 nfsidl nfsio 58956 79197 0 0 3 0x14280 nfsidl nfsio 81725 282392 0 0 3 0x14280 nfsidl nfsio 40834 249984 0 0 3 0x14200 bored sosplice 43088 127325 33240 0 3 0x82 nanoslp syz-executor 23352 340435 33240 0 3 0x82 nanoslp syz-executor 49017 486576 33240 0 3 0x82 nanoslp syz-executor 28496 430527 33240 0 3 0x82 nanoslp syz-executor 48299 250652 33240 0 3 0x82 wait syz-executor 33240 51438 69990 0 3 0x82 kqread syz-executor 69990 241306 13961 0 3 0x10008a sigsusp ksh 13961 9492 65590 0 3 0x98 kqread sshd-session 65590 66318 39971 0 3 0x92 kqread sshd-session 39971 367791 1 0 3 0x88 kqread sshd 75635 185699 68828 74 3 0x1100092 bpf pflogd 68828 454338 1 0 3 0x80 sbwait pflogd 15928 390764 67309 73 3 0x1100090 kqread syslogd 67309 275524 1 0 3 0x100082 sbwait syslogd 45136 62492 1 0 3 0x100080 kqread resolvd 63868 189950 19537 77 3 0x100092 kqread dhcpleased 31300 180120 19537 77 3 0x100092 kqread dhcpleased 19537 98237 1 0 3 0x80 kqread dhcpleased 61161 313689 0 0 3 0x14200 bored smr 90612 188490 0 0 2 0x14200 zerothread 53896 52671 0 0 3 0x14200 aiodoned aiodoned 90447 278454 0 0 3 0x14200 syncer update 10167 134015 0 0 3 0x14200 cleaner cleaner 60203 73505 0 0 3 0x14200 reaper reaper 28779 294148 0 0 3 0x14200 pgdaemon pagedaemon 62756 154742 0 0 3 0x14200 bored viomb 83328 440689 0 0 3 0x40014200 acpi0 acpi0 73323 501547 0 0 3 0x40014200 idle1 74961 429653 0 0 3 0x14200 bored softnet3 45538 159040 0 0 3 0x14200 bored softnet2 40725 512105 0 0 3 0x14200 bored softnet1 52308 166300 0 0 3 0x14200 bored softnet0 37678 42435 0 0 3 0x14200 bored systqmp 46798 180500 0 0 3 0x14200 bored systq 93769 404725 0 0 3 0x14200 tmoslp softclockmp 32113 500822 0 0 3 0x40014200 tmoslp softclock 18505 108626 0 0 3 0x40014200 idle0 1 33783 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 40041 (syz-executor) thread 0xffff80002a054028 (489346) shared rwlock vmmaplk r = 0 (0xfffffd806cdcbf10) #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 (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_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 3199 (syz-executor) thread 0xffff80002a0511d0 (368876) exclusive rwlock vmmaplk r = 0 (0xfffffd806cdcb490) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5255 #2 uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3057 #3 sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 #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 10201 11122K 11574K 166960K 12041 0 pcb 17 16K 21K 166960K 300 0 rtable 226 8K 8K 166960K 505 0 pf 33 17K 21K 166960K 74 0 ifaddr 40 7K 8K 166960K 68 0 ifgroup 51 2K 2K 166960K 89 0 sysctl 3 0K 0K 166960K 3 0 counters 62 36K 36K 166960K 86 0 ioctlops 0 0K 4K 166960K 1603 0 iov 1 0K 16K 166960K 44 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1439 90K 90K 166960K 2044 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 23 0 dirhash 12 2K 3K 166960K 48 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 89K 166960K 781 0 sigio 0 0K 0K 166960K 11 0 proc 75 103K 140K 166960K 645 0 subproc 104 6K 7K 166960K 312 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 210 0 in_multi 85 6K 7K 166960K 129 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 133 599K 599K 166960K 133 0 exec 0 0K 1K 166960K 534 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 223 64K 81K 166960K 8445 0 UVM aobj 11 2K 2K 166960K 15 0 pinsyscall 42 84K 102K 166960K 1944 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 27 0 NDP 11 0K 2K 166960K 43 0 temp 61 6823K 6887K 166960K 32875 0 kqueue 13 20K 28K 166960K 114 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 74 0 71 1 0 1 1 0 8 0 rtentry 112 154 0 54 4 0 4 4 0 8 0 unpcb 144 802 0 654 15 9 6 6 0 8 0 syncache 336 8 0 8 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 130 0 125 2 1 1 2 0 8 0 arp 120 26 0 7 1 0 1 1 0 8 0 inpcb 336 830 0 820 21 16 5 16 0 8 4 nd6 136 34 0 9 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 2 0 1 0 8 0 kcovpl 48 24 0 16 1 0 1 1 0 8 0 ppxss 1168 6 0 6 2 2 0 1 0 8 0 pffrag 232 4 0 2 1 0 1 1 0 482 0 pffrnode 88 4 0 2 1 0 1 1 0 8 0 pffrent 40 51 0 49 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 pfanchor 1288 1 0 1 1 1 0 1 0 8 0 pfstitem 24 52 0 15 1 0 1 1 0 8 0 pfstkey 128 56 0 19 2 0 2 2 0 8 0 pfstate 376 53 0 17 4 0 4 4 0 8 0 pfrule 1344 24 0 17 2 0 2 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 629 0 204 30 3 27 29 0 8 0 art_table 32 632 0 204 4 0 4 4 0 8 0 art_node 16 151 0 64 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 3 1 0 1 1 0 8 0 semapl 112 19 0 9 1 0 1 1 0 8 0 shmpl 112 12 0 4 1 0 1 1 0 8 0 dirhash 1024 42 0 25 3 0 3 3 0 8 0 dino2pl 256 2614 0 1094 96 0 96 96 0 8 0 ffsino 272 2614 0 1094 102 0 102 102 0 8 0 nchpl 144 3606 0 1900 64 0 64 64 0 8 0 uvmvnodes 80 3224 0 0 66 0 66 66 0 8 0 vnodes 216 3224 0 0 180 0 180 180 0 8 0 namei 1024 12638 0 12638 2 1 1 1 0 8 1 percpumem 16 57 0 12 1 0 1 1 0 8 0 kstatmem 264 46 0 24 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 10952 0 10952 12 9 3 8 1 8 3 plimitpl 152 282 0 264 1 0 1 1 0 8 0 sigapl 424 1078 0 1008 10 1 9 9 0 8 1 futexpl 64 8998 0 8995 1 0 1 1 0 8 0 knotepl 120 594 0 0 18 0 18 18 0 8 0 kqueuepl 216 194 0 185 3 2 1 3 0 8 0 pipepl 320 260 0 233 3 0 3 3 0 8 0 fdescpl 496 1039 0 1008 5 0 5 5 0 8 1 filepl 152 6571 0 6192 28 13 15 20 0 8 0 lockfpl 104 545 0 543 4 3 1 4 0 8 0 lockfspl 48 95 0 93 1 0 1 1 0 8 0 sessionpl 144 43 0 34 1 0 1 1 0 8 0 pgrppl 48 72 0 55 1 0 1 1 0 8 0 ucredpl 104 710 0 695 1 0 1 1 0 8 0 zombiepl 144 1009 0 1008 1 0 1 1 0 8 0 processpl 1160 1078 0 1008 7 1 6 6 0 8 0 procpl 648 2051 0 1974 8 0 8 8 0 8 0 srpgc 96 4 0 4 1 1 0 1 0 8 0 sosppl 168 3 0 3 2 1 1 1 0 8 1 sockpl 664 1725 0 1565 45 31 14 23 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 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 136 0 0 17 0 17 17 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 27 0 0 4 0 4 4 0 8 0 mtagpl 96 12 0 0 1 0 1 1 0 8 0 mbufpl 256 320 0 0 19 0 19 19 0 8 0 bufpl 280 3523 0 112 244 0 244 244 0 8 0 anonpl 24 109982 0 106606 50 5 45 47 0 185 19 amapchunkpl 152 25532 0 25068 25 3 22 25 0 158 4 amappl16 200 1085 0 1061 19 11 8 15 0 8 6 amappl14 184 122 0 109 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 1 0 1 0 8 0 amappl12 168 1735 0 1704 3 1 2 2 0 8 0 amappl11 160 46 0 32 1 0 1 1 0 8 0 amappl10 152 2 0 2 2 1 1 1 0 8 1 amappl9 144 87 0 87 1 1 0 1 0 8 0 amappl8 136 37 0 33 1 0 1 1 0 8 0 amappl7 128 110 0 98 1 0 1 1 0 8 0 amappl6 120 213 0 211 1 0 1 1 0 8 0 amappl5 112 148 0 136 1 0 1 1 0 8 0 amappl4 104 337 0 316 1 0 1 1 0 8 0 amappl3 96 5307 0 5216 3 0 3 3 0 8 0 amappl2 88 1355 0 1271 3 0 3 3 0 8 0 amappl1 80 10795 0 10232 14 0 14 14 0 8 0 amappl 88 7955 0 7793 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 2 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 14 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1039 0 1008 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1039 0 1008 1 0 1 1 0 8 0 vmmpekpl 168 10633 0 10591 3 0 3 3 0 8 0 vmmpepl 168 68394 0 66553 100 7 93 95 0 357 10 vmsppl 448 1038 0 1008 6 2 4 5 0 8 0 rwobjpl 56 22537 0 18394 59 0 59 59 0 8 0 pdppl 4096 2085 0 2016 113 44 69 83 0 8 0 pvpl 32 14905 0 0 121 0 121 121 0 265 0 pmappl 248 1038 0 1008 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 428 0 73 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 __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(ffff800033f9bcc0,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(ffff800033f9be20,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 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 __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 uvm_map_splitentry(fffffd806cdcb398,fffffd805f675550,fffffd805f675be0,25c8e425000) at uvm_map_splitentry+0x365 sys/uvm/uvm_map.c:2595 uvm_map_protect(fffffd806cdcb398,25c8e425000,25c8e624000,1,0,0,6389bec90c400969) at uvm_map_protect+0x7e7 sys/uvm/uvm_map.c:3136 sys_mprotect(ffff80002a0511d0,ffff800033f9c300,ffff800033f9c250) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff800033f9c300) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff800033f9c300) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d6ca01c8e90, count: -19 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(fffffd806bf0d810,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806bf0d800,1) at rw_enter+0x122 rrw_enter(fffffd806bf0d800,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806613a528,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd806613a528,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd806613a528,ffff800011a26a40,a5,0,1,685b0d5e62320df8,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd807e1c18c0) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff8210a140,2902,8000,ffffffff81005cc0,ffff8000371ea950) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000371ea740) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806e649eb8,ffff8000371ea950,0,fffffd807f7d3750) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd8074c19d20,ffff8000371ea950,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff80002a054028,4,ffff8000371ea950,0,ffff8000371eaa10) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff80002a054028,ffff8000371eaac0,ffff8000371eaa10) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000371eaac0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371eaac0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3e601ab1750, count: -16