panic: mutex 0xfffffd8069f57678 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 397861 68171 32767 0x10 0x4000000 0K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd8069f57678) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8069f57590,fffffd8069f57678,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8069f57560,490ff51000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd8069f57560,490fd52000,490ff51000,1,0,0,48fbc977d3e2036f) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff8000371cf1e0,ffff8000371f1840,ffff8000371f1790) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff8000371f1840) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371f1840) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71d346fe70f0, count: 6 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: mutex 0xfffffd8069f57678 not held in mtx_leave ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd8069f57678) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8069f57590,fffffd8069f57678,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8069f57560,490ff51000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd8069f57560,490fd52000,490ff51000,1,0,0,48fbc977d3e2036f) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff8000371cf1e0,ffff8000371f1840,ffff8000371f1790) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff8000371f1840) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371f1840) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71d346fe70f0, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000371f1440 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff8000371cf1e0 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xad2f92fc6c3298d2 r11 0xf25983b580faf788 r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371f1430 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=346412 pid=68171 tcnt=3 stat=sleep flags process=10 proc=20 runpri=63, usrpri=63, slppri=4, nice=20 wchan=0xfffffd8069f57590, wmesg=vmmapbsy, ps_single=0x0 scnt=0 ecnt=0 forw=0x0, list=0xffff80003239ccc8,0xffff8000371cf700 process=0xffff8000371d16c8 user=0xffff8000371ec000, vmspace=0xfffffd8069f57560 estcpu=13, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 33612 119594 16547 32767 2 0x10 syz-executor 33612 251933 16547 32767 3 0x4000090 fsleep syz-executor 33612 24064 16547 32767 3 0x4000090 fsleep syz-executor 51333 199070 6292 32767 2 0x10 syz-executor 51333 191474 6292 32767 3 0x4000090 fsleep syz-executor 61688 387212 3231 32767 2 0x10 syz-executor 61688 505026 3231 32767 3 0x4000090 fsleep syz-executor 61688 375386 3231 32767 3 0x4000090 fsleep syz-executor *68171 346412 30350 32767 3 0x30 vmmapbsy syz-executor 68171 397861 30350 32767 7 0x4000010 syz-executor 68171 351891 30350 32767 3 0x4000090 fsleep syz-executor 24831 14141 32851 32767 2 0x10 syz-executor 24831 467243 32851 32767 3 0x4000090 fsleep syz-executor 30350 330965 43528 32767 3 0x90 nanoslp syz-executor 26659 113595 93643 32767 3 0x90 nanoslp syz-executor 6292 377762 3152 32767 2 0x490 syz-executor 3231 25428 51772 32767 2 0x490 syz-executor 6015 412379 46085 32767 2 0x10 syz-executor 16547 300751 72355 32767 3 0x90 nanoslp syz-executor 32851 80583 57287 32767 3 0x90 nanoslp syz-executor 99514 373898 87665 32767 2 0x10 syz-executor 43528 198785 27599 0 3 0x82 wait syz-executor 3152 225822 27599 0 3 0x82 wait syz-executor 93643 116785 27599 0 3 0x82 wait syz-executor 51772 190201 27599 0 3 0x82 wait syz-executor 46085 178458 27599 0 3 0x82 wait syz-executor 57287 105903 27599 0 3 0x82 wait syz-executor 72355 398491 27599 0 3 0x82 wait syz-executor 87665 231274 27599 0 3 0x82 wait syz-executor 27599 433263 38670 0 3 0x82 kqread syz-executor 38670 247842 55245 0 3 0x10008a sigsusp ksh 55245 375747 55234 0 3 0x98 kqread sshd-session 55234 355092 3962 0 3 0x92 kqread sshd-session 69305 140478 1 0 3 0x100083 ttyin getty 3962 37561 1 0 3 0x88 kqread sshd 13688 366024 84771 73 3 0x1100090 kqread syslogd 84771 469883 1 0 3 0x100082 sbwait syslogd 94821 10170 1 0 3 0x100080 kqread resolvd 52539 459654 31006 77 3 0x100092 kqread dhcpleased 60192 188251 31006 77 3 0x100092 kqread dhcpleased 31006 428657 1 0 3 0x80 kqread dhcpleased 592 318026 0 0 3 0x14200 bored smr 33313 334523 0 0 2 0x14200 zerothread 646 412333 0 0 3 0x14200 aiodoned aiodoned 87152 209034 0 0 3 0x14200 syncer update 45076 412958 0 0 3 0x14200 cleaner cleaner 68572 318334 0 0 3 0x14200 reaper reaper 78964 139449 0 0 3 0x14200 pgdaemon pagedaemon 45065 484827 0 0 3 0x14200 bored viomb 85337 122188 0 0 3 0x40014200 acpi0 acpi0 43284 430609 0 0 3 0x40014200 idle1 58235 460385 0 0 3 0x14200 bored softnet3 72251 340802 0 0 3 0x14200 bored softnet2 51937 283244 0 0 3 0x14200 bored softnet1 56243 441821 0 0 3 0x14200 bored softnet0 68352 25388 0 0 3 0x14200 bored systqmp 95322 85350 0 0 3 0x14200 bored systq 70360 67225 0 0 3 0x14200 tmoslp softclockmp 42150 104049 0 0 3 0x40014200 tmoslp softclock 28681 228471 0 0 3 0x40014200 idle0 1 183166 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &map->flags_lock r = 0 (0xfffffd8069f576b8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 vm_map_lock_ln+0x6b sys/uvm/uvm_map.c:5244 #4 uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 #5 sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 #6 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 68171 (syz-executor) thread 0xffff8000371cf6f0 (397861) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff835a2200) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #1 syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 Process 6015 (syz-executor) thread 0xffff8000ffff7458 (412379) exclusive rrwlock inode r = 0 (0xfffffd80671d8d60) #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 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:169 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c8220a8) #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 domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 99514 (syz-executor) thread 0xffff8000ffff6cc0 (373898) exclusive rrwlock inode r = 0 (0xfffffd80671d83d0) #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 vget+0x2bd sys/kern/vfs_subr.c:673 #6 ufs_ihashget+0x192 sys/ufs/ufs/ufs_ihash.c:98 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80671d81b0) #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 vget+0x2bd sys/kern/vfs_subr.c:673 #6 cache_lookup+0x36e sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10179 11046K 11059K 166960K 11257 0 pcb 17 12K 12K 166960K 17 0 rtable 234 6K 6K 166960K 347 0 pf 31 16K 16K 166960K 31 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 counters 64 36K 36K 166960K 64 0 ioctlops 0 0K 2K 166960K 30 0 iov 0 0K 2K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1364 86K 86K 166960K 1381 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 6 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 24 89K 125K 166960K 165 0 proc 58 79K 127K 166960K 473 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 1 0K 0K 166960K 1 0 in_multi 101 7K 7K 166960K 101 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 49 228K 228K 166960K 49 0 exec 0 0K 1K 166960K 334 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 250 74K 74K 166960K 2825 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 45 90K 112K 166960K 1153 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 5 0 NDP 27 2K 2K 166960K 27 0 temp 35 6810K 6874K 166960K 3679 0 kqueue 13 20K 22K 166960K 23 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 36 0 33 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 144 49 0 32 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 808 18 0 13 1 0 1 1 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 336 76 0 67 2 0 2 2 0 8 1 nd6 136 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 0 29 0 29 29 0 8 0 art_table 32 454 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 semapl 112 3 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1566 0 66 94 0 94 94 0 8 0 ffsino 272 1566 0 66 101 0 101 101 0 8 0 nchpl 144 1780 0 111 63 0 63 63 0 8 0 uvmvnodes 80 1679 0 0 35 0 35 35 0 8 0 vnodes 216 1679 0 0 94 0 94 94 0 8 0 namei 1024 5157 0 5156 2 0 2 2 0 8 1 percpumem 16 46 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 5171 0 5171 4 1 3 3 1 8 3 plimitpl 152 38 0 13 2 0 2 2 0 8 1 sigapl 424 436 0 382 8 0 8 8 0 8 0 futexpl 64 338 0 331 1 0 1 1 0 8 0 knotepl 120 51 0 0 2 0 2 2 0 8 0 kqueuepl 216 23 0 14 1 0 1 1 0 8 0 pipepl 320 100 0 73 3 0 3 3 0 8 0 fdescpl 496 418 0 382 7 1 6 6 0 8 0 filepl 152 1399 0 1158 10 0 10 10 0 8 0 lockfpl 104 10 0 8 1 0 1 1 0 8 0 lockfspl 48 6 0 4 1 0 1 1 0 8 0 sessionpl 144 22 0 6 1 0 1 1 0 8 0 pgrppl 48 31 0 7 1 0 1 1 0 8 0 ucredpl 104 102 0 83 1 0 1 1 0 8 0 zombiepl 144 383 0 382 1 0 1 1 0 8 0 processpl 1160 436 0 382 5 0 5 5 0 8 0 procpl 648 476 0 414 6 0 6 6 0 8 0 sockpl 664 162 0 133 4 0 4 4 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 139 0 0 18 0 18 18 0 8 0 mcl2k 2048 20 0 0 3 0 3 3 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 170 0 0 11 0 11 11 0 8 0 bufpl 280 2179 0 95 149 0 149 149 0 8 0 anonpl 24 164914 0 161729 24 0 24 24 0 185 3 amapchunkpl 152 9619 0 9061 24 0 24 24 0 158 0 amappl16 200 4928 0 4918 5 0 5 5 0 8 4 amappl15 192 15 0 15 1 0 1 1 0 8 1 amappl14 184 109 0 99 1 0 1 1 0 8 0 amappl13 176 16 0 16 1 0 1 1 0 8 1 amappl12 168 1019 0 983 2 0 2 2 0 8 0 amappl11 160 53 0 43 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 0 1 1 0 8 1 amappl9 144 134 0 134 1 0 1 1 0 8 1 amappl8 136 19 0 18 1 0 1 1 0 8 0 amappl7 128 94 0 84 1 0 1 1 0 8 0 amappl6 120 159 0 158 1 0 1 1 0 8 0 amappl5 112 134 0 126 1 0 1 1 0 8 0 amappl4 104 273 0 258 1 0 1 1 0 8 0 amappl3 96 1801 0 1674 4 0 4 4 0 8 0 amappl2 88 643 0 582 2 0 2 2 0 8 0 amappl1 80 7471 0 6939 13 0 13 13 0 8 0 amappl 88 2490 0 2294 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 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 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 418 0 382 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 418 0 382 1 0 1 1 0 8 0 vmmpekpl 168 4759 0 4709 3 0 3 3 0 8 0 vmmpepl 168 35506 0 33577 90 0 90 90 0 357 2 vmsppl 448 417 0 382 5 0 5 5 0 8 0 rwobjpl 56 17127 0 14615 37 0 37 37 0 8 0 pdppl 4096 843 0 764 111 14 97 97 0 8 18 pvpl 32 9782 0 0 80 1 79 79 0 265 0 pmappl 248 417 0 382 4 1 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 386 0 16 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff834adff0) 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 mtx_enter(fffffd8069f576a8) at mtx_enter+0xa7 sys/kern/kern_lock.c:250 vm_map_unbusy_ln(fffffd8069f57560,20800000,0) at vm_map_unbusy_ln+0x7d sys/uvm/uvm_map.c:5338 uvm_map_clean(fffffd8069f57560,20000000,20800000,8) at uvm_map_clean+0xa68 sys/uvm/uvm_map.c:4590 syscall(ffff80002db6ce00) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002db6ce00) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x49a3e18350, count: 7 ddb{0}> trace x86_ipi_db(ffffffff834adff0) 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 mtx_enter(fffffd8069f576a8) at mtx_enter+0xa7 sys/kern/kern_lock.c:250 vm_map_unbusy_ln(fffffd8069f57560,20800000,0) at vm_map_unbusy_ln+0x7d sys/uvm/uvm_map.c:5338 uvm_map_clean(fffffd8069f57560,20000000,20800000,8) at uvm_map_clean+0xa68 sys/uvm/uvm_map.c:4590 syscall(ffff80002db6ce00) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002db6ce00) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x49a3e18350, count: -8 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd8069f57678) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8069f57590,fffffd8069f57678,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8069f57560,490ff51000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd8069f57560,490fd52000,490ff51000,1,0,0,48fbc977d3e2036f) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff8000371cf1e0,ffff8000371f1840,ffff8000371f1790) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff8000371f1840) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371f1840) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71d346fe70f0, count: 6 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff83078e14) at panic+0x1e5 sys/kern/subr_prf.c:198 mtx_leave(fffffd8069f57678) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd8069f57590,fffffd8069f57678,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd8069f57560,490ff51000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd8069f57560,490fd52000,490ff51000,1,0,0,48fbc977d3e2036f) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff8000371cf1e0,ffff8000371f1840,ffff8000371f1790) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff8000371f1840) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371f1840) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71d346fe70f0, count: -9