uvm_fault(0xfffffd806c91e748, 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(ffff8000016ea700) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff800033902d20) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033902d20) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c927790) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806caf52b0,81,fffffd8007bfd340,ffff800033902d20) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8072265440,ffff800033902d20) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8072265440,ffff800033902d20) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8072265440,ffff800033902d20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8072265440,ffff800033902d20) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033902d20) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033902d20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033902d20,ffff80003c927af0,ffff80003c927a40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c927af0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c927af0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79529a302080, 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(0xfffffd806c91e748, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000016ea700) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff800033902d20) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033902d20) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c927790) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806caf52b0,81,fffffd8007bfd340,ffff800033902d20) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8072265440,ffff800033902d20) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8072265440,ffff800033902d20) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8072265440,ffff800033902d20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8072265440,ffff800033902d20) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033902d20) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033902d20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033902d20,ffff80003c927af0,ffff80003c927a40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c927af0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c927af0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79529a302080, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c9276c0 rbx 0x1 rdx 0 rcx 0xffff800033902d20 rax 0xffff800033902d20 r8 0xffffffffffffffff r9 0 r10 0xe2a4411bca53c09a r11 0x424fb9c808c4accf r12 0 r13 0 r14 0 r15 0xffff80000159d700 rip 0xffffffff81948858 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c927690 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=515137 pid=60494 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800033902d20 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800033903cb0,0xffff80002a7bca88 process=0xffff8000ffffb618 user=0xffff80003c922000, vmspace=0xfffffd806c91e748 estcpu=2, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56303 217055 23245 0 2 0 syz-executor 56303 236442 23245 0 3 0x4000080 fsleep syz-executor 58910 211163 67725 0 2 0 syz-executor 58910 216604 67725 0 3 0x4000080 ttyout syz-executor 73626 395388 81573 0 2 0 syz-executor 73626 382021 81573 0 2 0x4000000 syz-executor 73626 316235 81573 0 3 0x4000080 fsleep syz-executor 55790 9126 60256 0 2 0 syz-executor 55790 155698 60256 0 2 0x4000000 syz-executor 55790 90345 60256 0 3 0x4000000 inode syz-executor 55790 238363 60256 0 3 0x4000000 inode syz-executor 51398 24456 90897 0 3 0x80 nanoslp syz-executor 51398 85123 90897 0 3 0x4000080 kqsel syz-executor 51398 175046 90897 0 3 0x4000080 fsleep syz-executor 2729 517090 4330 0 3 0x3000 suspend syz-executor 2729 25895 4330 0 2 0x4081000 syz-executor 46089 97648 0 0 3 0x14200 acct acct 41958 262218 68055 0 3 0x82 nanoslp syz-executor 67725 175141 68055 0 3 0x82 nanoslp syz-executor 81573 501679 68055 0 3 0x82 nanoslp syz-executor 4330 481701 68055 0 3 0x82 nanoslp syz-executor 60256 147177 68055 0 3 0x82 nanoslp syz-executor 23245 243520 68055 0 3 0x82 nanoslp syz-executor 90897 363355 68055 0 3 0x82 nanoslp syz-executor 27311 342775 68055 0 3 0x82 nanoslp syz-executor 68055 371999 75338 0 3 0x82 kqread syz-executor 75338 159435 43730 0 3 0x10008a sigsusp ksh 43730 122123 33647 0 3 0x98 kqread sshd-session 33647 53256 43084 0 3 0x92 kqread sshd-session 32397 252882 1 0 3 0x100083 ttyin getty 43084 194062 1 0 3 0x88 kqread sshd 34626 70820 5375 73 3 0x1100090 kqread syslogd 5375 479296 1 0 3 0x100082 sbwait syslogd 2737 67554 1 0 3 0x100080 kqread resolvd 66763 169524 13649 77 3 0x100092 kqread dhcpleased 79660 466293 13649 77 3 0x100092 kqread dhcpleased 13649 324537 1 0 3 0x80 kqread dhcpleased 92791 381427 0 0 3 0x14200 bored smr 52247 84390 0 0 2 0x14200 zerothread 94666 193732 0 0 3 0x14200 aiodoned aiodoned 12301 339696 0 0 3 0x14200 syncer update 40653 261264 0 0 3 0x14200 cleaner cleaner 58877 390588 0 0 3 0x14200 reaper reaper 89011 269157 0 0 3 0x14200 pgdaemon pagedaemon 52193 381877 0 0 3 0x14200 bored viomb 78329 429787 0 0 3 0x40014200 acpi0 acpi0 22453 292240 0 0 3 0x14200 bored softnet0 55252 523875 0 0 3 0x14200 smrbar systqmp 54346 117313 0 0 3 0x14200 bored systq 16201 280827 0 0 3 0x40014200 tmoslp softclock 76751 496158 0 0 3 0x40014200 idle0 1 148765 0 0 3 0x82 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 11075 12508K 13374K 166960K 13030 0 pcb 20 12K 12K 166960K 42 0 rtable 251 7K 7K 166960K 393 0 pf 30 12K 13K 166960K 37 0 ifaddr 42 7K 7K 166960K 48 0 ifgroup 50 2K 2K 166960K 59 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 18K 166960K 36 0 ioctlops 0 0K 4K 166960K 38 0 iov 0 0K 12K 166960K 4 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1406 88K 89K 166960K 1567 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 7 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 225 0 sigio 0 0K 0K 166960K 3 0 proc 60 59K 91K 166960K 481 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 14 0 in_multi 99 7K 7K 166960K 106 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 371 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 244 159K 173K 166960K 3896 0 UVM aobj 5 4K 4K 166960K 8 0 pinsyscall 39 78K 93K 166960K 1306 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 5 0 NDP 11 0K 2K 166960K 31 0 temp 38 8666K 8731K 166960K 8924 0 kqueue 13 20K 32K 166960K 46 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 44 0 41 1 0 1 1 0 8 0 rtentry 136 113 0 2 4 0 4 4 0 8 0 unpcb 144 89 0 71 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 21 0 15 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 151 0 138 4 0 4 4 0 8 2 ip6q 72 34 0 32 1 0 1 1 0 8 0 ip6af 40 66 0 64 1 0 1 1 0 8 0 nd6 112 25 0 1 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 456 0 0 29 0 29 29 0 8 0 art_table 40 457 0 0 5 0 5 5 0 8 0 art_node 32 113 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 5 0 2 1 0 1 1 0 8 0 shmpl 112 4 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1727 0 222 95 0 95 95 0 8 0 ffsino 256 1727 0 222 95 0 95 95 0 8 0 nchpl 144 2052 0 356 63 0 63 63 0 8 0 vnodes 216 1981 0 0 111 0 111 111 0 8 0 namei 1024 6260 0 6259 2 0 2 2 0 8 1 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 808 1 0 0 1 0 1 1 0 8 0 kstatmem 264 28 0 6 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7325 0 7325 2 0 2 2 1 8 2 plimitpl 152 39 0 21 1 0 1 1 0 8 0 sigapl 424 516 0 472 6 0 6 6 0 8 1 knotepl 120 6953 0 6906 15 5 10 15 0 8 8 kqueuepl 184 55 0 44 1 0 1 1 0 8 0 pipepl 304 125 0 98 3 0 3 3 0 8 0 fdescpl 448 502 0 472 5 0 5 5 0 8 1 filepl 120 2210 0 1980 10 0 10 10 0 8 2 lockfpl 104 28 0 26 1 0 1 1 0 8 0 lockfspl 48 15 0 13 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 33 0 17 1 0 1 1 0 8 0 ucredpl 104 189 0 178 1 0 1 1 0 8 0 zombiepl 144 475 0 472 1 0 1 1 0 8 0 processpl 1152 516 0 472 4 0 4 4 0 8 0 procpl 664 654 0 600 6 0 6 6 0 8 1 sosppl 176 5 0 5 1 0 1 1 0 8 1 sockpl 552 291 0 257 5 0 5 5 0 8 2 mcl64k 65536 8 0 8 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2578 0 2523 14 0 14 14 0 8 6 mcl2k 2048 338 0 334 1 0 1 1 0 8 0 mtagpl 96 6 0 4 1 0 1 1 0 8 0 mbufpl 256 5078 0 4928 14 0 14 14 0 8 4 bufpl 280 2945 0 118 202 0 202 202 0 8 0 anonpl 24 110567 0 107072 36 0 36 36 0 187 12 amapchunkpl 152 11591 0 11071 30 0 30 30 0 158 9 amappl16 200 2055 0 2014 5 0 5 5 0 8 2 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 6 0 6 1 0 1 1 0 8 1 amappl13 176 409 0 408 1 0 1 1 0 8 0 amappl12 168 840 0 801 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 0 1 1 0 8 1 amappl10 152 41 0 31 1 0 1 1 0 8 0 amappl9 144 247 0 246 1 0 1 1 0 8 0 amappl8 136 26 0 24 1 0 1 1 0 8 0 amappl7 128 81 0 80 1 0 1 1 0 8 0 amappl6 120 265 0 254 1 0 1 1 0 8 0 amappl5 112 71 0 64 1 0 1 1 0 8 0 amappl4 104 383 0 358 1 0 1 1 0 8 0 amappl3 96 1756 0 1658 3 0 3 3 0 8 0 amappl2 88 616 0 543 2 0 2 2 0 8 0 amappl1 80 9176 0 8634 13 0 13 13 0 8 1 amappl 88 3188 0 3014 5 0 5 5 0 92 1 uvmvnodes 80 96 0 0 2 0 2 2 0 8 0 dma4096 4096 2 0 2 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 253 0 253 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 7 0 3 1 0 1 1 0 8 0 uaddrrnd 24 502 0 472 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 502 0 472 1 0 1 1 0 8 0 vmmpekpl 168 5626 0 5592 2 0 2 2 0 8 0 vmmpepl 168 39598 0 37744 83 0 83 83 0 357 2 vmsppl 368 501 0 472 4 0 4 4 0 8 1 rwobjpl 40 14207 0 13239 11 0 11 11 0 8 0 pdppl 4096 1012 0 945 98 31 67 78 0 8 0 pvpl 32 253542 0 243651 99 0 99 99 0 265 18 pmappl 216 502 0 472 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 369 0 31 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000016ea700) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff800033902d20) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033902d20) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c927790) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806caf52b0,81,fffffd8007bfd340,ffff800033902d20) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8072265440,ffff800033902d20) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8072265440,ffff800033902d20) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8072265440,ffff800033902d20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8072265440,ffff800033902d20) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033902d20) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033902d20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033902d20,ffff80003c927af0,ffff80003c927a40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c927af0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c927af0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79529a302080, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000016ea700) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff800033902d20) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033902d20) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c927790) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806caf52b0,81,fffffd8007bfd340,ffff800033902d20) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8072265440,ffff800033902d20) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8072265440,ffff800033902d20) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8072265440,ffff800033902d20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8072265440,ffff800033902d20) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033902d20) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033902d20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033902d20,ffff80003c927af0,ffff80003c927a40) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c927af0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c927af0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79529a302080, count: -12