uvm_fault(0xfffffd806cd0c5d0, 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(ffff800001641f30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000158cc80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,1,2000,ffff80002a746f98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80002a746f98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c923370) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f94f8d0,1,fffffd8007ffd750,ffff80002a746f98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cd19078,ffff80002a746f98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cd19078,ffff80002a746f98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cd19078,ffff80002a746f98) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cd19078,ffff80002a746f98) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80002a746f98) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80002a746f98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a746f98,ffff80003c9236d0,ffff80003c923620) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9236d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9236d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a8a2fc15cb0, 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(0xfffffd806cd0c5d0, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001641f30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000158cc80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,1,2000,ffff80002a746f98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80002a746f98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c923370) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f94f8d0,1,fffffd8007ffd750,ffff80002a746f98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cd19078,ffff80002a746f98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cd19078,ffff80002a746f98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cd19078,ffff80002a746f98) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cd19078,ffff80002a746f98) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80002a746f98) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80002a746f98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a746f98,ffff80003c9236d0,ffff80003c923620) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9236d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9236d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a8a2fc15cb0, count: -14 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c923220 rbx 0 rdx 0 rcx 0xffff80002a746f98 rax 0xffff80002a746f00 r8 0x7f7fffffc000 r9 0 r10 0xea1b3c2cd063c594 r11 0x61cbbc73cbc886de r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff82910a2e mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c9231f0 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=511346 pid=37021 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a746f98 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7ff788,0xffff80003bd0b258 process=0xffff8000ffffa418 user=0xffff80003c91e000, vmspace=0xfffffd806cd0c5d0 estcpu=31, cpticks=7, pctcpu=0.4, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 54200 280056 46229 0 2 0 syz-executor 54200 426321 46229 0 3 0x4000080 fsleep syz-executor 54200 17960 46229 0 2 0x4000000 syz-executor 51023 127043 94702 0 2 0 syz-executor 51023 522048 94702 0 3 0x4000080 fsleep syz-executor 58474 8189 64526 0 2 0 syz-executor 58474 42319 64526 0 3 0x4000080 fsleep syz-executor 46933 101657 6101 60928 3 0x90 nanoslp syz-executor 46933 387543 6101 60928 3 0x4000090 ttyretype syz-executor 46933 389774 6101 60928 3 0x4000090 fsleep syz-executor 58806 4246 42600 0 3 0x80 nanoslp syz-executor 58806 360404 42600 0 3 0x4000080 lockf syz-executor 58806 71086 42600 0 3 0x4000080 fsleep syz-executor 58806 488809 42600 0 3 0x4000080 fsleep syz-executor 55684 433761 89142 0 3 0x82 nanoslp syz-executor 64526 138993 89142 0 3 0x82 nanoslp syz-executor 46229 312671 89142 0 3 0x82 nanoslp syz-executor 6101 375571 89142 0 3 0x82 nanoslp syz-executor 94702 418364 89142 0 3 0x82 nanoslp syz-executor 42428 213171 89142 0 3 0x82 nanoslp syz-executor 42600 43473 89142 0 3 0x82 nanoslp syz-executor 89142 186669 20586 0 2 0x2 syz-executor 20586 156799 73473 0 3 0x10008a sigsusp ksh 73473 473563 88938 0 3 0x98 kqread sshd-session 88938 59512 72810 0 3 0x92 kqread sshd-session 70019 392021 1 0 3 0x100083 ttyopn getty 72810 324007 1 0 3 0x88 kqread sshd 37233 195797 89384 73 3 0x1100090 kqread syslogd 89384 277603 1 0 3 0x100082 sbwait syslogd 20082 58238 1 0 3 0x100080 kqread resolvd 62301 478520 55988 77 3 0x100092 kqread dhcpleased 87470 185891 55988 77 3 0x100092 kqread dhcpleased 55988 5396 1 0 3 0x80 kqread dhcpleased 20180 256265 0 0 3 0x14200 bored smr 83933 232738 0 0 2 0x14200 zerothread 33818 129167 0 0 3 0x14200 aiodoned aiodoned 64953 338509 0 0 3 0x14200 syncer update 33760 424060 0 0 3 0x14200 cleaner cleaner 23804 495311 0 0 3 0x14200 reaper reaper 11495 432166 0 0 3 0x14200 pgdaemon pagedaemon 33232 180634 0 0 3 0x14200 bored viomb 43717 85990 0 0 3 0x40014200 acpi0 acpi0 44782 208205 0 0 3 0x14200 bored softnet0 112 162154 0 0 3 0x14200 bored systqmp 32934 322131 0 0 3 0x14200 bored systq 18673 136877 0 0 3 0x40014200 tmoslp softclock 46747 376417 0 0 3 0x40014200 idle0 1 117241 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 11053 12129K 12586K 166960K 13368 0 pcb 17 16K 18K 166960K 455 0 rtable 207 10K 10K 166960K 524 0 pf 32 13K 14K 166960K 98 0 ifaddr 37 6K 8K 166960K 88 0 ifgroup 53 2K 2K 166960K 132 0 sysctl 4 1K 9K 166960K 10 0 counters 33 17K 18K 166960K 78 0 ioctlops 0 0K 4K 166960K 166 0 iov 0 0K 16K 166960K 22 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1359 86K 86K 166960K 2066 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 97 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 786 0 sigio 0 0K 0K 166960K 23 0 proc 60 59K 124K 166960K 617 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 89 0 in_multi 74 5K 7K 166960K 142 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 20 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 462 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 222 151K 182K 166960K 8646 0 UVM aobj 18 6K 8K 166960K 20 0 pinsyscall 38 76K 96K 166960K 1949 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 38 0 NDP 13 0K 2K 166960K 61 0 temp 50 9069K 9133K 166960K 20614 0 kqueue 13 20K 34K 166960K 149 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 123 0 120 2 0 2 2 0 8 1 rtentry 136 154 0 73 4 0 4 4 0 8 0 unpcb 144 493 0 476 3 1 2 2 0 8 1 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 303 0 298 7 6 1 7 0 8 0 arp 96 23 0 8 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 0 1 0 1 1 0 8 0 inpcb 328 1272 0 1263 18 11 7 12 0 8 5 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 112 39 0 20 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 36 0 36 2 1 1 1 0 8 1 pppxif 1384 1 0 1 1 1 0 1 0 8 0 pfstlim 224 1 0 1 1 1 0 1 0 8 0 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 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 606 0 281 30 8 22 30 0 8 0 art_table 40 609 0 281 5 0 5 5 0 8 0 art_node 32 152 0 80 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 8 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 94 0 84 1 0 1 1 0 8 0 shmpl 112 14 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2834 0 1376 92 0 92 92 0 8 0 ffsino 256 2834 0 1376 92 0 92 92 0 8 0 nchpl 144 3913 0 2207 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 1 0 1 0 8 0 vnodes 216 3293 0 0 183 0 183 183 0 8 0 namei 1024 13378 0 13378 2 1 1 2 0 8 1 vcpupl 3904 3 0 1 1 0 1 1 0 8 0 vmpool 808 3 0 1 1 0 1 1 0 8 0 kstatmem 264 80 0 58 2 0 2 2 0 8 0 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 17135 0 17135 9 7 2 8 1 8 2 plimitpl 152 277 0 260 1 0 1 1 0 8 0 sigapl 424 1080 0 1038 6 1 5 6 0 8 0 knotepl 120 39659 0 39612 32 29 3 27 0 8 1 kqueuepl 184 356 0 347 4 0 4 4 0 8 3 pipepl 304 172 0 145 3 0 3 3 0 8 0 fdescpl 448 1065 0 1036 5 1 4 5 0 8 0 filepl 120 7127 0 6905 11 0 11 11 0 8 2 lockfpl 104 280 0 276 2 0 2 2 0 8 1 lockfspl 48 98 0 95 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 47 0 31 1 0 1 1 0 8 0 ucredpl 104 1386 0 1372 1 0 1 1 0 8 0 zombiepl 144 1121 0 1118 1 0 1 1 0 8 0 processpl 1152 1080 0 1038 4 0 4 4 0 8 0 procpl 664 2054 0 2003 7 1 6 6 0 8 1 sosppl 176 8 0 8 2 1 1 1 0 8 1 sockpl 552 1917 0 1888 18 10 8 12 0 8 4 mcl64k 65536 36 0 36 2 1 1 1 0 8 1 mcl12k 12288 3 0 3 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 9 0 9 1 1 0 1 0 8 0 mcl4k 4096 3336 0 3281 15 7 8 15 0 8 0 mcl2k 2048 859 0 859 1 0 1 1 0 8 1 mtagpl 96 14 0 9 1 0 1 1 0 8 0 mbufpl 256 11723 0 11553 32 0 32 32 0 8 18 bufpl 280 6010 0 108 422 0 422 422 0 8 0 anonpl 24 169185 0 166096 46 9 37 46 0 187 1 amapchunkpl 152 27866 0 27398 34 10 24 31 0 158 4 amappl16 200 3204 0 3176 16 7 9 15 0 8 2 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 493 0 492 1 0 1 1 0 8 0 amappl13 176 126 0 116 1 0 1 1 0 8 0 amappl12 168 1312 0 1284 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 255 0 255 1 1 0 1 0 8 0 amappl8 136 105 0 103 1 0 1 1 0 8 0 amappl7 128 152 0 141 1 0 1 1 0 8 0 amappl6 120 219 0 218 1 0 1 1 0 8 0 amappl5 112 102 0 94 1 0 1 1 0 8 0 amappl4 104 306 0 288 1 0 1 1 0 8 0 amappl3 96 5684 0 5576 4 0 4 4 0 8 0 amappl2 88 565 0 511 2 0 2 2 0 8 0 amappl1 80 13290 0 12744 16 4 12 16 0 8 0 amappl 88 7786 0 7627 5 0 5 5 0 92 0 uvmvnodes 80 111 0 0 3 0 3 3 0 8 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 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 7 0 7 1 1 0 1 0 8 0 dma128 128 254 0 254 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 19 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1065 0 1036 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1065 0 1036 1 0 1 1 0 8 0 vmmpekpl 168 10290 0 10256 3 0 3 3 0 8 0 vmmpepl 168 75432 0 73648 99 12 87 99 0 357 1 vmsppl 368 1064 0 1036 4 1 3 4 0 8 0 rwobjpl 40 22822 0 21854 14 0 14 14 0 8 0 pdppl 4096 2142 0 2076 110 40 70 82 0 8 4 pvpl 32 473293 0 465039 133 39 94 131 0 265 2 pmappl 216 1067 0 1037 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 406 0 71 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(ffff800001641f30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000158cc80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,1,2000,ffff80002a746f98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80002a746f98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c923370) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f94f8d0,1,fffffd8007ffd750,ffff80002a746f98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cd19078,ffff80002a746f98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cd19078,ffff80002a746f98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cd19078,ffff80002a746f98) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cd19078,ffff80002a746f98) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80002a746f98) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80002a746f98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a746f98,ffff80003c9236d0,ffff80003c923620) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9236d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9236d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a8a2fc15cb0, 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(ffff800001641f30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000158cc80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,1,2000,ffff80002a746f98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,1,2000,ffff80002a746f98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c923370) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f94f8d0,1,fffffd8007ffd750,ffff80002a746f98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cd19078,ffff80002a746f98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cd19078,ffff80002a746f98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cd19078,ffff80002a746f98) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cd19078,ffff80002a746f98) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80002a746f98) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80002a746f98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a746f98,ffff80003c9236d0,ffff80003c923620) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9236d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9236d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a8a2fc15cb0, count: -14