uvm_fault(0xfffffd806c992010, 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(ffff80000158c830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000158ea00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002f0f0018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002f0f0018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003490f440) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069264b20,81,fffffd8007bfd618,ffff80002f0f0018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806caf4798,ffff80002f0f0018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806caf4798,ffff80002f0f0018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806caf4798,ffff80002f0f0018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806caf4798,ffff80002f0f0018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f0018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f0018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f0018,ffff80003490f7a0,ffff80003490f6f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003490f7a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003490f7a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7453a2fc6570, 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(0xfffffd806c992010, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff80000158c830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000158ea00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002f0f0018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002f0f0018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003490f440) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069264b20,81,fffffd8007bfd618,ffff80002f0f0018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806caf4798,ffff80002f0f0018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806caf4798,ffff80002f0f0018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806caf4798,ffff80002f0f0018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806caf4798,ffff80002f0f0018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f0018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f0018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f0018,ffff80003490f7a0,ffff80003490f6f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003490f7a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003490f7a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7453a2fc6570, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003490f2f0 rbx 0 rdx 0 rcx 0xffff80002f0f0018 rax 0xffff80002f0f0000 r8 0xffffffffffffffff r9 0 r10 0xadf0e5eba79fe9f5 r11 0x9f1aa30386d176ea r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff82cbb02e mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003490f2c0 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=252875 pid=83065 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002f0f0018 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000328fc550,0xffff80002a7b7778 process=0xffff8000328fa418 user=0xffff80003490a000, vmspace=0xfffffd806c992010 estcpu=31, cpticks=2, pctcpu=0.1, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 52285 321384 97684 0 2 0 syz-executor 52285 6278 97684 0 2 0x4000000 syz-executor 80490 272036 76016 0 2 0 syz-executor 80490 53472 76016 0 3 0x4000080 fsleep syz-executor 5697 236866 67264 0 2 0 syz-executor 5697 263458 67264 0 3 0x4000080 fsleep syz-executor 17920 24842 14926 0 2 0 syz-executor 17920 70594 14926 0 3 0x4000080 fsleep syz-executor 4549 139031 37760 0 2 0 syz-executor 4549 251342 37760 0 3 0x4000080 fsleep syz-executor 4549 205798 37760 0 3 0x4000080 fsleep syz-executor 62923 267075 19657 0 2 0 syz-executor 62923 191549 19657 0 3 0x4000080 fsleep syz-executor 95129 256388 0 0 3 0x14200 acct acct 72445 194932 1 0 3 0x100083 ttyin getty 69919 58795 88049 0 2 0x2 syz-executor 14926 350332 88049 0 3 0x82 nanoslp syz-executor 67264 1390 88049 0 3 0x82 nanoslp syz-executor 37760 267399 88049 0 3 0x82 nanoslp syz-executor 19657 335791 88049 0 3 0x82 nanoslp syz-executor 76016 395069 88049 0 3 0x82 nanoslp syz-executor 17991 186462 88049 0 3 0x82 nanoslp syz-executor 97684 428410 88049 0 3 0x82 nanoslp syz-executor 88049 212091 67158 0 3 0x82 kqread syz-executor 67158 517473 39070 0 3 0x10008a sigsusp ksh 39070 369889 50286 0 3 0x98 kqread sshd-session 50286 520497 73432 0 3 0x92 kqread sshd-session 73432 17951 1 0 3 0x88 kqread sshd 34915 37927 30280 73 3 0x1100090 kqread syslogd 30280 230393 1 0 3 0x100082 sbwait syslogd 78582 132005 1 0 3 0x100080 kqread resolvd 91870 402051 49138 77 3 0x100092 kqread dhcpleased 76808 314519 49138 77 3 0x100092 kqread dhcpleased 49138 180782 1 0 3 0x80 kqread dhcpleased 65975 489548 0 0 3 0x14200 bored smr 78254 456218 0 0 2 0x14200 zerothread 80864 4950 0 0 3 0x14200 aiodoned aiodoned 89597 305706 0 0 3 0x14200 syncer update 51945 395441 0 0 3 0x14200 cleaner cleaner 94499 253520 0 0 3 0x14200 reaper reaper 75613 209818 0 0 3 0x14200 pgdaemon pagedaemon 84321 345934 0 0 3 0x14200 bored viomb 58236 156434 0 0 3 0x40014200 acpi0 acpi0 11067 353953 0 0 3 0x14200 bored softnet0 93587 173838 0 0 3 0x14200 bored systqmp 57877 458113 0 0 3 0x14200 bored systq 56629 53615 0 0 3 0x40014200 tmoslp softclock 23698 352200 0 0 3 0x40014200 idle0 1 35736 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 11074 12181K 12743K 166960K 14104 0 pcb 18 17K 21K 166960K 310 0 rtable 166 7K 8K 166960K 487 0 pf 33 13K 15K 166960K 104 0 ifaddr 32 5K 8K 166960K 85 0 ifgroup 51 2K 2K 166960K 141 0 sysctl 3 1K 9K 166960K 13 0 counters 34 17K 18K 166960K 70 0 ioctlops 0 0K 4K 166960K 195 0 iov 0 0K 12K 166960K 36 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1397 88K 88K 166960K 2276 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 106 0 dirhash 12 2K 3K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 106K 166960K 857 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 83K 166960K 551 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 73 0 in_multi 61 4K 7K 166960K 138 0 ether_multi 1 0K 0K 166960K 12 0 mrt 1 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 151 678K 678K 166960K 151 0 exec 0 0K 1K 166960K 456 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 229 149K 163K 166960K 9209 0 UVM aobj 89 11K 13K 166960K 98 0 pinsyscall 38 76K 94K 166960K 1925 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 42 0 NDP 12 0K 2K 166960K 57 0 temp 51 8673K 8737K 166960K 31442 0 kqueue 16 22K 33K 166960K 157 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 95 0 91 1 0 1 1 0 8 0 rtentry 136 136 0 77 4 0 4 4 0 8 0 unpcb 144 621 0 605 6 0 6 6 0 8 5 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 324 0 320 4 0 4 4 0 8 3 arp 96 20 0 10 1 0 1 1 0 8 0 ipq 40 4 0 1 1 0 1 1 0 8 0 ipqe 40 5 0 2 1 0 1 1 0 8 0 inpcb 328 895 0 885 9 0 9 9 0 8 7 nd6 112 26 0 13 1 0 1 1 0 8 0 pkpcb 40 8 0 8 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 25 0 25 1 0 1 1 0 8 1 pppxif 1384 3 0 3 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 626 0 318 30 0 30 30 0 8 8 art_table 40 628 0 318 5 0 5 5 0 8 0 art_node 32 135 0 82 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 104 0 94 1 0 1 1 0 8 0 shmpl 112 88 0 5 3 0 3 3 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 3031 0 1536 95 0 95 95 0 8 0 ffsino 256 3031 0 1536 95 0 95 95 0 8 0 nchpl 144 4213 0 2514 64 0 64 64 0 8 0 rtmask 32 5 0 5 1 0 1 1 0 8 1 vnodes 216 3646 0 0 203 0 203 203 0 8 0 namei 1024 14440 0 14440 1 0 1 1 0 8 1 vcpupl 3904 3 0 0 1 0 1 1 0 8 0 vmpool 808 6 0 3 1 0 1 1 0 8 0 kstatmem 264 80 0 56 3 0 3 3 0 8 1 scsiplug 72 6 0 6 1 0 1 1 0 8 1 scxspl 216 14783 0 14783 8 0 8 8 1 8 8 plimitpl 152 198 0 180 1 0 1 1 0 8 0 sigapl 424 1142 0 1099 6 0 6 6 0 8 0 knotepl 120 31571 0 31522 19 9 10 16 0 8 7 kqueuepl 184 291 0 281 5 0 5 5 0 8 4 pipepl 304 163 0 136 3 0 3 3 0 8 0 fdescpl 448 1125 0 1096 5 0 5 5 0 8 1 filepl 120 6933 0 6712 14 0 14 14 0 8 6 lockfpl 104 183 0 181 1 0 1 1 0 8 0 lockfspl 48 82 0 80 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 75 0 59 1 0 1 1 0 8 0 ucredpl 104 1290 0 1278 1 0 1 1 0 8 0 zombiepl 144 1100 0 1099 1 0 1 1 0 8 0 processpl 1152 1142 0 1099 4 0 4 4 0 8 0 procpl 664 2202 0 2152 6 0 6 6 0 8 1 sosppl 176 3 0 3 1 0 1 1 0 8 1 sockpl 552 1651 0 1621 12 2 10 12 0 8 7 mcl64k 65536 57 0 57 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 3399 0 3346 14 0 14 14 0 8 7 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1011 0 1007 3 0 3 3 0 8 1 mtagpl 96 49 0 6 2 0 2 2 0 8 0 mbufpl 256 11426 0 11245 15 0 15 15 0 8 3 bufpl 280 4722 0 120 329 0 329 329 0 8 0 anonpl 24 195443 0 189970 56 0 56 56 0 187 22 amapchunkpl 152 31586 0 30993 37 0 37 37 0 158 12 amappl16 200 3434 0 3383 21 7 14 16 0 8 8 amappl15 192 9 0 9 1 0 1 1 0 8 1 amappl14 184 9 0 9 1 0 1 1 0 8 1 amappl13 176 405 0 404 1 0 1 1 0 8 0 amappl12 168 1464 0 1425 2 0 2 2 0 8 0 amappl11 160 10 0 9 1 0 1 1 0 8 0 amappl10 152 74 0 64 1 0 1 1 0 8 0 amappl9 144 250 0 250 1 0 1 1 0 8 1 amappl8 136 24 0 23 1 0 1 1 0 8 0 amappl7 128 99 0 97 1 0 1 1 0 8 0 amappl6 120 263 0 251 1 0 1 1 0 8 0 amappl5 112 76 0 67 1 0 1 1 0 8 0 amappl4 104 396 0 370 1 0 1 1 0 8 0 amappl3 96 5294 0 5207 3 0 3 3 0 8 0 amappl2 88 1270 0 1199 2 0 2 2 0 8 0 amappl1 80 11749 0 11207 13 0 13 13 0 8 1 amappl 88 8391 0 8232 5 0 5 5 0 92 1 uvmvnodes 80 124 0 0 3 0 3 3 0 8 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 1 0 1 1 0 8 1 dma2048 2048 2 0 2 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 255 0 255 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 97 0 9 2 0 2 2 0 8 0 uaddrrnd 24 1125 0 1096 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1125 0 1096 1 0 1 1 0 8 0 vmmpekpl 168 9753 0 9719 2 0 2 2 0 8 0 vmmpepl 168 75973 0 74157 93 0 93 93 0 357 11 vmsppl 368 1124 0 1096 4 0 4 4 0 8 1 rwobjpl 40 21814 0 20742 14 0 14 14 0 8 0 pdppl 4096 2269 0 2201 113 43 70 79 0 8 2 pvpl 32 511333 0 497673 137 0 137 137 0 265 26 pmappl 216 1130 0 1099 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 394 0 43 11 0 11 11 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(ffff80000158c830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000158ea00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002f0f0018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002f0f0018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003490f440) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069264b20,81,fffffd8007bfd618,ffff80002f0f0018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806caf4798,ffff80002f0f0018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806caf4798,ffff80002f0f0018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806caf4798,ffff80002f0f0018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806caf4798,ffff80002f0f0018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f0018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f0018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f0018,ffff80003490f7a0,ffff80003490f6f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003490f7a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003490f7a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7453a2fc6570, 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(ffff80000158c830,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000158ea00) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002f0f0018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002f0f0018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003490f440) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069264b20,81,fffffd8007bfd618,ffff80002f0f0018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806caf4798,ffff80002f0f0018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806caf4798,ffff80002f0f0018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806caf4798,ffff80002f0f0018) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806caf4798,ffff80002f0f0018) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f0f0018) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f0f0018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f0f0018,ffff80003490f7a0,ffff80003490f6f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003490f7a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003490f7a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7453a2fc6570, count: -14