uvm_fault(0xfffffd807e995a28, 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 * 94165 88141 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000015c6430,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149a680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002a7894f0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7894f0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d15380) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c0f1438,81,fffffd8007bfd6e8,ffff80002a7894f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806e7a5450,ffff80002a7894f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806e7a5450,ffff80002a7894f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806e7a5450,ffff80002a7894f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806e7a5450,ffff80002a7894f0) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff800035d155d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d155d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x65191e80d60, 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(0xfffffd807e995a28, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff8000015c6430,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149a680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002a7894f0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7894f0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d15380) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c0f1438,81,fffffd8007bfd6e8,ffff80002a7894f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806e7a5450,ffff80002a7894f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806e7a5450,ffff80002a7894f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806e7a5450,ffff80002a7894f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806e7a5450,ffff80002a7894f0) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff800035d155d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d155d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x65191e80d60, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff800035d15230 rbx 0 rdx 0 rcx 0xffff80002a7894f0 rax 0xffff80002a789400 r8 0 r9 0x1 r10 0 r11 0x40cdce75aae2b30f r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff81fb06be mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff800035d15200 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=94165 pid=88141 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a789788,0xffff80002a789a30 process=0xffff8000ffff9698 user=0xffff800035d10000, vmspace=0xfffffd807e995a28 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 68265 186477 31624 0 2 0 syz-executor 68265 73282 31624 0 2 0x4000000 syz-executor 73978 78514 10323 0 2 0 syz-executor 73978 235791 10323 0 3 0x4000080 fsleep syz-executor 73978 59170 10323 0 2 0x4000000 syz-executor 86814 313167 50544 0 2 0 syz-executor 86814 349673 50544 0 3 0x4000080 fsleep syz-executor 88141 425324 73239 0 2 0 syz-executor *88141 94165 73239 0 7 0x4000000 syz-executor 88141 1797 73239 0 3 0x4000080 fsleep syz-executor 13557 398524 70143 0 2 0 syz-executor 13557 60525 70143 0 3 0x4000080 fsleep syz-executor 74115 226827 90498 0 2 0 syz-executor 74115 421152 90498 0 3 0x4000080 kqsel syz-executor 74115 225991 90498 0 2 0x4000000 syz-executor 74115 271845 90498 0 3 0x4000080 fsleep syz-executor 74115 454154 90498 0 2 0x4000000 syz-executor 92465 36999 1 0 3 0x100083 ttyin getty 70143 279509 23093 0 2 0xc82 syz-executor 31624 53811 23093 0 3 0x82 nanoslp syz-executor 50544 41438 23093 0 3 0x82 nanoslp syz-executor 11075 42974 23093 0 2 0x2 syz-executor 73239 377008 23093 0 2 0xc82 syz-executor 90498 138245 23093 0 2 0xc82 syz-executor 10323 101500 23093 0 3 0x82 nanoslp syz-executor 64640 486829 23093 0 2 0x2 syz-executor 23093 397375 72684 0 3 0x82 kqread syz-executor 72684 499927 69668 0 3 0x10008a sigsusp ksh 69668 100769 86008 0 3 0x98 kqread sshd-session 86008 50349 78183 0 3 0x92 kqread sshd-session 78183 386718 1 0 3 0x88 kqread sshd 42545 280869 3511 73 3 0x1100090 kqread syslogd 3511 368691 1 0 3 0x100082 sbwait syslogd 56466 325351 1 0 3 0x100080 kqread resolvd 71371 368876 31793 77 3 0x100092 kqread dhcpleased 32463 195880 31793 77 3 0x100092 kqread dhcpleased 31793 31627 1 0 3 0x80 kqread dhcpleased 68023 500632 0 0 3 0x14200 bored smr 13161 192431 0 0 2 0x14200 zerothread 5391 218657 0 0 3 0x14200 aiodoned aiodoned 51487 59798 0 0 3 0x14200 syncer update 78525 489957 0 0 3 0x14200 cleaner cleaner 91352 86104 0 0 3 0x14200 reaper reaper 53608 108292 0 0 3 0x14200 pgdaemon pagedaemon 42814 180584 0 0 3 0x14200 bored viomb 40275 423323 0 0 3 0x40014200 acpi0 acpi0 9079 487124 0 0 3 0x14200 bored softnet0 51629 208105 0 0 3 0x14200 bored systqmp 26442 333350 0 0 3 0x14200 bored systq 65319 145810 0 0 3 0x40014200 tmoslp softclock 52417 172987 0 0 3 0x40014200 idle0 1 421301 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 10184 11130K 12380K 166960K 12971 0 pcb 18 12K 12K 166960K 185 0 rtable 255 11K 12K 166960K 508 0 pf 31 13K 20K 166960K 108 0 ifaddr 41 7K 8K 166960K 78 0 ifgroup 53 2K 2K 166960K 121 0 sysctl 3 1K 9K 166960K 10 0 counters 33 17K 18K 166960K 73 0 ioctlops 0 0K 4K 166960K 282 0 iov 0 0K 16K 166960K 110 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1464 92K 92K 166960K 2143 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 6K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 17 149K 149K 166960K 36 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 110K 166960K 867 0 sigio 0 0K 0K 166960K 20 0 proc 61 59K 108K 166960K 565 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 71 0 in_multi 98 7K 7K 166960K 124 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 472 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 226 147K 174K 166960K 9641 0 UVM aobj 68 17K 17K 166960K 72 0 pinsyscall 38 76K 96K 166960K 1962 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 27 0 NDP 11 0K 2K 166960K 52 0 temp 60 8667K 8740K 166960K 35997 0 kqueue 15 24K 28K 166960K 185 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 92 1 0 1 1 0 8 0 rtentry 136 134 0 32 4 0 4 4 0 8 0 unpcb 144 591 0 574 4 0 4 4 0 8 3 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 736 217 0 211 1 0 1 1 0 8 0 arp 96 19 0 3 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 8 0 5 1 0 1 1 0 8 0 inpcb 328 529 0 518 2 0 2 2 0 8 0 ip6q 72 8 0 6 1 0 1 1 0 8 0 ip6af 40 16 0 14 1 0 1 1 0 8 0 nd6 112 30 0 3 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 35 0 35 2 1 1 1 0 8 1 pppxif 1384 3 0 3 2 1 1 1 0 8 1 pfrktable 1344 3 0 3 2 1 1 1 0 8 1 pfrule 1344 36 0 36 2 1 1 1 0 8 1 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 605 0 155 31 1 30 31 0 8 1 art_table 40 609 0 155 5 0 5 5 0 8 0 art_node 32 133 0 42 1 0 1 1 0 8 0 sysvmsgpl 40 48 0 14 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 31 0 16 1 0 1 1 0 8 0 shmpl 112 59 0 0 2 0 2 2 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2913 0 1418 95 0 95 95 0 8 0 ffsino 256 2913 0 1418 95 0 95 95 0 8 0 nchpl 144 4193 0 2506 64 0 64 64 0 8 0 rtmask 32 9 0 9 1 1 0 1 0 8 0 vnodes 216 3525 0 0 196 0 196 196 0 8 0 namei 1024 13908 0 13907 2 1 1 2 0 8 0 vcpupl 3904 6 0 0 1 0 1 1 0 8 0 vmpool 800 10 0 4 1 0 1 1 0 8 0 kstatmem 264 72 0 50 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 14942 0 14942 9 7 2 8 1 8 2 plimitpl 152 161 0 145 1 0 1 1 0 8 0 sigapl 424 1156 0 1114 6 0 6 6 0 8 0 knotepl 120 33049 0 32995 17 7 10 10 0 8 7 kqueuepl 184 386 0 374 5 2 3 3 0 8 2 pipepl 304 180 0 151 3 0 3 3 0 8 0 fdescpl 448 1141 0 1112 5 1 4 5 0 8 0 filepl 120 6668 0 6455 12 2 10 11 0 8 1 lockfpl 104 393 0 389 1 0 1 1 0 8 0 lockfspl 48 146 0 142 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 41 0 25 1 0 1 1 0 8 0 ucredpl 104 914 0 903 1 0 1 1 0 8 0 zombiepl 144 1382 0 1382 1 0 1 1 0 8 1 processpl 1152 1156 0 1114 4 0 4 4 0 8 0 procpl 664 2331 0 2278 7 1 6 6 0 8 1 sosppl 176 2 0 1 1 0 1 1 0 8 0 sockpl 552 1392 0 1360 9 1 8 8 0 8 5 mcl64k 65536 116 0 116 2 1 1 1 0 8 1 mcl12k 12288 34 0 34 2 1 1 1 0 8 1 mcl9k 9216 4 0 4 2 1 1 1 0 8 1 mcl8k 8192 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 3445 0 3390 16 8 8 16 0 8 0 mcl2k 2048 1450 0 1442 4 2 2 3 0 8 1 mtagpl 96 29 0 9 1 0 1 1 0 8 0 mbufpl 256 13035 0 12779 82 63 19 76 0 8 2 bufpl 280 4913 0 123 343 0 343 343 0 8 0 anonpl 24 186606 0 183563 56 13 43 49 0 187 15 amapchunkpl 152 32331 0 31873 37 11 26 32 0 158 6 amappl16 200 3086 0 3054 21 10 11 18 0 8 8 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 8 0 8 1 1 0 1 0 8 0 amappl13 176 406 0 405 1 0 1 1 0 8 0 amappl12 168 1493 0 1455 2 0 2 2 0 8 0 amappl11 160 49 0 48 1 0 1 1 0 8 0 amappl10 152 42 0 31 1 0 1 1 0 8 0 amappl9 144 253 0 253 1 1 0 1 0 8 0 amappl8 136 19 0 18 1 0 1 1 0 8 0 amappl7 128 99 0 98 1 0 1 1 0 8 0 amappl6 120 264 0 253 1 0 1 1 0 8 0 amappl5 112 83 0 76 1 0 1 1 0 8 0 amappl4 104 397 0 374 1 0 1 1 0 8 0 amappl3 96 6168 0 6068 4 0 4 4 0 8 0 amappl2 88 554 0 499 2 0 2 2 0 8 0 amappl1 80 12935 0 12397 15 1 14 15 0 8 0 amappl 88 8775 0 8618 5 0 5 5 0 92 1 uvmvnodes 80 125 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 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 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 71 0 4 2 0 2 2 0 8 0 uaddrrnd 24 1140 0 1112 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1140 0 1112 1 0 1 1 0 8 0 vmmpekpl 168 10529 0 10485 3 0 3 3 0 8 1 vmmpepl 168 78487 0 76735 96 4 92 93 0 357 9 vmsppl 368 1140 0 1112 4 1 3 4 0 8 0 rwobjpl 40 22862 0 21835 13 0 13 13 0 8 0 pdppl 4096 2308 0 2238 122 50 72 82 0 8 2 pvpl 32 515049 0 507015 129 15 114 129 0 265 25 pmappl 216 1150 0 1116 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 473 0 132 12 0 12 12 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(ffff8000015c6430,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149a680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002a7894f0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7894f0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d15380) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c0f1438,81,fffffd8007bfd6e8,ffff80002a7894f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806e7a5450,ffff80002a7894f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806e7a5450,ffff80002a7894f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806e7a5450,ffff80002a7894f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806e7a5450,ffff80002a7894f0) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff800035d155d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d155d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x65191e80d60, 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(ffff8000015c6430,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff80000149a680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(21e5f,81,2000,ffff80002a7894f0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7894f0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d15380) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c0f1438,81,fffffd8007bfd6e8,ffff80002a7894f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806e7a5450,ffff80002a7894f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806e7a5450,ffff80002a7894f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806e7a5450,ffff80002a7894f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806e7a5450,ffff80002a7894f0) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff800035d155d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d155d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x65191e80d60, count: -11