uvm_fault(0xfffffd80633ce450, 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(ffff80000149ac30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149de00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80003c97dc60) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c97dc60) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff800035d15a20) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807377f568,81,fffffd807f7d78f0,ffff80003c97dc60) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd80737b74c0,ffff80003c97dc60) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80737b74c0,ffff80003c97dc60) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80737b74c0,ffff80003c97dc60) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd80737b74c0,ffff80003c97dc60) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80003c97dc60) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c97dc60,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c97dc60,ffff800035d15d90,ffff800035d15ce0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d15d90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d15d90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7237a4a81170, 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(0xfffffd80633ce450, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x59 sys/kern/kern_lock.c:303 clockintr_unbind(ffff80000149ac30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149de00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80003c97dc60) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c97dc60) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff800035d15a20) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807377f568,81,fffffd807f7d78f0,ffff80003c97dc60) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd80737b74c0,ffff80003c97dc60) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80737b74c0,ffff80003c97dc60) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80737b74c0,ffff80003c97dc60) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd80737b74c0,ffff80003c97dc60) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80003c97dc60) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c97dc60,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c97dc60,ffff800035d15d90,ffff800035d15ce0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d15d90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d15d90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7237a4a81170, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff800035d158d0 rbx 0xffffffff82a450d0 dtclose rdx 0 rcx 0xffff80003c97dc60 rax 0xffff80003c97dc60 r8 0 r9 0 r10 0x7eec97310e9ec916 r11 0x76ec5fbdafc7027d r12 0 r13 0 r14 0x18 r15 0 rip 0xffffffff81965eb9 mtx_enter+0x59 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800035d158a0 ss 0x10 mtx_enter+0x59: movq 0(%r14),%rax ddb> show proc PROC (syz-executor) tid=359337 pid=38920 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=68, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c97dc60 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c97c2c0,0xffff80003c97c040 process=0xffff8000ffff95d0 user=0xffff800035d10000, vmspace=0xfffffd80633ce450 estcpu=18, cpticks=4, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 27347 18033 91119 0 3 0x80 nanoslp syz-executor 27347 352798 91119 0 3 0x4000080 ttyout syz-executor 16416 466055 0 0 3 0x14280 nfsidl nfsio 54548 106364 0 0 3 0x14280 nfsidl nfsio 84593 233727 0 0 3 0x14280 nfsidl nfsio 55715 58207 0 0 3 0x14280 nfsidl nfsio 84357 292896 0 0 3 0x14280 nfsidl nfsio 2703 111741 0 0 3 0x14280 nfsidl nfsio 50484 121798 0 0 3 0x14280 nfsidl nfsio 61523 255763 0 0 3 0x14280 nfsidl nfsio 40267 236549 0 0 3 0x14280 nfsidl nfsio 92685 196442 0 0 3 0x14280 nfsidl nfsio 97509 397856 0 0 3 0x14280 nfsidl nfsio 4474 101169 0 0 3 0x14280 nfsidl nfsio 37389 422696 0 0 3 0x14280 nfsidl nfsio 39689 130489 0 0 3 0x14280 nfsidl nfsio 31447 34094 0 0 3 0x14280 nfsidl nfsio 1690 155077 0 0 3 0x14280 nfsidl nfsio 75693 279129 0 0 3 0x14280 nfsidl nfsio 61787 359197 0 0 3 0x14280 nfsidl nfsio 22740 205200 0 0 3 0x14280 nfsidl nfsio 8220 140957 0 0 3 0x14280 nfsidl nfsio 43687 145682 0 0 3 0x14200 bored sosplice 73679 141787 56009 0 3 0x82 nanoslp syz-executor 95095 231093 56009 0 3 0x82 nanoslp syz-executor 22612 62796 56009 0 3 0x82 piperd syz-executor 91119 270256 56009 0 3 0x82 nanoslp syz-executor 67760 201839 56009 0 3 0x82 nanoslp syz-executor 61588 277208 56009 0 3 0x82 piperd syz-executor 6082 348209 56009 0 3 0x82 piperd syz-executor 34988 295491 56009 0 3 0x82 piperd syz-executor 56009 105455 92106 0 3 0x82 nanoslp syz-executor 92106 72345 8610 0 3 0x10008a sigsusp ksh 8610 54716 86529 0 3 0x98 kqread sshd-session 86529 360557 23486 0 3 0x92 kqread sshd-session 87264 368458 1 0 3 0x100083 ttyin getty 23486 303899 1 0 3 0x88 kqread sshd 31847 182122 45596 73 3 0x1100090 kqread syslogd 45596 198583 1 0 3 0x100082 sbwait syslogd 55157 61043 1 0 3 0x100080 kqread resolvd 15802 39161 35654 77 3 0x100092 kqread dhcpleased 31455 483031 35654 77 3 0x100092 kqread dhcpleased 35654 111240 1 0 3 0x80 kqread dhcpleased 36265 253291 0 0 3 0x14200 bored smr 16178 143332 0 0 3 0x14200 pgzero zerothread 51984 145887 0 0 3 0x14200 aiodoned aiodoned 81318 382828 0 0 3 0x14200 syncer update 47189 100224 0 0 3 0x14200 cleaner cleaner 85921 189083 0 0 3 0x14200 reaper reaper 40902 366953 0 0 3 0x14200 pgdaemon pagedaemon 91452 99226 0 0 3 0x14200 bored viomb 57594 477331 0 0 3 0x40014200 acpi0 acpi0 77887 311818 0 0 3 0x14200 bored softnet3 78418 30463 0 0 3 0x14200 bored softnet2 6194 241741 0 0 3 0x14200 bored softnet1 86589 451766 0 0 3 0x14200 bored softnet0 672 322129 0 0 3 0x14200 bored systqmp 53834 388156 0 0 3 0x14200 bored systq 3570 59428 0 0 3 0x40014200 tmoslp softclock 65033 374504 0 0 3 0x40014200 idle0 1 211337 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 10196 11129K 13832K 166960K 12612 0 pcb 17 14K 16K 166960K 149 0 rtable 198 5K 6K 166960K 488 0 pf 27 12K 14K 166960K 62 0 ifaddr 31 5K 7K 166960K 63 0 ifgroup 42 1K 2K 166960K 92 0 sysctl 1 1K 1K 166960K 1 0 counters 28 17K 17K 166960K 49 0 ioctlops 0 0K 4K 166960K 85 0 iov 0 0K 16K 166960K 79 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1564 98K 98K 166960K 1956 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 20 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 14 49K 97K 166960K 526 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 116K 166960K 506 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 119 0 in_multi 67 5K 7K 166960K 107 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 384 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 204 154K 166K 166960K 6180 0 UVM aobj 13 4K 4K 166960K 13 0 pinsyscall 35 70K 96K 166960K 1548 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 36 0 NDP 9 0K 2K 166960K 41 0 temp 41 8675K 8740K 166960K 18541 0 kqueue 13 20K 30K 166960K 82 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 97 0 92 1 0 1 1 0 8 0 rtentry 136 144 0 53 4 0 4 4 0 8 0 unpcb 144 330 0 313 4 0 4 4 0 8 3 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 808 80 0 76 1 0 1 1 0 8 0 arp 88 39 0 6 1 0 1 1 0 8 0 inpcb 344 589 0 582 13 4 9 13 0 8 8 nd6 104 28 0 8 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 13 0 13 1 0 1 1 0 8 1 pppxif 1384 4 0 4 1 0 1 1 0 8 1 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 344 1 0 1 1 0 1 1 0 8 1 pfrule 1344 1 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 494 0 197 29 0 29 29 0 8 7 art_table 32 495 0 197 4 0 4 4 0 8 0 art_node 16 141 0 77 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 37 1 0 1 1 0 8 0 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 24 0 7 3 0 3 3 0 8 0 dino2pl 256 2345 0 849 95 0 95 95 0 8 0 ffsino 248 2345 0 849 95 0 95 95 0 8 0 nchpl 144 2995 0 1321 63 0 63 63 0 8 0 uvmvnodes 80 2788 0 0 57 0 57 57 0 8 0 vnodes 216 2788 0 0 155 0 155 155 0 8 0 namei 1024 9575 0 9575 2 0 2 2 0 8 2 kstatmem 264 48 0 30 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 8703 0 8703 3 0 3 3 1 8 3 plimitpl 152 77 0 60 1 0 1 1 0 8 0 sigapl 424 825 0 762 8 0 8 8 0 8 0 futexpl 64 5568 0 5568 1 0 1 1 0 8 1 knotepl 120 17970 0 17923 9 0 9 9 0 8 7 kqueuepl 184 168 0 159 2 0 2 2 0 8 1 pipepl 296 197 0 170 3 0 3 3 0 8 0 fdescpl 440 787 0 761 5 0 5 5 0 8 1 filepl 120 4543 0 4326 14 0 14 14 0 8 6 lockfpl 104 163 0 161 1 0 1 1 0 8 0 lockfspl 48 37 0 35 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 36 0 20 1 0 1 1 0 8 0 ucredpl 104 824 0 812 1 0 1 1 0 8 0 zombiepl 144 765 0 762 1 0 1 1 0 8 0 processpl 1112 825 0 762 5 0 5 5 0 8 0 procpl 656 1354 0 1290 7 0 7 7 0 8 0 sockpl 528 1021 0 992 11 1 10 11 0 8 7 mcl64k 65536 16 0 16 1 0 1 1 0 8 1 mcl16k 16384 13 0 13 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 15 0 15 1 0 1 1 0 8 1 mcl4k 4096 2978 0 2929 15 0 15 15 0 8 8 mcl2k2 2112 13 0 13 1 0 1 1 0 8 1 mcl2k 2048 517 0 517 3 0 3 3 0 8 3 mtagpl 96 12 0 5 1 0 1 1 0 8 0 mbufpl 256 8577 0 8438 16 0 16 16 0 8 2 bufpl 280 2814 0 117 193 0 193 193 0 8 0 anonpl 24 97441 0 94526 56 0 56 56 0 187 35 amapchunkpl 152 18623 0 18232 28 0 28 28 0 158 9 amappl16 200 1001 0 976 14 4 10 14 0 8 8 amappl15 192 1 0 1 1 0 1 1 0 8 1 amappl14 184 100 0 90 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 0 1 1 0 8 1 amappl12 168 1392 0 1366 3 0 3 3 0 8 1 amappl11 160 48 0 38 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 0 1 1 0 8 1 amappl9 144 252 0 252 1 0 1 1 0 8 1 amappl8 136 24 0 23 1 0 1 1 0 8 0 amappl7 128 92 0 82 1 0 1 1 0 8 0 amappl6 120 165 0 161 1 0 1 1 0 8 0 amappl5 112 128 0 122 1 0 1 1 0 8 0 amappl4 104 283 0 268 1 0 1 1 0 8 0 amappl3 96 3721 0 3633 3 0 3 3 0 8 0 amappl2 88 609 0 555 2 0 2 2 0 8 0 amappl1 80 9416 0 8881 13 0 13 13 0 8 1 amappl 88 5480 0 5341 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 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 254 0 254 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 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 787 0 761 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 787 0 761 1 0 1 1 0 8 0 vmmpekpl 168 7602 0 7569 2 0 2 2 0 8 0 vmmpepl 168 52588 0 50907 92 0 92 92 0 357 8 vmsppl 360 786 0 761 4 0 4 4 0 8 1 rwobjpl 32 17411 0 13803 30 0 30 30 0 8 0 pdppl 4096 1580 0 1522 98 32 66 82 0 8 8 pvpl 32 319522 0 311764 129 0 129 129 0 265 50 pmappl 216 786 0 761 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 271 0 32 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(ffff80000149ac30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149de00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80003c97dc60) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c97dc60) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff800035d15a20) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807377f568,81,fffffd807f7d78f0,ffff80003c97dc60) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd80737b74c0,ffff80003c97dc60) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80737b74c0,ffff80003c97dc60) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80737b74c0,ffff80003c97dc60) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd80737b74c0,ffff80003c97dc60) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80003c97dc60) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c97dc60,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c97dc60,ffff800035d15d90,ffff800035d15ce0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d15d90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d15d90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7237a4a81170, 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(ffff80000149ac30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149de00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575 dtclose(11e5f,81,2000,ffff80003c97dc60) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c97dc60) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff800035d15a20) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807377f568,81,fffffd807f7d78f0,ffff80003c97dc60) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd80737b74c0,ffff80003c97dc60) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80737b74c0,ffff80003c97dc60) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80737b74c0,ffff80003c97dc60) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd80737b74c0,ffff80003c97dc60) at closef+0x18d sys/kern/kern_descrip.c:1249 fdfree(ffff80003c97dc60) at fdfree+0x115 sys/kern/kern_descrip.c:1181 exit1(ffff80003c97dc60,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c97dc60,ffff800035d15d90,ffff800035d15ce0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d15d90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d15d90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7237a4a81170, count: -14