panic: mutex 0xfffffd806cfe3d68 not held in mtx_leave Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 61166 3630 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(fffffd806cfe3d68) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806cfe3c80,fffffd806cfe3d68,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806cfe3c50,e6912ee1000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd806cfe3c50,e6912ce1000,e6912ee1000,3,0,0,65da9c018f425f52) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff80003419c020,ffff80002a092290,ffff80002a0921e0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff80002a092290) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a092290) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ed8f7d9b390, 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 0xfffffd806cfe3d68 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(fffffd806cfe3d68) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806cfe3c80,fffffd806cfe3d68,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806cfe3c50,e6912ee1000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd806cfe3c50,e6912ce1000,e6912ee1000,3,0,0,65da9c018f425f52) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff80003419c020,ffff80002a092290,ffff80002a0921e0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff80002a092290) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a092290) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ed8f7d9b390, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a091e90 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff80003419c020 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xbc757a49ce987ff2 r11 0xeb4f8f3af94004d1 r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a091e80 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=19115 pid=3630 tcnt=4 stat=sleep flags process=10 proc=20 runpri=86, usrpri=86, slppri=4, nice=20 wchan=0xfffffd806cfe3c80, wmesg=vmmapbsy, ps_single=0x0 scnt=0 ecnt=0 forw=0x0, list=0xffff800036fd3200,0xffff800036fd3c30 process=0xffff8000371d0930 user=0xffff80002a08d000, vmspace=0xfffffd806cfe3c50 estcpu=36, cpticks=2, pctcpu=0.0, user=2, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND * 3630 19115 68861 32767 3 0x30 vmmapbsy syz-executor 3630 61166 68861 32767 7 0x4000010 syz-executor 3630 260139 68861 32767 3 0x4000090 fsleep syz-executor 3630 317421 68861 32767 3 0x4000090 fsleep syz-executor 39793 511201 69033 32767 3 0x90 nanoslp syz-executor 39793 235694 69033 32767 3 0x4000090 ttyout syz-executor 39793 316678 69033 32767 3 0x4000090 ttyout syz-executor 10224 139650 2803 32767 3 0x90 nanoslp syz-executor 10224 123652 2803 32767 3 0x4000090 kqread syz-executor 10224 443253 2803 32767 3 0x4000090 fsleep syz-executor 55341 506103 81111 32767 3 0x90 nanoslp syz-executor 55341 479707 81111 32767 3 0x4000090 fsleep syz-executor 55341 392194 81111 32767 3 0x4000090 fifow syz-executor 55341 516609 81111 32767 3 0x4000090 fsleep syz-executor 71662 511107 61517 32767 3 0x90 nanoslp syz-executor 71662 353668 61517 32767 3 0x4000090 kqsel syz-executor 71662 164196 61517 32767 3 0x4000090 fsleep syz-executor 71662 338271 61517 32767 3 0x4000090 fsleep syz-executor 2803 465307 89143 32767 3 0x90 nanoslp syz-executor 61517 6461 45423 32767 3 0x90 nanoslp syz-executor 89143 74329 20497 0 3 0x82 wait syz-executor 45423 321018 20497 0 3 0x82 wait syz-executor 68861 349661 11921 32767 3 0x90 nanoslp syz-executor 11921 45662 20497 0 3 0x82 wait syz-executor 85963 216298 78666 32767 2 0x10 syz-executor 30770 250340 46168 32767 3 0x90 nanoslp syz-executor 46058 102470 85880 32767 2 0x10 syz-executor 81111 56039 87058 32767 3 0x90 nanoslp syz-executor 69033 74413 48177 32767 3 0x90 nanoslp syz-executor 78666 475930 20497 0 3 0x82 wait syz-executor 46168 388780 20497 0 3 0x82 wait syz-executor 48177 408152 20497 0 3 0x82 wait syz-executor 87058 48915 20497 0 3 0x82 wait syz-executor 85880 349679 20497 0 3 0x82 wait syz-executor 18361 398801 0 0 3 0x14200 bored sosplice 20497 27361 28587 0 3 0x82 kqread syz-executor 28587 188325 58911 0 3 0x10008a sigsusp ksh 58911 102168 38830 0 3 0x98 kqread sshd-session 38830 77344 29070 0 3 0x92 kqread sshd-session 78837 298906 1 0 3 0x100083 ttyin getty 29070 336533 1 0 3 0x88 kqread sshd 66096 63868 8926 73 3 0x1100090 kqread syslogd 8926 128346 1 0 3 0x100082 sbwait syslogd 6357 133682 1 0 3 0x100080 kqread resolvd 15143 240855 19089 77 3 0x100092 kqread dhcpleased 94968 464194 19089 77 3 0x100092 kqread dhcpleased 19089 341124 1 0 3 0x80 kqread dhcpleased 2950 21954 0 0 3 0x14200 bored smr 29813 473879 0 0 3 0x14200 pgzero zerothread 86346 503391 0 0 3 0x14200 aiodoned aiodoned 6026 434359 0 0 3 0x14200 syncer update 63944 133173 0 0 3 0x14200 cleaner cleaner 84046 235147 0 0 3 0x14200 reaper reaper 64182 122098 0 0 3 0x14200 pgdaemon pagedaemon 41972 404077 0 0 3 0x14200 bored viomb 158 508853 0 0 3 0x40014200 acpi0 acpi0 70814 166872 0 0 3 0x40014200 idle1 30344 257811 0 0 3 0x14200 bored softnet3 54198 53489 0 0 3 0x14200 bored softnet2 48361 40987 0 0 3 0x14200 bored softnet1 61921 409204 0 0 3 0x14200 bored softnet0 19559 517452 0 0 3 0x14200 bored systqmp 20885 98720 0 0 3 0x14200 bored systq 99599 373781 0 0 3 0x14200 tmoslp softclockmp 49340 95846 0 0 3 0x40014200 tmoslp softclock 98517 207747 0 0 3 0x40014200 idle0 1 212300 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 (0xfffffd806cfe3da8) #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+0xb5 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 3630 (syz-executor) thread 0xffff800036fd3c20 (61166) shared rwlock vmmaplk r = 0 (0xfffffd806cfe3d48) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvmfault_lookup+0x122 sys/uvm/uvm_fault.c:1785 #2 uvm_fault_check+0x47 sys/uvm/uvm_fault.c:672 #3 uvm_fault+0x112 sys/uvm/uvm_fault.c:600 #4 uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 #5 uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 #6 sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 #7 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #7 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 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 85963 (syz-executor) thread 0xffff8000371eaf60 (216298) exclusive rrwlock inode r = 0 (0xfffffd806b2bd808) #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 (0xfffffd805c333818) #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 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #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 46058 (syz-executor) thread 0xffff80003419b988 (102470) exclusive rrwlock inode r = 0 (0xfffffd806b2bd918) #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 (0xfffffd8064730f80) #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 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10187 11047K 11059K 166960K 11556 0 pcb 17 14K 16K 166960K 19 0 rtable 242 6K 7K 166960K 3363 0 pf 31 16K 16K 166960K 229 0 ifaddr 42 8K 8K 166960K 435 0 ifgroup 50 2K 2K 166960K 442 0 sysctl 4 1K 2K 166960K 7 0 counters 64 36K 36K 166960K 258 0 ioctlops 0 0K 2K 166960K 199 0 iov 0 0K 18K 166960K 172 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1470 92K 92K 166960K 3332 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 42 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 65 0 dirhash 15 2K 3K 166960K 60 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 24 89K 157K 166960K 3404 0 sigio 0 0K 0K 166960K 41 0 proc 58 79K 176K 166960K 3345 0 subproc 104 6K 13K 166960K 1885 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 379 0 in_multi 99 7K 7K 166960K 1236 0 ether_multi 1 0K 0K 166960K 16 0 mrt 2 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 1869 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 268 76K 130K 166960K 26501 0 UVM aobj 131 4K 4K 166960K 138 0 pinsyscall 45 90K 126K 166960K 7008 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 152 0 NDP 11 0K 2K 166960K 315 0 temp 75 6824K 6890K 166960K 26070 0 kqueue 17 28K 32K 166960K 347 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 677 0 673 7 4 3 3 0 8 2 rtentry 112 1190 0 1076 9 5 4 4 0 8 0 unpcb 144 2088 0 2070 25 21 4 6 0 8 3 syncache 336 28 0 28 11 10 1 1 0 8 1 tcpqe 32 9 0 9 7 6 1 1 0 8 1 tcpcb 808 1287 0 1281 32 28 4 8 0 8 3 arp 120 213 0 194 1 0 1 1 0 8 0 ipq 40 16 0 14 2 1 1 1 0 8 0 ipqe 40 369 0 367 2 1 1 1 0 8 0 inpcb 336 3400 0 3355 45 36 9 12 0 8 5 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 4 0 4 1 1 0 1 0 8 0 nd6 136 332 0 305 2 1 1 1 0 8 0 kcovpl 48 145 0 137 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4799 0 4338 79 50 29 30 0 8 0 art_table 32 4800 0 4338 6 2 4 4 0 8 0 art_node 16 1189 0 1085 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 3 2 1 1 1 0 8 0 semapl 112 62 0 52 1 0 1 1 0 8 0 shmpl 112 135 0 7 4 0 4 4 0 8 0 dirhash 1024 50 0 30 3 0 3 3 0 8 0 dino2pl 256 4248 0 2474 113 1 112 112 0 8 0 ffsino 272 4248 0 2474 119 0 119 119 0 8 0 nchpl 144 6708 0 4843 70 0 70 70 0 8 0 uvmvnodes 80 6142 0 0 126 0 126 126 0 8 0 vnodes 216 6142 0 0 342 0 342 342 0 8 0 namei 1024 32850 0 32850 14 12 2 2 0 8 2 percpumem 16 143 0 97 1 0 1 1 0 8 0 kstatmem 264 216 0 194 2 0 2 2 0 8 0 scxspl 216 69738 0 69738 24 20 4 8 1 8 4 plimitpl 152 741 0 715 3 1 2 2 0 8 0 sigapl 424 3428 0 3373 12 4 8 9 0 8 0 futexpl 64 24621 0 24614 10 9 1 1 0 8 0 knotepl 120 540 0 0 14 1 13 14 0 8 0 kqueuepl 216 635 0 620 6 4 2 5 0 8 1 pipepl 320 753 0 726 9 5 4 8 0 8 0 fdescpl 496 3409 0 3373 11 4 7 7 0 8 0 filepl 152 18373 0 18027 34 18 16 18 0 8 2 lockfpl 104 551 0 549 2 1 1 2 0 8 0 lockfspl 48 155 0 153 1 0 1 1 0 8 0 sessionpl 144 138 0 122 1 0 1 1 0 8 0 pgrppl 48 301 0 277 1 0 1 1 0 8 0 ucredpl 104 2604 0 2585 1 0 1 1 0 8 0 zombiepl 144 3374 0 3373 1 0 1 1 0 8 0 processpl 1160 3428 0 3373 7 1 6 6 0 8 0 procpl 648 6251 0 6183 10 3 7 7 0 8 0 srpgc 96 4 0 4 2 2 0 1 0 8 0 sosppl 168 29 0 27 8 7 1 1 0 8 0 sockpl 664 6220 0 6154 77 65 12 20 0 8 5 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 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 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 182 0 0 18 3 15 18 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 88 0 0 7 2 5 6 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 538 0 0 25 0 25 25 0 8 0 bufpl 280 10948 0 3043 565 0 565 565 0 8 0 anonpl 24 579930 0 570399 138 67 71 95 0 185 13 amapchunkpl 152 86061 0 85145 81 44 37 45 0 158 0 amappl16 200 12134 0 12094 99 89 10 18 0 8 7 amappl15 192 16 0 16 2 2 0 1 0 8 0 amappl14 184 348 0 338 1 0 1 1 0 8 0 amappl13 176 11 0 11 3 2 1 1 0 8 1 amappl12 168 5620 0 5583 9 6 3 3 0 8 0 amappl11 160 57 0 47 1 0 1 1 0 8 0 amappl10 152 18 0 18 1 1 0 1 0 8 0 amappl9 144 144 0 144 1 1 0 1 0 8 0 amappl8 136 26 0 24 1 0 1 1 0 8 0 amappl7 128 319 0 308 1 0 1 1 0 8 0 amappl6 120 1124 0 1122 1 0 1 1 0 8 0 amappl5 112 541 0 532 1 0 1 1 0 8 0 amappl4 104 658 0 642 1 0 1 1 0 8 0 amappl3 96 16401 0 16263 4 0 4 4 0 8 0 amappl2 88 2250 0 2187 2 0 2 2 0 8 0 amappl1 80 28167 0 27629 18 4 14 15 0 8 0 amappl 88 25210 0 24998 6 0 6 6 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 137 0 7 3 0 3 3 0 8 0 uaddrrnd 24 3409 0 3373 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3409 0 3373 1 0 1 1 0 8 0 vmmpekpl 168 30996 0 30915 5 0 5 5 0 8 0 vmmpepl 168 220209 0 218208 138 39 99 104 0 357 2 vmsppl 448 3408 0 3373 6 0 6 6 0 8 0 rwobjpl 56 71741 0 64577 108 6 102 102 0 8 0 pdppl 4096 6825 0 6746 443 358 85 113 0 8 6 pvpl 32 46348 0 0 372 1 371 371 0 265 0 pmappl 248 3408 0 3373 6 2 4 4 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 922 0 502 13 0 13 13 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 __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 spllower(0) at spllower+0x2c pool_cache_get(ffffffff83508250) at pool_cache_get+0x348 sys/kern/subr_pool.c:1916 pool_get(ffffffff83508250,2) at pool_get+0xba pmap_enter(fffffd806c0d0c98,20315000,5c7b8000,5,35) at pmap_enter+0x1e1 uvm_fault_upper(ffff80002a106550,ffff80002a106588,ffff80002a106450,2) at uvm_fault_upper+0x376 sys/uvm/uvm_fault.c:1056 uvm_fault(fffffd806cfe3c50,20315000,2,5) at uvm_fault+0x1b2 sys/uvm/uvm_fault.c:608 uvm_fault_wire(fffffd806cfe3c50,20010000,20800000,5) at uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 uvm_map_pageable_wire(fffffd806cfe3c50,fffffd806beb6748,0,ffff800036fd3c20,ffffffff822a59e0,0) at uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 sys_mlockall(ffff800036fd3c20,ffff80002a106860,ffff80002a1067b0) at sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 syscall(ffff80002a106860) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a106860) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 end trace frame: 0xffff80002a1068e0, count: 0 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 __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 spllower(0) at spllower+0x2c pool_cache_get(ffffffff83508250) at pool_cache_get+0x348 sys/kern/subr_pool.c:1916 pool_get(ffffffff83508250,2) at pool_get+0xba pmap_enter(fffffd806c0d0c98,20315000,5c7b8000,5,35) at pmap_enter+0x1e1 uvm_fault_upper(ffff80002a106550,ffff80002a106588,ffff80002a106450,2) at uvm_fault_upper+0x376 sys/uvm/uvm_fault.c:1056 uvm_fault(fffffd806cfe3c50,20315000,2,5) at uvm_fault+0x1b2 sys/uvm/uvm_fault.c:608 uvm_fault_wire(fffffd806cfe3c50,20010000,20800000,5) at uvm_fault_wire+0x73 sys/uvm/uvm_fault.c:1602 uvm_map_pageable_wire(fffffd806cfe3c50,fffffd806beb6748,0,ffff800036fd3c20,ffffffff822a59e0,0) at uvm_map_pageable_wire+0x40f sys/uvm/uvm_map.c:2127 sys_mlockall(ffff800036fd3c20,ffff80002a106860,ffff80002a1067b0) at sys_mlockall+0x85 sys/uvm/uvm_mmap.c:898 syscall(ffff80002a106860) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a106860) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe69a285ee30, count: -15 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(fffffd806cfe3d68) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806cfe3c80,fffffd806cfe3d68,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806cfe3c50,e6912ee1000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd806cfe3c50,e6912ce1000,e6912ee1000,3,0,0,65da9c018f425f52) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff80003419c020,ffff80002a092290,ffff80002a0921e0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff80002a092290) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a092290) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ed8f7d9b390, 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(fffffd806cfe3d68) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806cfe3c80,fffffd806cfe3d68,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806cfe3c50,e6912ee1000,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_map_protect(fffffd806cfe3c50,e6912ce1000,e6912ee1000,3,0,0,65da9c018f425f52) at uvm_map_protect+0xe1 sys/uvm/uvm_map.c:3059 sys_mprotect(ffff80003419c020,ffff80002a092290,ffff80002a0921e0) at sys_mprotect+0x34c sys/uvm/uvm_mmap.c:585 syscall(ffff80002a092290) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a092290) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ed8f7d9b390, count: -9