witness: lock order reversal: 1st 0xfffffd806ce2a9d0 vmmaplk (&map->lock) 2nd 0xfffffd806ddbea30 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(fffffd806ddbea30,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806ddbea20,1) at rw_enter+0x122 rrw_enter(fffffd806ddbea20,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd807dce17f0,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd807dce17f0,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd807dce17f0,ffff800011a26140,3c,0,1,d8e8387ee9524c76,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd8071b62c38) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff82ad13c0,2902,8000,ffffffff82b37ee0,ffff8000372b0f90) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000372b0d80) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806e08deb8,ffff8000372b0f90,0,fffffd807f7d3270) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd8060106608,ffff8000372b0f90,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000ffff6cc8,3,ffff8000372b0f90,0,ffff8000372b1050) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff8000ffff6cc8,ffff8000372b1100,ffff8000372b1050) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000372b1100) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000372b1100) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf1cf2f3120, count: -16 ddb{1}> show registers rdi 0 rsi 0x40000 acpi_pdirpa+0x2be71 rbp 0xffff8000372b0840 rbx 0xfffffd80042cc9b0 rdx 0xffff8000012b7940 rcx 0xffff8000ffff6cc8 rax 0x3ffff acpi_pdirpa+0x2be70 r8 0xffff8000372b0720 r9 0x8080808080808080 r10 0x8730141b3c147a5d r11 0x7a9b9f859b70a74b r12 0 r13 0xfffffd8003ae3e00 r14 0x3 r15 0xffffffff rip 0xffffffff829b4485 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000372b0830 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=338759 pid=71286 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff6020,0xffff8000ffff62b8 process=0xffff80003725baf0 user=0xffff8000372ac000, vmspace=0xfffffd806ce2a8d8 estcpu=32, cpticks=0, pctcpu=0.1, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 98049 158390 96837 0 7 0 syz-executor 257 380110 3171 0 2 0 syz-executor 257 274763 3171 0 2 0x4000000 syz-executor 56065 156188 3245 0 2 0 syz-executor 56065 62631 3245 0 2 0x4000000 syz-executor 71286 169815 6086 0 2 0 syz-executor *71286 338759 6086 0 7 0x4000000 syz-executor 39153 513948 7419 0 2 0 syz-executor 39153 73628 7419 0 3 0x4000080 fsleep syz-executor 84577 65292 95017 0 3 0x80 nanoslp syz-executor 84577 421348 95017 0 3 0x4000080 ttyout syz-executor 84577 523063 95017 0 3 0x4000080 fsleep syz-executor 34863 243269 29494 0 3 0x80 nanoslp syz-executor 34863 145322 29494 0 3 0x4000080 sbwait syz-executor 34863 168956 29494 0 3 0x4000080 fsleep syz-executor 56170 259310 16143 0 3 0x80 nanoslp syz-executor 56170 75140 16143 0 3 0x4000080 sbwait syz-executor 56170 430919 16143 0 3 0x4000080 fsleep syz-executor 81801 402956 1 0 3 0x100083 ttyin getty 3171 410359 47064 0 3 0x82 nanoslp syz-executor 7419 283908 47064 0 3 0x82 nanoslp syz-executor 29494 50068 47064 0 3 0x82 nanoslp syz-executor 16143 119650 47064 0 3 0x82 nanoslp syz-executor 58213 317128 0 0 3 0x14280 nfsidl nfsio 83861 266089 0 0 3 0x14280 nfsidl nfsio 93007 288952 0 0 3 0x14280 nfsidl nfsio 64575 57999 0 0 3 0x14280 nfsidl nfsio 25497 78666 0 0 3 0x14280 nfsidl nfsio 9782 475529 0 0 3 0x14280 nfsidl nfsio 71379 135846 0 0 3 0x14280 nfsidl nfsio 19363 168913 0 0 3 0x14280 nfsidl nfsio 47885 202400 0 0 3 0x14280 nfsidl nfsio 37916 486377 0 0 3 0x14280 nfsidl nfsio 58841 106649 0 0 3 0x14280 nfsidl nfsio 54012 318695 0 0 3 0x14280 nfsidl nfsio 8797 53523 0 0 3 0x14280 nfsidl nfsio 75399 32503 0 0 3 0x14280 nfsidl nfsio 56694 135664 0 0 3 0x14280 nfsidl nfsio 67573 445057 0 0 3 0x14280 nfsidl nfsio 66045 481759 0 0 3 0x14280 nfsidl nfsio 36830 416785 0 0 3 0x14280 nfsidl nfsio 35281 85178 0 0 3 0x14280 nfsidl nfsio 9307 295087 0 0 3 0x14280 nfsidl nfsio 4344 113337 0 0 3 0x14200 bored sosplice 6086 460633 47064 0 3 0x82 nanoslp syz-executor 3245 286800 47064 0 3 0x82 nanoslp syz-executor 96837 483572 47064 0 3 0x82 nanoslp syz-executor 95017 40752 47064 0 3 0x82 nanoslp syz-executor 47064 409485 13149 0 3 0x82 kqread syz-executor 13149 71135 57468 0 3 0x10008a sigsusp ksh 57468 79136 64196 0 3 0x98 kqread sshd-session 64196 35983 90844 0 3 0x92 kqread sshd-session 90844 473303 1 0 3 0x88 kqread sshd 57271 336258 75922 74 3 0x1100092 bpf pflogd 75922 135055 1 0 3 0x80 sbwait pflogd 92196 470812 3551 73 3 0x1100010 ffs_fsync syslogd 3551 389111 1 0 3 0x100082 sbwait syslogd 14945 33293 1 0 3 0x100080 kqread resolvd 48935 183343 18226 77 3 0x100092 kqread dhcpleased 20534 397597 18226 77 3 0x100092 kqread dhcpleased 18226 492854 1 0 3 0x80 kqread dhcpleased 80144 15524 0 0 3 0x14200 bored smr 65313 140018 0 0 3 0x14200 pgzero zerothread 41013 147881 0 0 3 0x14200 aiodoned aiodoned 17051 387771 0 0 3 0x14200 syncer update 58534 181246 0 0 3 0x14200 cleaner cleaner 23766 19774 0 0 3 0x14200 reaper reaper 55158 335024 0 0 3 0x14200 pgdaemon pagedaemon 48408 39488 0 0 3 0x14200 bored viomb 22861 75776 0 0 3 0x40014200 acpi0 acpi0 13169 39138 0 0 3 0x40014200 idle1 4183 88632 0 0 3 0x14200 bored softnet3 98511 419638 0 0 3 0x14200 bored softnet2 29356 521598 0 0 3 0x14200 bored softnet1 33466 424974 0 0 3 0x14200 bored softnet0 36920 155385 0 0 3 0x14200 bored systqmp 3544 336120 0 0 3 0x14200 bored systq 45467 431584 0 0 3 0x14200 tmoslp softclockmp 70148 416999 0 0 3 0x40014200 tmoslp softclock 24846 333298 0 0 3 0x40014200 idle0 1 138905 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 71286 (syz-executor) thread 0xffff8000ffff6cc8 (338759) shared rwlock vmmaplk r = 0 (0xfffffd806ce2a9d0) #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 (0xffffffff835c11c0) #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 92196 (syslogd) thread 0xffff8000ffffdbe8 (470812) exclusive rrwlock inode r = 0 (0xfffffd806e44d5f0) #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_fsync+0x152 sys/kern/vfs_syscalls.c:2926 #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10241 11162K 11601K 166960K 13474 0 pcb 17 16K 17K 166960K 440 0 rtable 200 7K 9K 166960K 697 0 pf 32 17K 273K 166960K 104 0 ifaddr 38 6K 8K 166960K 95 0 ifgroup 51 2K 2K 166960K 138 0 sysctl 3 0K 0K 166960K 5 0 counters 62 36K 36K 166960K 112 0 ioctlops 0 0K 4K 166960K 1584 0 iov 1 12K 20K 166960K 106 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1486 93K 94K 166960K 2690 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 72 0 dirhash 12 2K 3K 166960K 36 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 89K 166960K 1676 0 sigio 0 0K 0K 166960K 47 0 proc 72 91K 140K 166960K 805 0 subproc 104 6K 6K 166960K 170 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 213 0 in_multi 78 5K 7K 166960K 236 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 627 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 241 73K 87K 166960K 17364 0 UVM aobj 44 4K 4K 166960K 47 0 pinsyscall 43 86K 104K 166960K 2933 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 115 0 NDP 11 0K 2K 166960K 65 0 temp 76 6828K 6934K 166960K 71815 0 kqueue 17 24K 32K 166960K 273 0 SYN cache 2 10K 18K 166960K 3 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 125 0 122 1 0 1 1 0 8 0 rtentry 112 200 0 112 4 0 4 4 0 8 0 unpcb 144 1271 0 1246 13 11 2 6 0 8 0 syncache 336 12 0 12 5 5 0 1 0 8 0 tcpqe 32 4 0 4 3 3 0 1 0 8 0 tcpcb 808 639 0 632 15 14 1 8 0 8 0 arp 120 37 0 19 1 0 1 1 0 8 0 inpcb 336 2336 0 2325 34 32 2 18 0 8 0 nd6 136 43 0 24 1 0 1 1 0 8 0 pkpcb 40 12 0 12 3 3 0 1 0 8 0 kcovpl 48 13 0 5 1 0 1 1 0 8 0 ppxss 1168 10 0 10 6 6 0 1 0 8 0 pffrag 232 12 0 4 1 0 1 1 0 482 0 pffrnode 88 10 0 4 1 0 1 1 0 8 0 pffrent 40 68 0 60 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 168 0 51 1 0 1 1 0 8 0 pfstkey 128 168 0 51 5 0 5 5 0 8 0 pfstate 376 168 0 51 13 0 13 13 0 8 0 pfrule 1344 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 768 0 389 31 4 27 30 0 8 0 art_table 32 771 0 389 4 0 4 4 0 8 0 art_node 16 196 0 121 1 0 1 1 0 8 0 sysvmsgpl 40 51 0 45 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 66 0 56 1 0 1 1 0 8 0 shmpl 112 44 0 3 2 0 2 2 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 4278 0 2771 95 0 95 95 0 8 0 ffsino 272 4278 0 2771 102 0 102 102 0 8 0 nchpl 144 6714 0 6168 63 39 24 63 0 8 0 uvmvnodes 80 5204 0 0 107 0 107 107 0 8 0 vnodes 216 5204 0 0 290 0 290 290 0 8 0 namei 1024 23233 0 23233 6 5 1 3 0 8 1 percpumem 16 70 0 25 1 0 1 1 0 8 0 kstatmem 264 72 0 50 2 0 2 2 0 8 0 scsiplug 72 6 0 6 4 4 0 1 0 8 0 scxspl 216 27966 0 27965 15 14 1 8 1 8 0 plimitpl 152 535 0 516 1 0 1 1 0 8 0 sigapl 424 2002 0 1931 11 2 9 9 0 8 0 futexpl 64 23383 0 23379 3 2 1 1 0 8 0 knotepl 120 576 0 0 18 0 18 18 0 8 0 kqueuepl 216 474 0 461 4 3 1 3 0 8 0 pipepl 320 378 0 351 6 3 3 6 0 8 0 fdescpl 496 1959 0 1927 5 0 5 5 0 8 0 filepl 152 13180 0 12916 28 16 12 18 0 8 0 lockfpl 104 580 0 577 1 0 1 1 0 8 0 lockfspl 48 234 0 231 1 0 1 1 0 8 0 sessionpl 144 37 0 28 1 0 1 1 0 8 0 pgrppl 48 80 0 63 1 0 1 1 0 8 0 ucredpl 104 2226 0 2211 1 0 1 1 0 8 0 zombiepl 144 2109 0 2109 3 2 1 1 0 8 1 processpl 1160 2002 0 1931 7 1 6 6 0 8 0 procpl 648 4511 0 4430 10 2 8 9 0 8 0 srpgc 96 18 0 18 3 3 0 1 0 8 0 sosppl 168 6 0 6 4 4 0 1 0 8 0 sockpl 664 3796 0 3758 45 41 4 20 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 125 0 0 16 0 16 16 0 8 0 mcl2k 2048 24 0 0 3 0 3 3 0 8 0 mtagpl 96 79 0 0 2 0 2 2 0 8 0 mbufpl 256 1190 0 0 74 0 74 74 0 8 0 bufpl 280 11017 0 4842 442 0 442 442 0 8 0 anonpl 24 299523 0 295202 151 106 45 80 0 185 0 amapchunkpl 152 57068 0 56533 59 32 27 35 0 158 0 amappl16 200 6513 0 6478 60 55 5 17 0 8 0 amappl15 192 42 0 42 1 1 0 1 0 8 0 amappl14 184 145 0 133 1 0 1 1 0 8 0 amappl13 176 16 0 15 2 1 1 1 0 8 0 amappl12 168 2700 0 2668 3 1 2 2 0 8 0 amappl11 160 101 0 87 1 0 1 1 0 8 0 amappl10 152 16 0 16 1 1 0 1 0 8 0 amappl9 144 192 0 192 1 1 0 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 128 0 115 1 0 1 1 0 8 0 amappl6 120 216 0 214 1 0 1 1 0 8 0 amappl5 112 163 0 150 1 0 1 1 0 8 0 amappl4 104 368 0 346 1 0 1 1 0 8 0 amappl3 96 10321 0 10223 4 1 3 4 0 8 0 amappl2 88 2341 0 2251 3 0 3 3 0 8 0 amappl1 80 14514 0 13954 17 3 14 15 0 8 0 amappl 88 16690 0 16511 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 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 46 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1959 0 1927 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1959 0 1927 1 0 1 1 0 8 0 vmmpekpl 168 17411 0 17375 3 0 3 3 0 8 0 vmmpepl 168 125992 0 124073 127 35 92 106 0 357 0 vmsppl 448 1958 0 1927 6 2 4 5 0 8 0 rwobjpl 56 40407 0 34214 95 5 90 91 0 8 0 pdppl 4096 3925 0 3854 129 58 71 83 0 8 0 pvpl 32 31654 0 0 255 0 255 255 0 265 0 pmappl 248 1958 0 1927 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 534 0 128 13 0 13 13 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff834d7ff0) 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(ffffffff835c0fb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835c0fb8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000371df230,ffff800000069c00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge16_untramp() at Xintr_ioapic_edge16_untramp+0x18f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:590 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:158 __mp_lock(ffffffff835c0fb8) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835c0fb8) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 intr_handler(ffff8000371df3a0,ffff800000079e00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge25_untramp() at Xintr_ioapic_edge25_untramp+0x18f __mp_lock(ffffffff835c0fb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835c0fb8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff8000371df500,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff835c0fb8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835c0fb8) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff8000371df6d0) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371df6d0) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bd973f36740, 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(fffffd806ddbea30,9,0) at witness_checkorder+0x1047 rw_enter(fffffd806ddbea20,1) at rw_enter+0x122 rrw_enter(fffffd806ddbea20,1) at rrw_enter+0xbe sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd807dce17f0,2001) at VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 vn_lock(fffffd807dce17f0,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:564 vn_rdwr(0,fffffd807dce17f0,ffff800011a26140,3c,0,1,d8e8387ee9524c76,0,ffff800000b3e000,0) at vn_rdwr+0xd1 sys/kern/vfs_vnops.c:320 vndstrategy(fffffd8071b62c38) at vndstrategy+0x4ff sys/dev/vnd.c:342 physio(ffffffff82ad13c0,2902,8000,ffffffff82b37ee0,ffff8000372b0f90) at physio+0x2f6 sys/kern/kern_physio.c:162 spec_read(ffff8000372b0d80) at spec_read+0x155 sys/kern/spec_vnops.c:215 VOP_READ(fffffd806e08deb8,ffff8000372b0f90,0,fffffd807f7d3270) at VOP_READ+0x102 sys/kern/vfs_vops.c:227 vn_read(fffffd8060106608,ffff8000372b0f90,0) at vn_read+0x17b sys/kern/vfs_vnops.c:369 dofilereadv(ffff8000ffff6cc8,3,ffff8000372b0f90,0,ffff8000372b1050) at dofilereadv+0x230 sys/kern/sys_generic.c:252 sys_readv(ffff8000ffff6cc8,ffff8000372b1100,ffff8000372b1050) at sys_readv+0xd8 sys/kern/sys_generic.c:199 syscall(ffff8000372b1100) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000372b1100) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf1cf2f3120, count: -16