uvm_fault(0xfffffd806c7f3b98, 0x18, 0, 1) -> e kernel: page fault trap, code=0 Stopped at mtx_enter+0x6e: movq 0(%r14),%r15 TID PID UID PRFLAGS PFLAGS CPU COMMAND mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001626830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000166c280) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,1,2000,ffff80002f0f14d8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80002f0f14d8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0ef210) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8068346520,1,fffffd8007bfd340,ffff80002f0f14d8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806d91eac8,ffff80002f0f14d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806d91eac8,ffff80002f0f14d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806d91eac8,ffff80002f0f14d8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806d91eac8,ffff80002f0f14d8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f14d8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f14d8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f14d8,ffff80002f0ef570,ffff80002f0ef4c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0ef570) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0ef570) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x717b494a5e90, 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(0xfffffd806c7f3b98, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001626830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000166c280) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,1,2000,ffff80002f0f14d8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80002f0f14d8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0ef210) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8068346520,1,fffffd8007bfd340,ffff80002f0f14d8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806d91eac8,ffff80002f0f14d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806d91eac8,ffff80002f0f14d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806d91eac8,ffff80002f0f14d8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806d91eac8,ffff80002f0f14d8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f14d8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f14d8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f14d8,ffff80002f0ef570,ffff80002f0ef4c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0ef570) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0ef570) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x717b494a5e90, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002f0ef0c0 rbx 0 rdx 0 rcx 0xffff80002f0f14d8 rax 0xffff80002f0f1400 r8 0xffffffffffffffff r9 0 r10 0x943428d2af785cb4 r11 0x46d879b0b37be528 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff81d924de mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80002f0ef090 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=211391 pid=59989 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=77, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002f0f14d8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002f0f0548,0xffff80003ad26aa0 process=0xffff80003c9b5fa0 user=0xffff80002f0ea000, vmspace=0xfffffd806c7f3b98 estcpu=27, cpticks=3, pctcpu=0.2, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 5258 483637 43390 0 2 0 syz-executor 5258 96835 43390 0 2 0x4000000 syz-executor 60540 404765 97358 0 2 0 syz-executor 60540 354565 97358 0 2 0x4000000 syz-executor 60540 331626 97358 0 3 0x4000080 fsleep syz-executor 60540 340779 97358 0 3 0x4000080 fsleep syz-executor 27604 27704 0 0 3 0x14200 acct acct 45220 13310 0 0 3 0x14280 nfsidl nfsio 20246 500476 0 0 3 0x14280 nfsidl nfsio 11328 108048 0 0 3 0x14280 nfsidl nfsio 80172 427568 0 0 3 0x14280 nfsidl nfsio 33434 247006 0 0 3 0x14280 nfsidl nfsio 89356 207247 0 0 3 0x14280 nfsidl nfsio 75837 458774 0 0 3 0x14280 nfsidl nfsio 29585 242182 0 0 3 0x14280 nfsidl nfsio 83377 79039 0 0 3 0x14280 nfsidl nfsio 13820 406998 0 0 3 0x14280 nfsidl nfsio 56809 122691 0 0 3 0x14280 nfsidl nfsio 24646 479366 0 0 3 0x14280 nfsidl nfsio 69679 345457 0 0 3 0x14280 nfsidl nfsio 83553 493066 0 0 3 0x14280 nfsidl nfsio 62741 398616 0 0 3 0x14280 nfsidl nfsio 52767 271165 0 0 3 0x14280 nfsidl nfsio 39484 233432 0 0 3 0x14280 nfsidl nfsio 36792 290639 0 0 3 0x14280 nfsidl nfsio 33556 319881 0 0 3 0x14280 nfsidl nfsio 73311 84400 0 0 3 0x14280 nfsidl nfsio 63788 141192 1 0 3 0x100083 ttyin getty 66930 78089 29380 0 2 0x2 syz-executor 97358 482834 29380 0 3 0x82 nanoslp syz-executor 27483 445591 29380 0 3 0x82 nanoslp syz-executor 43390 410903 29380 0 3 0x82 nanoslp syz-executor 58491 334855 29380 0 3 0x82 nanoslp syz-executor 90310 88793 29380 0 2 0x2 syz-executor 8595 31135 29380 0 2 0x2 syz-executor 13529 374798 29380 0 2 0x2 syz-executor 29380 344551 44114 0 3 0x82 kqread syz-executor 44114 79939 20977 0 3 0x10008a sigsusp ksh 20977 495768 97663 0 3 0x98 kqread sshd-session 97663 467041 45158 0 3 0x92 kqread sshd-session 45158 81461 1 0 3 0x88 kqread sshd 56335 284708 86235 73 3 0x1100090 kqread syslogd 86235 329564 1 0 3 0x100082 sbwait syslogd 16762 278600 1 0 3 0x100080 kqread resolvd 67317 138243 88354 77 3 0x100092 kqread dhcpleased 65521 51312 88354 77 3 0x100092 kqread dhcpleased 88354 375540 1 0 3 0x80 kqread dhcpleased 3672 259175 0 0 3 0x14200 bored smr 71185 26325 0 0 2 0x14200 zerothread 83829 154921 0 0 3 0x14200 aiodoned aiodoned 64838 380200 0 0 3 0x14200 syncer update 68252 399335 0 0 3 0x14200 cleaner cleaner 984 293076 0 0 3 0x14200 reaper reaper 41876 58799 0 0 3 0x14200 pgdaemon pagedaemon 87180 319820 0 0 3 0x14200 bored viomb 71791 49167 0 0 3 0x40014200 acpi0 acpi0 31333 461769 0 0 3 0x14200 bored softnet0 83561 382364 0 0 3 0x14200 bored systqmp 57423 188084 0 0 3 0x14200 bored systq 28015 441684 0 0 3 0x40014200 tmoslp softclock 37278 515865 0 0 3 0x40014200 idle0 1 506345 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 11070 12260K 12522K 166960K 13039 0 pcb 17 15K 16K 166960K 188 0 rtable 215 8K 9K 166960K 461 0 pf 30 12K 14K 166960K 73 0 ifaddr 37 6K 7K 166960K 68 0 ifgroup 48 2K 2K 166960K 95 0 sysctl 4 1K 9K 166960K 15 0 counters 33 17K 18K 166960K 59 0 ioctlops 0 0K 4K 166960K 114 0 iov 0 0K 24K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1360 86K 86K 166960K 1857 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 3K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 14 49K 93K 166960K 581 0 sigio 0 0K 0K 166960K 41 0 proc 63 67K 100K 166960K 562 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 143 0 in_multi 78 5K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 193 864K 864K 166960K 193 0 exec 0 0K 1K 166960K 401 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 208 162K 174K 166960K 6871 0 UVM aobj 19 8K 8K 166960K 21 0 pinsyscall 35 70K 94K 166960K 1668 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 30 0 NDP 11 0K 2K 166960K 44 0 temp 58 8667K 8735K 166960K 25189 0 kqueue 13 20K 30K 166960K 124 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 75 0 72 1 0 1 1 0 8 0 rtentry 136 131 0 45 4 0 4 4 0 8 0 unpcb 144 285 0 270 2 0 2 2 0 8 1 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpcb 736 207 0 203 7 3 4 4 0 8 3 arp 96 19 0 3 1 0 1 1 0 8 0 ipq 40 3 0 1 1 0 1 1 0 8 0 ipqe 40 5 0 3 1 0 1 1 0 8 0 inpcb 328 627 0 620 10 6 4 8 0 8 3 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 28 0 10 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 22 0 21 2 1 1 1 0 8 0 pppxif 1384 3 0 3 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 538 0 177 29 3 26 29 0 8 2 art_table 40 540 0 177 5 0 5 5 0 8 0 art_node 32 130 0 53 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 16 0 6 1 0 1 1 0 8 0 shmpl 112 15 0 2 1 0 1 1 0 8 0 dirhash 1024 28 0 11 3 0 3 3 0 8 0 dino2pl 256 2541 0 1041 95 0 95 95 0 8 0 ffsino 256 2541 0 1041 95 0 95 95 0 8 0 nchpl 144 3354 0 1663 64 0 64 64 0 8 0 rtmask 32 6 0 6 2 1 1 1 0 8 1 vnodes 216 2860 0 0 159 0 159 159 0 8 0 namei 1024 10876 0 10875 1 0 1 1 0 8 0 vcpupl 3904 3 0 0 1 0 1 1 0 8 0 vmpool 808 3 0 0 1 0 1 1 0 8 0 kstatmem 264 56 0 34 3 0 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 11680 0 11680 9 7 2 8 1 8 2 plimitpl 152 138 0 122 1 0 1 1 0 8 0 sigapl 424 895 0 835 9 1 8 8 0 8 0 knotepl 120 19865 0 19818 18 8 10 10 0 8 8 kqueuepl 184 179 0 168 1 0 1 1 0 8 0 pipepl 304 145 0 118 3 0 3 3 0 8 0 fdescpl 448 859 0 833 5 1 4 5 0 8 0 filepl 120 4876 0 4667 13 4 9 12 0 8 1 lockfpl 104 206 0 204 1 0 1 1 0 8 0 lockfspl 48 94 0 92 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 33 0 17 1 0 1 1 0 8 0 ucredpl 104 781 0 770 1 0 1 1 0 8 0 zombiepl 144 837 0 835 1 0 1 1 0 8 0 processpl 1152 895 0 835 5 0 5 5 0 8 0 procpl 664 1581 0 1517 7 0 7 7 0 8 0 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 552 1002 0 977 10 5 5 8 0 8 3 mcl64k 65536 35 0 35 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 5 0 5 1 1 0 1 0 8 0 mcl4k 4096 3056 0 3004 13 6 7 13 0 8 0 mcl2k 2048 957 0 954 4 2 2 3 0 8 1 mtagpl 96 22 0 14 1 0 1 1 0 8 0 mbufpl 256 8672 0 8518 15 1 14 14 0 8 0 bufpl 280 4386 0 120 305 0 305 305 0 8 0 anonpl 24 144966 0 142114 63 36 27 58 0 187 4 amapchunkpl 152 21880 0 21484 34 10 24 32 0 158 4 amappl16 200 2730 0 2698 22 19 3 22 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 3 0 3 1 1 0 1 0 8 0 amappl13 176 408 0 407 1 0 1 1 0 8 0 amappl12 168 1203 0 1168 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 78 0 68 1 0 1 1 0 8 0 amappl9 144 273 0 273 1 1 0 1 0 8 0 amappl8 136 75 0 74 1 0 1 1 0 8 0 amappl7 128 83 0 82 1 0 1 1 0 8 0 amappl6 120 267 0 256 1 0 1 1 0 8 0 amappl5 112 70 0 63 1 0 1 1 0 8 0 amappl4 104 417 0 393 1 0 1 1 0 8 0 amappl3 96 4259 0 4174 3 0 3 3 0 8 0 amappl2 88 517 0 462 2 0 2 2 0 8 0 amappl1 80 10922 0 10401 14 1 13 13 0 8 1 amappl 88 6071 0 5934 5 0 5 5 0 92 0 uvmvnodes 80 115 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 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 7 0 7 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 20 0 2 1 0 1 1 0 8 0 uaddrrnd 24 859 0 833 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 859 0 833 1 0 1 1 0 8 0 vmmpekpl 168 8327 0 8298 2 0 2 2 0 8 0 vmmpepl 168 61493 0 59871 97 13 84 95 0 357 1 vmsppl 368 858 0 833 4 1 3 4 0 8 0 rwobjpl 40 18676 0 17731 14 3 11 14 0 8 0 pdppl 4096 1731 0 1669 100 32 68 81 0 8 6 pvpl 32 387772 0 380376 146 48 98 129 0 265 14 pmappl 216 861 0 833 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 381 0 53 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001626830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000166c280) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,1,2000,ffff80002f0f14d8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80002f0f14d8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0ef210) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8068346520,1,fffffd8007bfd340,ffff80002f0f14d8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806d91eac8,ffff80002f0f14d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806d91eac8,ffff80002f0f14d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806d91eac8,ffff80002f0f14d8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806d91eac8,ffff80002f0f14d8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f14d8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f14d8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f14d8,ffff80002f0ef570,ffff80002f0ef4c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0ef570) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0ef570) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x717b494a5e90, count: -14 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001626830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000166c280) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,1,2000,ffff80002f0f14d8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80002f0f14d8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002f0ef210) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8068346520,1,fffffd8007bfd340,ffff80002f0f14d8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806d91eac8,ffff80002f0f14d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806d91eac8,ffff80002f0f14d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806d91eac8,ffff80002f0f14d8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806d91eac8,ffff80002f0f14d8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f14d8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f14d8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f14d8,ffff80002f0ef570,ffff80002f0ef4c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0ef570) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0ef570) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x717b494a5e90, count: -14