uvm_fault(0xfffffd806c06fcb8, 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(ffff8000014aa830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149f700) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(31e5f,3,2000,ffff80003c951a98) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,3,2000,ffff80003c951a98) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003ca16f30) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80646787b0,3,fffffd807f7d7680,ffff80003c951a98) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a72b798,ffff80003c951a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a72b798,ffff80003c951a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a72b798,ffff80003c951a98) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806a72b798,ffff80003c951a98) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80003c951a98) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c951a98,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c951a98,ffff80003ca172a0,ffff80003ca171f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003ca172a0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca172a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72ab1917f880, 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(0xfffffd806c06fcb8, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff8000014aa830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149f700) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(31e5f,3,2000,ffff80003c951a98) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,3,2000,ffff80003c951a98) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003ca16f30) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80646787b0,3,fffffd807f7d7680,ffff80003c951a98) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a72b798,ffff80003c951a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a72b798,ffff80003c951a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a72b798,ffff80003c951a98) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806a72b798,ffff80003c951a98) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80003c951a98) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c951a98,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c951a98,ffff80003ca172a0,ffff80003ca171f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003ca172a0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca172a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72ab1917f880, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003ca16de0 rbx 0xffffffff818316b0 dtclose rdx 0 rcx 0xffff80003c951a98 rax 0xffff80003c951a98 r8 0x8 r9 0x5c r10 0xf8feae47b4b1060a r11 0x7d20f369fd3eb9cc r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff831db879 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003ca16db0 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=43360 pid=99295 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c951a98 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7ce568,0xffff80003c950810 process=0xffff800035d188f8 user=0xffff80003ca12000, vmspace=0xfffffd806c06fcb8 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 65826 266816 7481 0 2 0 syz-executor 65826 340053 7481 0 3 0x4000080 fsleep syz-executor 68449 372061 58891 60929 2 0x10 syz-executor 68449 328771 58891 60929 3 0x4000090 sbwait syz-executor 68449 235456 58891 60929 2 0x4000010 syz-executor 46412 423814 24634 0 2 0 syz-executor 46412 222855 24634 0 2 0x4000000 syz-executor 46412 216605 24634 0 3 0x4000080 fsleep syz-executor 46412 373446 24634 0 3 0x4000080 fsleep syz-executor 21925 123397 41708 0 3 0x1000080 nanoslp syz-executor 21925 184407 41708 0 3 0x5000080 lockf syz-executor 21925 180800 41708 0 3 0x5000080 fsleep syz-executor 39188 450100 2788 0 3 0x80 nanoslp syz-executor 39188 192060 2788 0 3 0x4000080 fsleep syz-executor 39188 412606 2788 0 3 0x4000080 kqread syz-executor 93943 508542 99912 0 2 0x2 syz-executor 24634 321388 99912 0 3 0x82 nanoslp syz-executor 25762 90072 0 0 3 0x14200 bored sosplice 58891 290577 99912 0 3 0x82 nanoslp syz-executor 41708 239211 99912 0 3 0x82 nanoslp syz-executor 2788 101702 99912 0 3 0x82 nanoslp syz-executor 7808 416297 99912 0 3 0x82 wait syz-executor 78132 393551 99912 0 3 0x82 nanoslp syz-executor 7481 429401 99912 0 3 0x82 nanoslp syz-executor 99912 74127 91246 0 3 0x82 kqread syz-executor 91246 192689 48137 0 3 0x10008a sigsusp ksh 48137 406305 40718 0 3 0x98 kqread sshd-session 40718 305276 55273 0 3 0x92 kqread sshd-session 69923 40745 1 0 3 0x100083 ttyin getty 55273 111824 1 0 3 0x88 kqread sshd 87797 150567 56393 73 3 0x1100090 kqread syslogd 56393 17571 1 0 3 0x100082 sbwait syslogd 82439 490908 1 0 3 0x100080 kqread resolvd 17244 258791 56507 77 3 0x100092 kqread dhcpleased 2220 194743 56507 77 3 0x100092 kqread dhcpleased 56507 426291 1 0 3 0x80 kqread dhcpleased 65778 41756 0 0 3 0x14200 bored smr 82404 246860 0 0 2 0x14200 zerothread 43147 39973 0 0 3 0x14200 aiodoned aiodoned 2813 474499 0 0 3 0x14200 syncer update 67465 46293 0 0 3 0x14200 cleaner cleaner 67382 166105 0 0 3 0x14200 reaper reaper 14981 458061 0 0 3 0x14200 pgdaemon pagedaemon 60168 150772 0 0 3 0x14200 bored viomb 78117 482621 0 0 3 0x40014200 acpi0 acpi0 72093 70304 0 0 3 0x14200 bored softnet3 15639 92960 0 0 3 0x14200 bored softnet2 42381 330258 0 0 3 0x14200 bored softnet1 47470 28191 0 0 3 0x14200 bored softnet0 64721 186891 0 0 3 0x14200 bored systqmp 47739 314830 0 0 3 0x14200 bored systq 68659 243431 0 0 3 0x40014200 tmoslp softclock 68313 356512 0 0 3 0x40014200 idle0 1 390555 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10190 11170K 11439K 166960K 12228 0 pcb 17 16K 18K 166960K 164 0 rtable 178 7K 8K 166960K 524 0 pf 30 12K 14K 166960K 91 0 ifaddr 32 5K 7K 166960K 90 0 ifgroup 48 2K 2K 166960K 133 0 sysctl 4 1K 1K 166960K 4 0 counters 31 17K 18K 166960K 67 0 ioctlops 0 0K 4K 166960K 103 0 iov 0 0K 12K 166960K 23 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1433 90K 90K 166960K 1930 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 11 2K 2K 166960K 19 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 626 0 sigio 0 0K 0K 166960K 7 0 proc 60 59K 124K 166960K 613 0 subproc 72 4K 4K 166960K 100 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 190 0 in_multi 62 4K 7K 166960K 158 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 431 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 164K 175K 166960K 6876 0 UVM aobj 12 2K 2K 166960K 13 0 pinsyscall 38 76K 96K 166960K 1718 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 39 0 NDP 11 0K 2K 166960K 58 0 temp 46 8676K 8772K 166960K 20403 0 kqueue 15 24K 30K 166960K 90 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 69 0 66 1 0 1 1 0 8 0 rtentry 136 166 0 90 4 0 4 4 0 8 0 unpcb 144 447 0 428 6 3 3 4 0 8 2 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpcb 808 82 0 77 1 0 1 1 0 8 0 arp 88 25 0 13 1 0 1 1 0 8 0 inpcb 344 478 0 469 12 5 7 7 0 8 5 nd6 104 36 0 23 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1072 24 0 22 2 1 1 1 0 8 0 pppxif 1384 9 0 9 2 1 1 1 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 1 0 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 697 0 388 29 1 28 29 0 8 5 art_table 32 700 0 388 4 0 4 4 0 8 0 art_node 16 161 0 91 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 1 0 1 0 8 0 semapl 112 11 0 2 1 0 1 1 0 8 0 shmpl 112 10 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2358 0 855 95 0 95 95 0 8 0 ffsino 248 2358 0 855 95 0 95 95 0 8 0 nchpl 144 3211 0 1519 63 0 63 63 0 8 0 rtmask 32 3 0 2 2 1 1 1 0 8 0 uvmvnodes 80 2872 0 0 59 0 59 59 0 8 0 vnodes 216 2872 0 0 160 0 160 160 0 8 0 namei 1024 10614 0 10613 3 2 1 2 0 8 0 kstatmem 264 70 0 48 3 0 3 3 0 8 0 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 9704 0 9704 4 2 2 3 1 8 2 plimitpl 152 84 0 67 1 0 1 1 0 8 0 sigapl 424 907 0 861 8 0 8 8 0 8 1 futexpl 64 7068 0 7063 1 0 1 1 0 8 0 knotepl 120 44436 0 44157 32 15 17 17 0 8 6 kqueuepl 184 275 0 198 7 3 4 4 0 8 0 pipepl 296 141 0 114 3 0 3 3 0 8 0 fdescpl 440 869 0 840 5 1 4 5 0 8 0 filepl 120 4737 0 4444 11 1 10 10 0 8 0 lockfpl 104 145 0 139 1 0 1 1 0 8 0 lockfspl 48 57 0 54 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 40 0 23 1 0 1 1 0 8 0 ucredpl 104 436 0 424 1 0 1 1 0 8 0 zombiepl 144 863 0 861 1 0 1 1 0 8 0 processpl 1136 907 0 861 5 0 5 5 0 8 0 procpl 680 1564 0 1508 8 1 7 8 0 8 1 sosppl 168 2 0 2 1 1 0 1 0 8 0 sockpl 528 1013 0 982 12 5 7 8 0 8 4 mcl64k 65536 43 0 43 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 3012 0 2958 16 7 9 15 0 8 1 mcl2k 2048 642 0 639 7 2 5 5 0 8 4 mtagpl 96 33 0 11 1 0 1 1 0 8 0 mbufpl 256 13280 0 13125 281 260 21 278 0 8 8 bufpl 280 3179 0 121 219 0 219 219 0 8 0 anonpl 24 139484 0 135465 45 18 27 45 0 187 2 amapchunkpl 152 21798 0 21255 33 4 29 29 0 158 5 amappl16 200 2695 0 2663 16 13 3 15 0 8 1 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 113 0 103 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 1526 0 1497 3 1 2 3 0 8 0 amappl11 160 49 0 39 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 238 0 238 1 1 0 1 0 8 0 amappl8 136 35 0 33 1 0 1 1 0 8 0 amappl7 128 103 0 92 1 0 1 1 0 8 0 amappl6 120 223 0 219 1 0 1 1 0 8 0 amappl5 112 125 0 118 1 0 1 1 0 8 0 amappl4 104 293 0 278 1 0 1 1 0 8 0 amappl3 96 4070 0 3964 4 0 4 4 0 8 1 amappl2 88 654 0 598 2 0 2 2 0 8 0 amappl1 80 10120 0 9571 13 0 13 13 0 8 0 amappl 88 6090 0 5917 6 1 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 12 0 1 1 0 1 1 0 8 0 uaddrrnd 24 869 0 840 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 869 0 840 1 0 1 1 0 8 0 vmmpekpl 168 8052 0 8019 2 0 2 2 0 8 0 vmmpepl 168 59793 0 57920 93 8 85 92 0 357 0 vmsppl 360 868 0 840 4 1 3 4 0 8 0 rwobjpl 32 20507 0 16766 31 0 31 31 0 8 0 pdppl 4096 1744 0 1680 114 46 68 82 0 8 4 pvpl 32 379775 0 370141 112 23 89 109 0 265 7 pmappl 216 868 0 840 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 569 0 324 15 0 15 15 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff8000014aa830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149f700) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(31e5f,3,2000,ffff80003c951a98) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,3,2000,ffff80003c951a98) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003ca16f30) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80646787b0,3,fffffd807f7d7680,ffff80003c951a98) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a72b798,ffff80003c951a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a72b798,ffff80003c951a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a72b798,ffff80003c951a98) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806a72b798,ffff80003c951a98) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80003c951a98) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c951a98,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c951a98,ffff80003ca172a0,ffff80003ca171f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003ca172a0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca172a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72ab1917f880, 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(ffff8000014aa830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149f700) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(31e5f,3,2000,ffff80003c951a98) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,3,2000,ffff80003c951a98) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003ca16f30) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80646787b0,3,fffffd807f7d7680,ffff80003c951a98) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a72b798,ffff80003c951a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a72b798,ffff80003c951a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a72b798,ffff80003c951a98) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806a72b798,ffff80003c951a98) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80003c951a98) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c951a98,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c951a98,ffff80003ca172a0,ffff80003ca171f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003ca172a0) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003ca172a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72ab1917f880, count: -14