login: uvm_fault(0xfffffd806c1b22f8, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND dt_ioctl_record_stop(ffff8000013ee280) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff800033d0f248) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff800033d0f248) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003a52bbd0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a5c5448,1,fffffd8007bfb820,ffff800033d0f248) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068e6ff10,ffff800033d0f248) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068e6ff10,ffff800033d0f248) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068e6ff10,ffff800033d0f248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068e6ff10,ffff800033d0f248) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033d0f248) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033d0f248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033d0f248,ffff80003a52bf30,ffff80003a52be80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a52bf30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52bf30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7aa4be473ee0, count: 3 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(0xfffffd806c1b22f8, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000013ee280) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff800033d0f248) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff800033d0f248) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003a52bbd0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a5c5448,1,fffffd8007bfb820,ffff800033d0f248) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068e6ff10,ffff800033d0f248) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068e6ff10,ffff800033d0f248) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068e6ff10,ffff800033d0f248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068e6ff10,ffff800033d0f248) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033d0f248) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033d0f248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033d0f248,ffff80003a52bf30,ffff80003a52be80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a52bf30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52bf30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7aa4be473ee0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a52bb00 rbx 0x1 rdx 0 rcx 0xffff800033d0f248 rax 0xffffffff83787d50 dt_prov_static r8 0xffffffffffffffff r9 0 r10 0xda09bba601f25a86 r11 0x57ed60ddc6f67194 r12 0 r13 0 r14 0 r15 0xffff8000014ef800 rip 0xffffffff81e9af48 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003a52bad0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=206960 pid=26790 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800033d0f248 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800035d22a88,0xffffffff83863e80 process=0xffff800033d10d98 user=0xffff80003a526000, vmspace=0xfffffd806c1b22f8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 22652 4768 97269 0 3 0x80 nanoslp syz-executor 22652 304510 97269 0 3 0x4000080 kqpoll syz-executor 22652 156485 97269 0 3 0x4000080 fsleep syz-executor 50167 46102 9875 0 2 0xc80 syz-executor 50167 224271 9875 0 3 0x4000080 kqsel syz-executor 50167 414009 9875 0 3 0x4000080 fsleep syz-executor 22229 9236 1 0 3 0x100083 ttyin getty 34679 258472 0 0 3 0x14200 bored sosplice 26962 302567 64877 0 2 0xc82 syz-executor 81426 349496 64877 0 3 0x82 wait syz-executor 9875 423308 64877 0 2 0xc82 syz-executor 58763 344547 64877 0 2 0x2 syz-executor 82092 28233 64877 0 2 0xc82 syz-executor 21930 518046 64877 0 3 0x82 nanoslp syz-executor 90502 365734 64877 0 3 0x82 wait syz-executor 97269 187054 64877 0 2 0xc82 syz-executor 64877 505903 34759 0 3 0x82 kqread syz-executor 34759 22287 70312 0 3 0x10008a sigsusp ksh 70312 116673 16185 0 3 0x98 kqread sshd-session 16185 158006 19978 0 3 0x92 kqread sshd-session 19978 327124 1 0 3 0x88 kqread sshd 63436 157942 99524 73 3 0x1100090 kqread syslogd 99524 429499 1 0 3 0x100082 sbwait syslogd 55444 487248 1 0 3 0x100080 kqread resolvd 34711 409414 53168 77 3 0x100092 kqread dhcpleased 56761 9190 53168 77 3 0x100092 kqread dhcpleased 53168 189695 1 0 3 0x80 kqread dhcpleased 86302 266615 0 0 3 0x14200 bored smr 70786 515781 0 0 2 0x14200 zerothread 6545 67298 0 0 3 0x14200 aiodoned aiodoned 5951 162164 0 0 3 0x14200 syncer update 59152 45069 0 0 3 0x14200 cleaner cleaner 625 307010 0 0 3 0x14200 reaper reaper 2198 195989 0 0 3 0x14200 pgdaemon pagedaemon 17562 240862 0 0 3 0x14200 bored viomb 85559 17746 0 0 3 0x40014200 acpi0 acpi0 1098 474072 0 0 3 0x14200 bored softnet0 91754 45597 0 0 3 0x14200 bored systqmp 74116 138319 0 0 3 0x14200 bored systq 73346 228946 0 0 3 0x40014200 tmoslp softclock 95989 44220 0 0 3 0x40014200 idle0 1 308975 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10187 11084K 11259K 166960K 11542 0 pcb 21 12K 12K 166960K 111 0 rtable 163 7K 8K 166960K 479 0 pf 27 12K 67481K 166960K 66 0 ifaddr 28 4K 7K 166960K 68 0 ifgroup 42 1K 2K 166960K 92 0 sysctl 2 1K 9K 166960K 13 0 counters 30 17K 18K 166960K 55 0 ioctlops 0 0K 4K 166960K 117 0 iov 0 0K 24K 166960K 37 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1363 86K 87K 166960K 1743 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 22 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 519 0 sigio 0 0K 0K 166960K 18 0 proc 60 59K 108K 166960K 534 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 2 0K 0K 166960K 44 0 in_multi 55 4K 7K 166960K 132 0 ether_multi 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 675 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 254 163K 172K 166960K 6399 0 UVM aobj 10 2K 4K 166960K 12 0 pinsyscall 38 76K 94K 166960K 1600 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 19 0 NDP 9 0K 1K 166960K 42 0 temp 55 8642K 8706K 166960K 31768 0 kqueue 16 24K 31K 166960K 111 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 71 0 68 1 0 1 1 0 8 0 rtentry 136 135 0 78 4 0 4 4 0 8 0 unpcb 144 302 0 284 4 0 4 4 0 8 3 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 178 0 172 7 0 7 7 0 8 6 arp 96 21 0 12 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 482 0 468 7 0 7 7 0 8 4 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 6 0 3 1 0 1 1 0 8 0 nd6 112 29 0 16 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 18 0 18 1 0 1 1 0 8 1 pppxif 1384 3 0 3 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfstkey 128 1 0 1 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 618 0 315 29 0 29 29 0 8 5 art_table 40 622 0 315 5 0 5 5 0 8 0 art_node 32 135 0 83 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 9 0 2 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2415 0 917 95 0 95 95 0 8 0 ffsino 256 2415 0 917 95 0 95 95 0 8 0 nchpl 144 3151 0 1459 63 0 63 63 0 8 0 rtmask 32 5 0 5 1 0 1 1 0 8 1 vnodes 216 2623 0 0 146 0 146 146 0 8 0 namei 1024 10625 0 10625 2 0 2 2 0 8 2 kstatmem 264 50 0 32 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 10933 0 10933 8 0 8 8 1 8 8 plimitpl 152 219 0 203 1 0 1 1 0 8 0 sigapl 424 809 0 766 6 0 6 6 0 8 1 knotepl 120 16792 0 16744 10 0 10 10 0 8 7 kqueuepl 184 205 0 193 4 0 4 4 0 8 3 pipepl 304 181 0 154 5 0 5 5 0 8 2 fdescpl 448 795 0 766 5 0 5 5 0 8 1 filepl 120 4460 0 4224 11 0 11 11 0 8 2 lockfpl 104 155 0 150 1 0 1 1 0 8 0 lockfspl 48 70 0 67 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 38 0 22 1 0 1 1 0 8 0 ucredpl 104 809 0 797 1 0 1 1 0 8 0 zombiepl 144 771 0 766 1 0 1 1 0 8 0 processpl 1152 809 0 766 4 0 4 4 0 8 0 procpl 664 1407 0 1360 6 0 6 6 0 8 1 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 552 874 0 839 8 0 8 8 0 8 4 mcl64k 65536 33 0 32 1 0 1 1 0 8 0 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 8 0 8 1 0 1 1 0 8 1 mcl4k 4096 2976 0 2924 14 0 14 14 0 8 7 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 803 0 796 3 0 3 3 0 8 2 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 8505 0 8361 18 0 18 18 0 8 6 bufpl 280 4291 0 116 299 0 299 299 0 8 0 anonpl 24 143002 0 139684 46 0 46 46 0 187 22 amapchunkpl 152 19744 0 19197 26 0 26 26 0 158 3 amappl16 200 2896 0 2867 20 9 11 16 0 8 8 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 22 0 22 1 0 1 1 0 8 1 amappl13 176 408 0 406 1 0 1 1 0 8 0 amappl12 168 1136 0 1098 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 0 1 1 0 8 1 amappl10 152 44 0 34 1 0 1 1 0 8 0 amappl9 144 259 0 259 1 0 1 1 0 8 1 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 101 0 100 1 0 1 1 0 8 0 amappl6 120 276 0 265 1 0 1 1 0 8 0 amappl5 112 70 0 61 1 0 1 1 0 8 0 amappl4 104 389 0 364 1 0 1 1 0 8 0 amappl3 96 3434 0 3333 3 0 3 3 0 8 0 amappl2 88 934 0 865 2 0 2 2 0 8 0 amappl1 80 10607 0 10073 13 0 13 13 0 8 0 amappl 88 5624 0 5441 5 0 5 5 0 92 0 uvmvnodes 80 2623 0 0 54 0 54 54 0 8 0 dma4096 4096 1 0 1 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 256 0 256 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 11 0 2 1 0 1 1 0 8 0 uaddrrnd 24 795 0 766 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 795 0 766 1 0 1 1 0 8 0 vmmpekpl 168 7921 0 7890 2 0 2 2 0 8 0 vmmpepl 168 57386 0 55561 92 0 92 92 0 357 10 vmsppl 368 794 0 766 4 0 4 4 0 8 1 rwobjpl 40 20700 0 17193 36 0 36 36 0 8 0 pdppl 4096 1596 0 1532 98 30 68 82 0 8 4 pvpl 32 364486 0 353547 117 0 117 117 0 265 25 pmappl 216 794 0 766 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 384 0 30 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000013ee280) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff800033d0f248) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff800033d0f248) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003a52bbd0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a5c5448,1,fffffd8007bfb820,ffff800033d0f248) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068e6ff10,ffff800033d0f248) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068e6ff10,ffff800033d0f248) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068e6ff10,ffff800033d0f248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068e6ff10,ffff800033d0f248) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033d0f248) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033d0f248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033d0f248,ffff80003a52bf30,ffff80003a52be80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a52bf30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52bf30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7aa4be473ee0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000013ee280) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff800033d0f248) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff800033d0f248) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003a52bbd0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a5c5448,1,fffffd8007bfb820,ffff800033d0f248) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068e6ff10,ffff800033d0f248) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068e6ff10,ffff800033d0f248) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068e6ff10,ffff800033d0f248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068e6ff10,ffff800033d0f248) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033d0f248) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033d0f248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033d0f248,ffff80003a52bf30,ffff80003a52be80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a52bf30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a52bf30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7aa4be473ee0, count: -12