uvm_fault(0xfffffd806c066e20, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x59: movq 0(%r14),%rax TID PID UID PRFLAGS PFLAGS CPU COMMAND mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff800001492630,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001494780) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80002a7f07d0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f07d0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c936e10) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b220210,81,fffffd807f7d77b8,ffff80002a7f07d0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bf42880,ffff80002a7f07d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bf42880,ffff80002a7f07d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bf42880,ffff80002a7f07d0) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806bf42880,ffff80002a7f07d0) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80002a7f07d0) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80002a7f07d0,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a7f07d0,ffff80003c937180,ffff80003c9370d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c937180) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937180) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e4e2347ee80, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffffd806c066e20, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff800001492630,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001494780) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80002a7f07d0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f07d0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c936e10) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b220210,81,fffffd807f7d77b8,ffff80002a7f07d0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bf42880,ffff80002a7f07d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bf42880,ffff80002a7f07d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bf42880,ffff80002a7f07d0) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806bf42880,ffff80002a7f07d0) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80002a7f07d0) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80002a7f07d0,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a7f07d0,ffff80003c937180,ffff80003c9370d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c937180) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937180) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e4e2347ee80, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c936cc0 rbx 0xffffffff82624ba0 dtclose rdx 0 rcx 0xffff80002a7f07d0 rax 0xffff80002a7f07d0 r8 0 r9 0 r10 0xd072df0db11a7cad r11 0x7118e473c94c6a52 r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff8282b019 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c936c90 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=511281 pid=3863 tcnt=0 stat=onproc flags process=1018 proc=2000 runpri=32, usrpri=53, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7f07d0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7f0540,0xffff80002a7f1740 process=0xffff800035d15e80 user=0xffff80003c932000, vmspace=0xfffffd806c066e20 estcpu=3, cpticks=2, pctcpu=0.2, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 71442 505413 79034 0 2 0 syz-executor 71442 25660 79034 0 3 0x4000080 kqread syz-executor 71442 369807 79034 0 3 0x4000080 fsleep syz-executor 98697 229736 45738 0 2 0 syz-executor 98697 286460 45738 0 2 0x4000000 syz-executor 59456 232856 36473 0 2 0 syz-executor 59456 375326 36473 0 3 0x4000080 fsleep syz-executor 75776 335207 85336 0 2 0 syz-executor 75776 514343 85336 0 3 0x4000080 fsleep syz-executor 84644 169177 68457 0 2 0 syz-executor 84644 446450 68457 0 3 0x4000080 kqread syz-executor 84644 423713 68457 0 3 0x4000080 kqread syz-executor 84644 120553 68457 0 2 0x4000000 syz-executor 7318 117934 93961 0 2 0 syz-executor 7318 312161 93961 0 3 0x4000080 fsleep syz-executor 31115 427038 31656 0 2 0x480 syz-executor 31115 415901 31656 0 2 0x4000000 syz-executor 31115 114047 31656 0 3 0x4000080 fsleep syz-executor 31115 315166 31656 0 3 0x4000080 fsleep syz-executor 93961 487716 81372 0 3 0x82 nanoslp syz-executor 62012 305176 81372 0 3 0x82 nanoslp syz-executor 85336 235906 81372 0 2 0x482 syz-executor 31656 434231 81372 0 3 0x82 nanoslp syz-executor 68457 461163 81372 0 3 0x82 nanoslp syz-executor 36473 182397 81372 0 2 0x482 syz-executor 79034 335148 81372 0 3 0x82 nanoslp syz-executor 45738 20090 81372 0 3 0x82 nanoslp syz-executor 81372 367026 38748 0 3 0x82 kqread syz-executor 38748 182131 35664 0 3 0x10008a sigsusp ksh 35664 151692 92297 0 3 0x98 kqread sshd-session 92297 48217 41127 0 3 0x92 kqread sshd-session 41791 346071 1 0 3 0x100083 ttyin getty 41127 74968 1 0 3 0x88 kqread sshd 93792 501062 50554 73 3 0x1100090 kqread syslogd 50554 255340 1 0 3 0x100082 sbwait syslogd 20798 253657 1 0 3 0x100080 kqread resolvd 21004 260486 65295 77 3 0x100092 kqread dhcpleased 98249 98855 65295 77 3 0x100092 kqread dhcpleased 65295 136307 1 0 3 0x80 kqread dhcpleased 29267 220108 0 0 3 0x14200 bored smr 89837 49712 0 0 2 0x14200 zerothread 11639 480052 0 0 3 0x14200 aiodoned aiodoned 58214 176421 0 0 3 0x14200 syncer update 3482 408001 0 0 3 0x14200 cleaner cleaner 73766 246418 0 0 3 0x14200 reaper reaper 79066 434276 0 0 3 0x14200 pgdaemon pagedaemon 94361 367916 0 0 3 0x14200 bored viomb 5689 144342 0 0 3 0x40014200 acpi0 acpi0 22910 69623 0 0 3 0x14200 bored softnet3 97634 163779 0 0 3 0x14200 bored softnet2 35753 198317 0 0 3 0x14200 bored softnet1 37140 397057 0 0 3 0x14200 bored softnet0 86454 3539 0 0 3 0x14200 bored systqmp 26994 14942 0 0 3 0x14200 bored systq 76982 353778 0 0 3 0x40014200 tmoslp softclock 29211 510529 0 0 3 0x40014200 idle0 1 7685 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10187 11099K 11099K 166960K 11264 0 pcb 17 12K 12K 166960K 17 0 rtable 238 7K 7K 166960K 358 0 pf 35 13K 13K 166960K 35 0 ifaddr 45 7K 8K 166960K 48 0 ifgroup 59 2K 2K 166960K 59 0 sysctl 1 1K 1K 166960K 1 0 counters 34 17K 17K 166960K 34 0 ioctlops 0 0K 2K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1343 85K 85K 166960K 1362 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 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 141 0 proc 59 67K 100K 166960K 474 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 100 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 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 346 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 239 147K 155K 166960K 2811 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 39 78K 96K 166960K 1163 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 2 0 NDP 13 0K 2K 166960K 29 0 temp 34 8666K 8730K 166960K 3622 0 kqueue 15 24K 24K 166960K 24 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 38 0 34 1 0 1 1 0 8 0 rtentry 136 113 0 2 4 0 4 4 0 8 0 unpcb 144 33 0 18 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 808 10 0 4 1 0 1 1 0 8 0 arp 88 18 0 0 1 0 1 1 0 8 0 inpcb 344 61 0 51 2 0 2 2 0 8 1 nd6 104 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 0 1 0 1 1 0 8 0 pppxif 1384 2 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 458 0 0 29 0 29 29 0 8 0 art_table 32 459 0 0 4 0 4 4 0 8 0 art_node 16 111 0 10 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1563 0 53 95 0 95 95 0 8 0 ffsino 248 1563 0 53 95 0 95 95 0 8 0 nchpl 144 1753 0 59 63 0 63 63 0 8 0 uvmvnodes 80 1649 0 0 34 0 34 34 0 8 0 vnodes 216 1649 0 0 92 0 92 92 0 8 0 namei 1024 5108 0 5108 2 0 2 2 0 8 2 kstatmem 264 26 0 0 2 0 2 2 0 8 0 scxspl 216 5544 0 5544 3 0 3 3 1 8 3 plimitpl 152 26 0 10 1 0 1 1 0 8 0 sigapl 424 418 0 372 7 0 7 7 0 8 1 futexpl 64 147 0 141 1 0 1 1 0 8 0 knotepl 120 2631 0 2579 2 0 2 2 0 8 0 kqueuepl 184 22 0 9 1 0 1 1 0 8 0 pipepl 296 98 0 71 3 0 3 3 0 8 0 fdescpl 440 402 0 372 5 0 5 5 0 8 1 filepl 120 1317 0 1099 7 0 7 7 0 8 0 lockfpl 104 13 0 8 1 0 1 1 0 8 0 lockfspl 48 8 0 4 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 66 0 53 1 0 1 1 0 8 0 zombiepl 144 373 0 372 1 0 1 1 0 8 0 processpl 1112 418 0 372 4 0 4 4 0 8 0 procpl 656 434 0 376 5 0 5 5 0 8 0 sockpl 528 132 0 103 3 0 3 3 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2399 0 2347 14 0 14 14 0 8 5 mcl2k 2048 127 0 109 3 0 3 3 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 4022 0 3835 12 0 12 12 0 8 0 bufpl 280 2241 0 117 152 0 152 152 0 8 0 anonpl 24 99262 0 96158 23 0 23 23 0 187 3 amapchunkpl 152 8071 0 7548 21 0 21 21 0 158 0 amappl16 200 2020 0 2005 5 0 5 5 0 8 4 amappl15 192 7 0 7 1 0 1 1 0 8 1 amappl14 184 117 0 107 1 0 1 1 0 8 0 amappl13 176 11 0 10 1 0 1 1 0 8 0 amappl12 168 1005 0 975 3 0 3 3 0 8 1 amappl11 160 47 0 37 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 0 1 1 0 8 1 amappl9 144 250 0 250 1 0 1 1 0 8 1 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 99 0 89 1 0 1 1 0 8 0 amappl6 120 167 0 164 1 0 1 1 0 8 0 amappl5 112 111 0 105 1 0 1 1 0 8 0 amappl4 104 297 0 282 1 0 1 1 0 8 0 amappl3 96 1213 0 1095 3 0 3 3 0 8 0 amappl2 88 598 0 547 2 0 2 2 0 8 0 amappl1 80 7818 0 7262 14 0 14 14 0 8 0 amappl 88 2175 0 2002 4 0 4 4 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 402 0 372 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 402 0 372 1 0 1 1 0 8 0 vmmpekpl 168 4875 0 4848 2 0 2 2 0 8 0 vmmpepl 168 32499 0 30627 83 0 83 83 0 357 1 vmsppl 360 401 0 372 4 0 4 4 0 8 1 rwobjpl 32 13696 0 11204 21 0 21 21 0 8 0 pdppl 4096 810 0 744 96 16 80 82 0 8 14 pvpl 32 209755 0 201058 71 0 71 71 0 265 0 pmappl 216 401 0 372 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 261 0 16 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff800001492630,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001494780) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80002a7f07d0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f07d0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c936e10) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b220210,81,fffffd807f7d77b8,ffff80002a7f07d0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bf42880,ffff80002a7f07d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bf42880,ffff80002a7f07d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bf42880,ffff80002a7f07d0) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806bf42880,ffff80002a7f07d0) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80002a7f07d0) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80002a7f07d0,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a7f07d0,ffff80003c937180,ffff80003c9370d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c937180) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937180) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e4e2347ee80, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff800001492630,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001494780) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80002a7f07d0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7f07d0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c936e10) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b220210,81,fffffd807f7d77b8,ffff80002a7f07d0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bf42880,ffff80002a7f07d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bf42880,ffff80002a7f07d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806bf42880,ffff80002a7f07d0) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806bf42880,ffff80002a7f07d0) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80002a7f07d0) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80002a7f07d0,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80002a7f07d0,ffff80003c937180,ffff80003c9370d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c937180) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c937180) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e4e2347ee80, count: -14