uvm_fault(fffffd806adc4aa0,20080000,0,1) at uvm_fault+0x112 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff800030982e70,20080000) at kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff800030982e70) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b _copyin() at _copyin+0x57 syscall(ffff8000309832c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000309832c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x601572b9080, count: 1 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: mutex 0xfffffd806adc4bb8 not held in mtx_leave ddb{0}> 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(fffffd806adc4bb8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806adc4ad0,fffffd806adc4bb8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806adc4aa0,ffffffff830d8373,6f3) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvmfault_lookup(ffff800030982cd0,1) at uvmfault_lookup+0xe8 sys/uvm/uvm_fault.c:1779 uvm_fault_check(ffff800030982cd0,ffff800030982d08,ffff800030982d30) at uvm_fault_check+0x83e uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] uvm_fault_check(ffff800030982cd0,ffff800030982d08,ffff800030982d30) at uvm_fault_check+0x83e sys/uvm/uvm_fault.c:710 uvm_fault(fffffd806adc4aa0,20080000,0,1) at uvm_fault+0x112 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff800030982e70,20080000) at kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff800030982e70) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b _copyin() at _copyin+0x57 syscall(ffff8000309832c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000309832c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x601572b9080, count: -14 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000309828f0 rbx 0xffffffff834aedbf cpu_info_full_primary+0x2dbf rdx 0xffff800001292380 rcx 0xffff8000367b62b0 rax 0xffffffff834adff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x485607472556759f r11 0x1ed9e9313585938c r12 0xffffffff834aebc0 cpu_info_full_primary+0x2bc0 r13 0 r14 0 r15 0x1 rip 0xffffffff816a99e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000309828e0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=281715 pid=1385 tcnt=3 stat=sleep flags process=10 proc=4000020 runpri=32, usrpri=86, slppri=4, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000367b6f58,0xffff8000369ce040 process=0xffff800030974db0 user=0xffff80003097e000, vmspace=0xfffffd806adc4aa0 estcpu=36, cpticks=7, pctcpu=0.0, user=0, sys=7, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 1385 213340 30793 32767 2 0x10 syz-executor * 1385 281715 30793 32767 3 0x4000030 syz-executor 1385 11084 30793 32767 7 0x4000010 syz-executor 21846 341245 42027 32767 2 0x490 syz-executor 21846 491696 42027 32767 3 0x4000090 kqread syz-executor 21846 476563 42027 32767 3 0x4000090 fsleep syz-executor 15974 405524 15860 32767 3 0x4000090 nanoslp syz-executor 15974 161843 15860 32767 3 0x4000090 kqread syz-executor 15974 132275 15860 32767 3 0x4000090 fsleep syz-executor 31041 101394 4780 32767 2 0x490 syz-executor 31041 41022 4780 32767 3 0x4000090 netacc syz-executor 31041 47830 4780 32767 3 0x4000090 fsleep syz-executor 36822 387772 13388 32767 2 0x490 syz-executor 36822 432564 13388 32767 3 0x4000090 kqread syz-executor 4780 252671 34755 32767 3 0x90 nanoslp syz-executor 34755 420718 44913 0 3 0x82 wait syz-executor 15860 253082 94245 32767 3 0x90 nanoslp syz-executor 94245 141093 44913 0 3 0x82 wait syz-executor 13388 395745 51616 32767 2 0x490 syz-executor 51616 70586 44913 0 3 0x82 wait syz-executor 83946 46198 45872 0 3 0x82 netio sshd-session 14598 64651 0 0 3 0x14200 bored sosplice 62864 367636 45872 0 3 0x82 netio sshd-session 30793 325701 74651 32767 3 0x90 nanoslp syz-executor 23667 244393 86314 32767 3 0x90 nanoslp syz-executor 81692 64335 98529 32767 3 0x90 wait syz-executor 98655 284951 34572 32767 3 0x90 nanoslp syz-executor 42027 42182 41438 32767 2 0x490 syz-executor 86314 309867 44913 0 3 0x82 wait syz-executor 74651 79812 44913 0 3 0x82 wait syz-executor 98529 115582 44913 0 3 0x82 wait syz-executor 41438 240222 44913 0 3 0x82 wait syz-executor 34572 486077 44913 0 3 0x82 wait syz-executor 44913 520406 44220 0 3 0x82 kqread syz-executor 44220 435618 32514 0 3 0x10008a sigsusp ksh 32514 196540 46491 0 3 0x98 kqread sshd-session 46491 292414 45872 0 3 0x92 kqread sshd-session 17287 240511 1 0 3 0x100083 ttyin getty 45872 97205 1 0 3 0x88 kqread sshd 74272 214943 6879 73 3 0x1100090 kqread syslogd 6879 497057 1 0 3 0x100082 sbwait syslogd 9314 241544 1 0 3 0x100080 kqread resolvd 91341 71968 10436 77 3 0x100092 kqread dhcpleased 1503 412214 10436 77 3 0x100092 kqread dhcpleased 10436 286242 1 0 3 0x80 kqread dhcpleased 58031 422347 0 0 3 0x14200 bored smr 63433 398502 0 0 3 0x14200 pgzero zerothread 87543 331210 0 0 3 0x14200 aiodoned aiodoned 83158 481096 0 0 3 0x14200 syncer update 94935 513630 0 0 3 0x14200 cleaner cleaner 50331 429065 0 0 3 0x14200 reaper reaper 7773 266057 0 0 3 0x14200 pgdaemon pagedaemon 92352 155924 0 0 3 0x14200 bored viomb 72663 130597 0 0 3 0x40014200 acpi0 acpi0 12485 154189 0 0 3 0x40014200 idle1 23014 392301 0 0 3 0x14200 bored softnet3 49267 378235 0 0 3 0x14200 bored softnet2 9058 173285 0 0 3 0x14200 bored softnet1 21234 260311 0 0 3 0x14200 bored softnet0 99936 269728 0 0 3 0x14200 bored systqmp 14792 294871 0 0 3 0x14200 bored systq 64967 273848 0 0 3 0x14200 tmoslp softclockmp 42917 271188 0 0 2 0x40014200 softclock 96040 30260 0 0 3 0x40014200 idle0 1 155623 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &map->flags_lock r = 0 (0xfffffd806adc4bf8) #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 uvmfault_lookup+0xe8 sys/uvm/uvm_fault.c:1779 #5 uvm_fault_check+0x83e uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] #5 uvm_fault_check+0x83e sys/uvm/uvm_fault.c:710 #6 uvm_fault+0x112 sys/uvm/uvm_fault.c:600 #7 kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 #8 kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 #9 alltraps_kern_meltdown+0x7b #10 _copyin+0x57 #11 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #11 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #12 Xsyscall+0x128 CPU 1: exclusive mutex &uvm.pageqlock r = 0 (0xffffffff83512f78) #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 uvm_map_clean+0x602 sys/uvm/uvm_map.c:4528 #4 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #4 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 Process 1385 (syz-executor) thread 0xffff8000369ce030 (11084) exclusive rwlock amaplk r = 0 (0xfffffd805f89e2b8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 uvm_map_clean+0x411 sys/uvm/uvm_map.c:4498 #2 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #2 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #3 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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10182 11047K 11059K 166960K 11272 0 pcb 17 12K 12K 166960K 17 0 rtable 244 6K 7K 166960K 486 0 pf 31 16K 16K 166960K 39 0 ifaddr 42 7K 7K 166960K 60 0 ifgroup 50 2K 2K 166960K 66 0 counters 64 36K 36K 166960K 72 0 ioctlops 0 0K 2K 166960K 36 0 iov 0 0K 8K 166960K 9 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1364 86K 86K 166960K 1443 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 16 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 26 97K 117K 166960K 391 0 sigio 0 0K 0K 166960K 1 0 proc 58 79K 115K 166960K 595 0 subproc 104 6K 6K 166960K 156 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 28 0 in_multi 99 7K 7K 166960K 158 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 417 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 282 75K 75K 166960K 4782 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 51 102K 112K 166960K 1558 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 17 0K 2K 166960K 39 0 temp 40 6812K 6876K 166960K 5089 0 kqueue 16 26K 26K 166960K 48 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 52 0 49 1 0 1 1 0 8 0 rtentry 112 160 0 45 4 0 4 4 0 8 0 unpcb 144 175 0 153 2 0 2 2 0 8 1 syncache 336 14 0 14 2 1 1 1 0 8 1 tcpqe 32 7 0 7 1 0 1 1 0 8 1 tcpcb 808 197 0 181 9 0 9 9 0 8 7 arp 120 26 0 8 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 45 0 45 1 0 1 1 0 8 1 inpcb 336 392 0 371 10 0 10 10 0 8 8 nd6 136 41 0 12 1 0 1 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 645 0 176 30 0 30 30 0 8 0 art_table 32 646 0 176 4 0 4 4 0 8 0 art_node 16 159 0 54 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 1831 0 317 96 0 96 96 0 8 0 ffsino 272 1831 0 317 102 0 102 102 0 8 0 nchpl 144 2216 0 527 63 0 63 63 0 8 0 uvmvnodes 80 1996 0 0 41 0 41 41 0 8 0 vnodes 216 1996 0 0 111 0 111 111 0 8 0 namei 1024 7044 0 7044 2 0 2 2 0 8 2 percpumem 16 50 0 4 1 0 1 1 0 8 0 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scxspl 216 6923 0 6923 9 1 8 8 1 8 8 plimitpl 152 59 0 35 2 0 2 2 0 8 0 sigapl 424 674 0 615 7 0 7 7 0 8 0 futexpl 64 1856 0 1853 1 0 1 1 0 8 0 knotepl 120 307 0 0 10 0 10 10 0 8 0 kqueuepl 216 47 0 33 1 0 1 1 0 8 0 pipepl 320 138 0 109 3 0 3 3 0 8 0 fdescpl 496 655 0 615 7 1 6 6 0 8 0 filepl 152 2527 0 2263 14 0 14 14 0 8 3 lockfpl 104 34 0 32 1 0 1 1 0 8 0 lockfspl 48 13 0 11 1 0 1 1 0 8 0 sessionpl 144 33 0 15 1 0 1 1 0 8 0 pgrppl 48 47 0 21 1 0 1 1 0 8 0 ucredpl 104 252 0 233 1 0 1 1 0 8 0 zombiepl 144 618 0 615 1 0 1 1 0 8 0 processpl 1160 674 0 615 5 0 5 5 0 8 0 procpl 648 921 0 853 7 0 7 7 0 8 0 sosppl 168 9 0 9 1 0 1 1 0 8 1 sockpl 664 619 0 573 12 0 12 12 0 8 8 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 132 0 0 17 0 17 17 0 8 0 mcl2k 2048 18 0 0 3 0 3 3 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 1199 0 0 75 0 75 75 0 8 0 bufpl 280 2428 0 95 167 0 167 167 0 8 0 anonpl 24 211631 0 207666 47 0 47 47 0 185 15 amapchunkpl 152 16165 0 15544 25 0 25 25 0 158 1 amappl16 200 6061 0 6038 17 8 9 14 0 8 7 amappl15 192 22 0 22 1 1 0 1 0 8 0 amappl14 184 136 0 123 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 1 0 1 0 8 0 amappl12 168 1345 0 1305 2 0 2 2 0 8 0 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 16 0 16 1 1 0 1 0 8 0 amappl9 144 138 0 138 1 1 0 1 0 8 0 amappl8 136 35 0 33 1 0 1 1 0 8 0 amappl7 128 123 0 111 1 0 1 1 0 8 0 amappl6 120 219 0 218 1 0 1 1 0 8 0 amappl5 112 161 0 150 1 0 1 1 0 8 0 amappl4 104 335 0 322 1 0 1 1 0 8 0 amappl3 96 3039 0 2897 4 0 4 4 0 8 0 amappl2 88 788 0 714 2 0 2 2 0 8 0 amappl1 80 10297 0 9579 17 0 17 17 0 8 0 amappl 88 4361 0 4145 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 655 0 615 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 655 0 615 1 0 1 1 0 8 0 vmmpekpl 168 7102 0 7046 3 0 3 3 0 8 0 vmmpepl 168 52472 0 50156 108 0 108 108 0 357 4 vmsppl 448 654 0 615 5 0 5 5 0 8 0 rwobjpl 56 22845 0 19782 46 0 46 46 0 8 1 pdppl 4096 1317 0 1230 113 20 93 93 0 8 6 pvpl 32 15068 0 0 122 0 122 122 0 265 0 pmappl 248 654 0 615 4 1 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 476 0 23 13 0 13 13 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> 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(fffffd806adc4bb8) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806adc4ad0,fffffd806adc4bb8,4,ffffffff832a21d0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806adc4aa0,ffffffff830d8373,6f3) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvmfault_lookup(ffff800030982cd0,1) at uvmfault_lookup+0xe8 sys/uvm/uvm_fault.c:1779 uvm_fault_check(ffff800030982cd0,ffff800030982d08,ffff800030982d30) at uvm_fault_check+0x83e uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] uvm_fault_check(ffff800030982cd0,ffff800030982d08,ffff800030982d30) at uvm_fault_check+0x83e sys/uvm/uvm_fault.c:710 uvm_fault(fffffd806adc4aa0,20080000,0,1) at uvm_fault+0x112 sys/uvm/uvm_fault.c:600 kpageflttrap(ffff800030982e70,20080000) at kpageflttrap+0x2d0 sys/arch/amd64/amd64/trap.c:279 kerntrap(ffff800030982e70) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b _copyin() at _copyin+0x57 syscall(ffff8000309832c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000309832c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x601572b9080, count: -14 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) 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 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x68 savectx() at savectx+0xae end of kernel end trace frame: 0x60183657110, count: 10 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) 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 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x68 savectx() at savectx+0xae end of kernel end trace frame: 0x60183657110, count: -5