uvm_fault(0xfffffd806c991180, 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 *513898 95294 0 0x10 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001599d30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000165fe80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002a7a4d10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7a4d10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c9e9980) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80636f5d00,81,fffffd8007bfd068,ffff80002a7a4d10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c976da0,ffff80002a7a4d10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c976da0,ffff80002a7a4d10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c976da0,ffff80002a7a4d10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c976da0,ffff80002a7a4d10) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c9e9bd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9e9bd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x481b5a40ec0, count: 4 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(0xfffffd806c991180, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001599d30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000165fe80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002a7a4d10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7a4d10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c9e9980) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80636f5d00,81,fffffd8007bfd068,ffff80002a7a4d10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c976da0,ffff80002a7a4d10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c976da0,ffff80002a7a4d10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c976da0,ffff80002a7a4d10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c976da0,ffff80002a7a4d10) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c9e9bd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9e9bd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x481b5a40ec0, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c9e9830 rbx 0 rdx 0 rcx 0xffff80002a7a4d10 rax 0xffff80002a7a4d00 r8 0xffffffff82ed8c60 uvm_map_inentry_sp r9 0x1 r10 0 r11 0xa6ba4ec572878415 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff829ec6be mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c9e9800 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=513898 pid=95294 tcnt=3 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7a47e0,0xffff80002a7a5780 process=0xffff8000ffff8d98 user=0xffff80003c9e4000, vmspace=0xfffffd806c991180 estcpu=36, cpticks=20, pctcpu=0.0, user=0, sys=20, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18173 442112 49675 0 2 0 syz-executor 18173 24301 49675 0 2 0x4000000 syz-executor 28084 470601 51337 0 2 0 syz-executor 28084 30289 51337 0 2 0x4000000 syz-executor 95294 55268 14269 0 2 0x10 syz-executor *95294 513898 14269 0 7 0x4000010 syz-executor 95294 502035 14269 0 3 0x4000090 fsleep syz-executor 21536 438538 25519 0 2 0 syz-executor 21536 51849 25519 0 2 0x4000000 syz-executor 18317 427097 32368 0 2 0 syz-executor 18317 376862 32368 0 3 0x4000080 fsleep syz-executor 16659 41143 7961 60929 2 0x10 syz-executor 16659 362695 7961 60929 2 0x4000010 syz-executor 17262 332900 15743 0 2 0x2 syz-executor 46165 469916 15743 0 3 0x82 wait syz-executor 3382 192308 1 0 3 0x100083 ttyopn getty 50212 409453 0 0 3 0x14200 acct acct 55137 307643 0 0 3 0x14280 nfsidl nfsio 77578 259790 0 0 3 0x14280 nfsidl nfsio 13191 163469 0 0 3 0x14280 nfsidl nfsio 73938 206691 0 0 3 0x14280 nfsidl nfsio 79697 464056 0 0 3 0x14280 nfsidl nfsio 58894 196588 0 0 3 0x14280 nfsidl nfsio 16323 88391 0 0 3 0x14280 nfsidl nfsio 99433 479938 0 0 3 0x14280 nfsidl nfsio 21772 319201 0 0 3 0x14280 nfsidl nfsio 24922 322549 0 0 3 0x14280 nfsidl nfsio 60115 483749 0 0 3 0x14280 nfsidl nfsio 37951 103100 0 0 3 0x14280 nfsidl nfsio 86090 240636 0 0 3 0x14280 nfsidl nfsio 62865 272587 0 0 3 0x14280 nfsidl nfsio 55464 90512 0 0 3 0x14280 nfsidl nfsio 38616 495506 0 0 3 0x14280 nfsidl nfsio 82049 116136 0 0 3 0x14280 nfsidl nfsio 23437 398729 0 0 3 0x14280 nfsidl nfsio 80599 198495 0 0 3 0x14280 nfsidl nfsio 99833 428407 0 0 3 0x14280 nfsidl nfsio 32368 211076 15743 0 2 0xc82 syz-executor 25519 189781 15743 0 2 0xc82 syz-executor 51337 410420 15743 0 2 0xc82 syz-executor 14269 207867 15743 0 2 0xc82 syz-executor 7961 498464 15743 0 2 0xc82 syz-executor 49675 352277 15743 0 2 0xc82 syz-executor 15743 25129 11495 0 3 0x82 kqread syz-executor 11495 422217 19968 0 3 0x10008a sigsusp ksh 19968 308949 90723 0 3 0x98 kqread sshd-session 90723 357908 76201 0 3 0x92 kqread sshd-session 76201 307322 1 0 3 0x88 kqread sshd 80132 345734 83603 73 3 0x1100090 kqread syslogd 83603 514281 1 0 3 0x100082 sbwait syslogd 78016 158144 1 0 3 0x100080 kqread resolvd 92371 89223 26852 77 3 0x100092 kqread dhcpleased 57863 74180 26852 77 3 0x100092 kqread dhcpleased 26852 269967 1 0 3 0x80 kqread dhcpleased 69612 12769 0 0 2 0x14200 smr 5764 244524 0 0 2 0x14200 zerothread 49460 359946 0 0 3 0x14200 aiodoned aiodoned 70247 290709 0 0 3 0x14200 syncer update 47759 77010 0 0 3 0x14200 cleaner cleaner 56529 472737 0 0 3 0x14200 reaper reaper 42500 178680 0 0 3 0x14200 pgdaemon pagedaemon 37255 132642 0 0 3 0x14200 bored viomb 26414 400754 0 0 3 0x40014200 acpi0 acpi0 41037 183728 0 0 2 0x14200 softnet0 4363 167784 0 0 3 0x14200 bored systqmp 10434 392116 0 0 3 0x14200 bored systq 51946 491669 0 0 2 0x40014200 softclock 68924 284357 0 0 3 0x40014200 idle0 1 479197 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 11083 12129K 12500K 166960K 15140 0 pcb 17 17K 18K 166960K 388 0 rtable 206 10K 10K 166960K 600 0 pf 38 14K 14K 166960K 163 0 ifaddr 38 6K 8K 166960K 130 0 ifgroup 61 2K 2K 166960K 218 0 sysctl 4 1K 9K 166960K 14 0 counters 37 18K 18K 166960K 122 0 ioctlops 0 0K 4K 166960K 430 0 iov 0 0K 16K 166960K 121 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1434 90K 90K 166960K 2791 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 21 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 52 0 dirhash 12 2K 2K 166960K 45 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 232K 166960K 1475 0 sigio 0 0K 0K 166960K 25 0 proc 60 59K 116K 166960K 695 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 315 0 in_multi 76 5K 7K 166960K 185 0 ether_multi 1 0K 0K 166960K 12 0 mrt 1 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 970 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 223 151K 165K 166960K 15039 0 UVM aobj 42 14K 14K 166960K 50 0 pinsyscall 38 76K 94K 166960K 2605 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 100 0 NDP 14 0K 2K 166960K 90 0 temp 72 8670K 8737K 166960K 63560 0 kqueue 14 22K 30K 166960K 278 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 268 0 265 5 2 3 3 0 8 2 rtentry 136 178 0 100 4 0 4 4 0 8 0 unpcb 144 1188 0 1170 9 3 6 6 0 8 5 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 678 0 673 19 10 9 10 0 8 8 arp 96 27 0 12 1 0 1 1 0 8 0 ipq 40 8 0 8 1 0 1 1 0 8 1 ipqe 40 11 0 11 1 0 1 1 0 8 1 inpcb 328 1614 0 1605 20 11 9 12 0 8 8 ip6q 72 6 0 5 1 0 1 1 0 8 0 ip6af 40 11 0 10 1 0 1 1 0 8 0 nd6 112 37 0 18 1 0 1 1 0 8 0 pkpcb 40 7 0 7 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 69 0 67 1 0 1 1 0 8 0 pppxif 1384 9 0 9 1 0 1 1 0 8 1 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 pfrule 1360 1 0 1 1 1 0 1 0 8 0 rttmr 136 5 0 5 2 1 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 837 0 505 32 4 28 31 0 8 7 art_table 40 840 0 505 5 0 5 5 0 8 0 art_node 32 177 0 107 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 7 1 0 1 1 0 8 0 semupl 112 4 0 4 2 1 1 1 0 8 1 semapl 112 50 0 40 1 0 1 1 0 8 0 shmpl 112 38 0 5 1 0 1 1 0 8 0 dirhash 1024 39 0 22 3 0 3 3 0 8 0 dino2pl 256 4174 0 2676 95 0 95 95 0 8 0 ffsino 256 4174 0 2676 95 0 95 95 0 8 0 nchpl 144 6252 0 4554 64 0 64 64 0 8 0 rtmask 32 15 0 14 2 1 1 1 0 8 0 vnodes 216 5118 0 0 285 0 285 285 0 8 0 namei 1024 22119 0 22119 2 1 1 2 0 8 1 vcpupl 3904 6 0 0 1 0 1 1 0 8 0 vmpool 808 8 0 2 1 0 1 1 0 8 0 kstatmem 264 136 0 108 4 1 3 3 0 8 1 scsiplug 72 8 0 8 2 1 1 1 0 8 1 scxspl 216 23460 0 23460 10 7 3 8 1 8 3 plimitpl 152 286 0 270 1 0 1 1 0 8 0 sigapl 424 1773 0 1710 8 0 8 8 0 8 0 knotepl 120 66826 0 66777 24 14 10 15 0 8 8 kqueuepl 184 530 0 520 6 3 3 4 0 8 2 pipepl 304 315 0 288 5 2 3 5 0 8 0 fdescpl 448 1737 0 1708 5 1 4 5 0 8 0 filepl 120 11670 0 11461 15 4 11 13 0 8 4 lockfpl 104 461 0 459 2 1 1 2 0 8 0 lockfspl 48 206 0 204 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 89 0 73 1 0 1 1 0 8 0 ucredpl 104 1892 0 1878 1 0 1 1 0 8 0 zombiepl 144 2197 0 2196 1 0 1 1 0 8 0 processpl 1152 1773 0 1710 5 0 5 5 0 8 0 procpl 664 3881 0 3811 8 0 8 8 0 8 1 sosppl 176 4 0 4 2 1 1 1 0 8 1 sockpl 552 3216 0 3186 21 11 10 12 0 8 7 mcl64k 65536 57 0 57 2 1 1 1 0 8 1 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 27 0 27 2 1 1 1 0 8 1 mcl4k 4096 4314 0 4261 15 7 8 14 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 2384 0 2382 3 0 3 3 0 8 2 mtagpl 96 25 0 13 1 0 1 1 0 8 0 mbufpl 256 18215 0 18063 17 0 17 17 0 8 5 bufpl 280 7598 0 1377 445 0 445 445 0 8 0 anonpl 24 245741 0 242672 82 16 66 66 0 187 33 amapchunkpl 152 50031 0 49578 36 11 25 34 0 158 6 amappl16 200 4463 0 4427 39 27 12 27 0 8 8 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 3 0 3 2 1 1 1 0 8 1 amappl13 176 431 0 430 1 0 1 1 0 8 0 amappl12 168 2099 0 2061 2 0 2 2 0 8 0 amappl11 160 6 0 5 1 0 1 1 0 8 0 amappl10 152 42 0 32 1 0 1 1 0 8 0 amappl9 144 296 0 296 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 90 0 88 1 0 1 1 0 8 0 amappl6 120 291 0 279 1 0 1 1 0 8 0 amappl5 112 68 0 61 1 0 1 1 0 8 0 amappl4 104 402 0 377 1 0 1 1 0 8 0 amappl3 96 8863 0 8778 3 0 3 3 0 8 0 amappl2 88 1872 0 1801 2 0 2 2 0 8 0 amappl1 80 14699 0 14162 13 1 12 13 0 8 0 amappl 88 14031 0 13877 5 0 5 5 0 92 0 uvmvnodes 80 133 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 dma256 256 7 0 7 2 1 1 1 0 8 1 dma128 128 259 0 259 2 1 1 1 0 8 1 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 49 0 8 1 0 1 1 0 8 0 uaddrrnd 24 1737 0 1708 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1737 0 1708 1 0 1 1 0 8 0 vmmpekpl 168 15058 0 15013 3 0 3 3 0 8 0 vmmpepl 168 113540 0 111745 112 9 103 103 0 357 22 vmsppl 368 1736 0 1708 4 1 3 4 0 8 0 rwobjpl 40 29784 0 28775 18 2 16 16 0 8 1 pdppl 4096 3497 0 3426 119 46 73 81 0 8 2 pvpl 32 731328 0 723026 154 21 133 133 0 265 47 pmappl 216 1744 0 1710 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 426 0 78 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(ffff800001599d30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000165fe80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002a7a4d10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7a4d10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c9e9980) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80636f5d00,81,fffffd8007bfd068,ffff80002a7a4d10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c976da0,ffff80002a7a4d10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c976da0,ffff80002a7a4d10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c976da0,ffff80002a7a4d10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c976da0,ffff80002a7a4d10) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c9e9bd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9e9bd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x481b5a40ec0, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001599d30,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000165fe80) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(11e5f,81,2000,ffff80002a7a4d10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7a4d10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c9e9980) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80636f5d00,81,fffffd8007bfd068,ffff80002a7a4d10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c976da0,ffff80002a7a4d10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c976da0,ffff80002a7a4d10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c976da0,ffff80002a7a4d10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c976da0,ffff80002a7a4d10) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c9e9bd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9e9bd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x481b5a40ec0, count: -11