uvm_fault(0xfffffd806c99a2f0, 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 *150185 9371 0 0 0x4000000 0 syz-executor mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001634930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001791680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,81,2000,ffff80002a7aba08) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002a7aba08) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c983850) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807e806b48,81,fffffd8007bfd618,ffff80002a7aba08) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060827f18,ffff80002a7aba08) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060827f18,ffff80002a7aba08) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8060827f18,ffff80002a7aba08) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060827f18,ffff80002a7aba08) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c983aa0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c983aa0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39f3c965210, 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(0xfffffd806c99a2f0, 0x18, 0, 1) -> e ddb> trace mtx_enter(18) at mtx_enter+0x6e sys/kern/kern_lock.c:549 clockintr_unbind(ffff800001634930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001791680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,81,2000,ffff80002a7aba08) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002a7aba08) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c983850) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807e806b48,81,fffffd8007bfd618,ffff80002a7aba08) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060827f18,ffff80002a7aba08) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060827f18,ffff80002a7aba08) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8060827f18,ffff80002a7aba08) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060827f18,ffff80002a7aba08) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c983aa0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c983aa0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39f3c965210, count: -11 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c983700 rbx 0 rdx 0 rcx 0xffff80002a7aba08 rax 0xffff80002a7aba00 r8 0xffffffff8121c880 uvm_map_inentry_sp r9 0x1 r10 0 r11 0x6145d427d01cbd05 r12 0x1 r13 0 r14 0x18 r15 0 rip 0xffffffff832901fe mtx_enter+0x6e cs 0x8 rflags 0x10297 __ALIGN_SIZE+0xf297 rsp 0xffff80003c9836d0 ss 0x10 mtx_enter+0x6e: movq 0(%r14),%r15 ddb> show proc PROC (syz-executor) tid=150185 pid=9371 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7ab240,0xffff80002a7abcb0 process=0xffff80003711b198 user=0xffff80003c97e000, vmspace=0xfffffd806c99a2f0 estcpu=34, cpticks=1, pctcpu=0.1, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 5029 302906 80637 0 2 0 syz-executor 9371 212272 23077 0 2 0 syz-executor * 9371 150185 23077 0 7 0x4000000 syz-executor 9371 220848 23077 0 3 0x4000080 fsleep syz-executor 9371 424192 23077 0 3 0x4000080 fsleep syz-executor 33020 68353 99783 0 3 0x80 nanoslp syz-executor 33020 13053 99783 0 3 0x4000080 fifor syz-executor 33020 252108 99783 0 3 0x4000080 fsleep syz-executor 33020 83561 99783 0 3 0x4000080 fsleep syz-executor 19704 388802 35275 0 2 0x2 syz-executor 56983 88766 1 0 3 0x100083 ttyopn getty 58831 68753 35275 0 2 0x2 syz-executor 38249 169943 0 0 3 0x14280 nfsidl nfsio 32516 478811 35275 0 3 0x82 nanoslp syz-executor 22122 340848 35275 0 2 0xc82 syz-executor 38039 165982 35275 0 3 0x82 wait syz-executor 80637 276654 35275 0 3 0x82 nanoslp syz-executor 23077 432379 35275 0 2 0xc82 syz-executor 99783 508303 35275 0 3 0x82 nanoslp syz-executor 35275 295420 4646 0 3 0x82 kqread syz-executor 4646 169405 37540 0 3 0x10008a sigsusp ksh 37540 218912 39733 0 3 0x98 kqread sshd-session 39733 61157 34629 0 3 0x92 kqread sshd-session 34629 180015 1 0 3 0x88 kqread sshd 3973 64599 63374 73 3 0x1100090 kqread syslogd 63374 161378 1 0 3 0x100082 sbwait syslogd 68871 74009 1 0 3 0x100080 kqread resolvd 73789 283174 45631 77 3 0x100092 kqread dhcpleased 66508 228419 45631 77 3 0x100092 kqread dhcpleased 45631 491895 1 0 3 0x80 kqread dhcpleased 16137 477723 0 0 3 0x14200 bored smr 38782 86388 0 0 2 0x14200 zerothread 98990 38489 0 0 3 0x14200 aiodoned aiodoned 57533 1576 0 0 3 0x14200 syncer update 50208 256645 0 0 3 0x14200 cleaner cleaner 61530 132670 0 0 3 0x14200 reaper reaper 26549 431100 0 0 3 0x14200 pgdaemon pagedaemon 40762 174543 0 0 3 0x14200 bored viomb 36190 436138 0 0 3 0x40014200 acpi0 acpi0 97453 176249 0 0 2 0x14200 softnet0 58903 383839 0 0 3 0x14200 bored systqmp 63735 385514 0 0 3 0x14200 bored systq 92982 22080 0 0 3 0x40014200 tmoslp softclock 87503 110253 0 0 3 0x40014200 idle0 1 513938 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 12188K 13238K 166960K 14173 0 pcb 18 12K 20K 166960K 258 0 rtable 227 10K 10K 166960K 768 0 pf 30 12K 14K 166960K 98 0 ifaddr 40 7K 7K 166960K 87 0 ifgroup 47 1K 2K 166960K 118 0 sysctl 4 1K 9K 166960K 13 0 counters 33 17K 18K 166960K 237 0 ioctlops 0 0K 4K 166960K 589 0 iov 0 0K 24K 166960K 55 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1521 96K 96K 166960K 2432 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 19 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 31 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 1152 0 sigio 0 0K 0K 166960K 57 0 proc 60 59K 83K 166960K 651 0 subproc 72 4K 4K 166960K 91 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 104 0 in_multi 93 6K 7K 166960K 156 0 ether_multi 1 0K 0K 166960K 8 0 mrt 1 0K 0K 166960K 12 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 464 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 236 163K 177K 166960K 12266 0 UVM aobj 12 8K 8K 166960K 13 0 pinsyscall 38 76K 96K 166960K 2280 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 52 0 NDP 11 0K 2K 166960K 60 0 temp 112 8679K 8927K 166960K 50356 0 kqueue 13 20K 29K 166960K 223 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 153 0 150 1 0 1 1 0 8 0 rtentry 136 190 0 97 4 0 4 4 0 8 0 unpcb 144 825 0 807 7 1 6 6 0 8 5 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 5 0 5 1 0 1 1 0 8 1 tcpcb 736 236 0 232 1 0 1 1 0 8 0 arp 96 24 0 9 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 787 0 779 7 0 7 7 0 8 6 ip6q 72 6 0 1 1 0 1 1 0 8 0 ip6af 40 5 0 2 1 0 1 1 0 8 0 nd6 112 40 0 15 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 200 0 200 2 1 1 1 0 8 1 pfrktable 1344 65 0 65 1 0 1 1 0 8 1 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 pfrule 1360 2 0 2 2 1 1 1 0 8 1 rttmr 136 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 689 0 285 33 2 31 33 0 8 4 art_table 40 692 0 285 6 0 6 6 0 8 1 art_node 32 187 0 103 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 4 1 0 1 1 0 8 0 semapl 112 29 0 19 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 3394 0 1894 95 0 95 95 0 8 0 ffsino 256 3394 0 1894 95 0 95 95 0 8 0 nchpl 144 4947 0 3255 64 0 64 64 0 8 0 rtmask 32 12 0 12 2 1 1 1 0 8 1 vnodes 216 4176 0 0 232 0 232 232 0 8 0 namei 1024 17989 0 17989 4 1 3 3 0 8 3 vcpupl 3904 3 0 0 1 0 1 1 0 8 0 vmpool 808 4 0 1 1 0 1 1 0 8 0 kstatmem 264 80 0 58 2 0 2 2 0 8 0 scsiplug 72 7 0 7 2 1 1 1 0 8 1 scxspl 216 19234 0 19234 10 2 8 8 1 8 8 plimitpl 152 317 0 299 1 0 1 1 0 8 0 sigapl 424 1428 0 1385 6 0 6 6 0 8 0 knotepl 120 40479 0 40432 12 2 10 11 0 8 8 kqueuepl 184 442 0 432 5 2 3 3 0 8 2 pipepl 304 226 0 198 5 0 5 5 0 8 2 fdescpl 448 1408 0 1379 5 1 4 5 0 8 0 filepl 120 9234 0 9016 13 1 12 12 0 8 2 lockfpl 104 364 0 362 2 1 1 2 0 8 0 lockfspl 48 94 0 92 1 0 1 1 0 8 0 sessionpl 144 27 0 19 1 0 1 1 0 8 0 pgrppl 48 54 0 38 1 0 1 1 0 8 0 ucredpl 104 1257 0 1244 1 0 1 1 0 8 0 zombiepl 144 1933 0 1929 1 0 1 1 0 8 0 processpl 1152 1428 0 1385 4 0 4 4 0 8 0 procpl 664 3119 0 3068 7 1 6 6 0 8 0 sosppl 176 3 0 3 2 1 1 1 0 8 1 sockpl 552 1873 0 1844 14 4 10 12 0 8 7 mcl64k 65536 52 0 52 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 3820 0 3764 14 6 8 14 0 8 0 mcl2k 2048 1174 0 1167 4 2 2 3 0 8 0 mtagpl 96 33 0 11 1 0 1 1 0 8 0 mbufpl 256 16008 0 15809 134 116 18 76 0 8 4 bufpl 280 6415 0 194 445 0 445 445 0 8 0 anonpl 24 210203 0 207083 47 2 45 45 0 187 15 amapchunkpl 152 40100 0 39623 32 6 26 29 0 158 4 amappl16 200 3762 0 3730 27 16 11 15 0 8 8 amappl15 192 8 0 8 2 1 1 1 0 8 1 amappl14 184 8 0 8 1 1 0 1 0 8 0 amappl13 176 431 0 430 1 0 1 1 0 8 0 amappl12 168 1863 0 1826 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 46 0 36 1 0 1 1 0 8 0 amappl9 144 250 0 250 1 1 0 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 92 0 91 1 0 1 1 0 8 0 amappl6 120 294 0 282 1 0 1 1 0 8 0 amappl5 112 73 0 65 1 0 1 1 0 8 0 amappl4 104 408 0 383 1 0 1 1 0 8 0 amappl3 96 6991 0 6902 3 0 3 3 0 8 0 amappl2 88 1538 0 1465 2 0 2 2 0 8 0 amappl1 80 13612 0 13088 14 1 13 13 0 8 1 amappl 88 11324 0 11160 5 0 5 5 0 92 0 uvmvnodes 80 128 0 0 3 0 3 3 0 8 0 dma4096 4096 2 0 2 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 0 1 1 0 8 1 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 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 12 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1408 0 1379 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1408 0 1379 1 0 1 1 0 8 0 vmmpekpl 168 12666 0 12633 3 0 3 3 0 8 0 vmmpepl 168 93913 0 92135 96 5 91 91 0 357 10 vmsppl 368 1407 0 1379 4 1 3 4 0 8 0 rwobjpl 40 26304 0 25321 13 0 13 13 0 8 1 pdppl 4096 2830 0 2763 116 47 69 80 0 8 2 pvpl 32 591230 0 581788 123 7 116 116 0 265 32 pmappl 216 1411 0 1380 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 525 0 183 12 1 11 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(ffff800001634930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001791680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,81,2000,ffff80002a7aba08) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002a7aba08) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c983850) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807e806b48,81,fffffd8007bfd618,ffff80002a7aba08) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060827f18,ffff80002a7aba08) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060827f18,ffff80002a7aba08) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8060827f18,ffff80002a7aba08) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060827f18,ffff80002a7aba08) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c983aa0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c983aa0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39f3c965210, 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(ffff800001634930,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375 dt_ioctl_record_stop(ffff800001791680) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:589 dtclose(31e5f,81,2000,ffff80002a7aba08) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002a7aba08) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c983850) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807e806b48,81,fffffd8007bfd618,ffff80002a7aba08) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060827f18,ffff80002a7aba08) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060827f18,ffff80002a7aba08) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8060827f18,ffff80002a7aba08) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060827f18,ffff80002a7aba08) at closef+0x190 sys/kern/kern_descrip.c:1264 syscall(ffff80003c983aa0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c983aa0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39f3c965210, count: -11