uvm_fault(0xfffffd80725dd2f0, 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(ffff800001495b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a7de2a8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7de2a8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003815f980) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069dbebd8,81,fffffd8007bfb3a8,ffff80002a7de2a8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069d3f628,ffff80002a7de2a8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069d3f628,ffff80002a7de2a8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069d3f628,ffff80002a7de2a8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069d3f628,ffff80002a7de2a8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7de2a8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7de2a8,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7de2a8,ffff80003815fce0,ffff80003815fc30) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003815fce0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003815fce0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728134ebf100, 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(0xfffffd80725dd2f0, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001495b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a7de2a8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7de2a8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003815f980) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069dbebd8,81,fffffd8007bfb3a8,ffff80002a7de2a8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069d3f628,ffff80002a7de2a8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069d3f628,ffff80002a7de2a8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069d3f628,ffff80002a7de2a8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069d3f628,ffff80002a7de2a8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7de2a8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7de2a8,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7de2a8,ffff80003815fce0,ffff80003815fc30) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003815fce0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003815fce0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728134ebf100, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003815f8b0 rbx 0x1 rdx 0 rcx 0xffff80002a7de2a8 rax 0xffff80002a7de2a8 r8 0xffffffffffffffff r9 0 r10 0x2989d1d85e91f55 r11 0xa19e59ef13b61611 r12 0 r13 0 r14 0 r15 0xffff800001494400 rip 0xffffffff82a428b8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003815f880 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=400421 pid=29844 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7de2a8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7ded08,0xffff80003c983260 process=0xffff8000ffff8d98 user=0xffff80003815a000, vmspace=0xfffffd80725dd2f0 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 28453 148375 32070 0 2 0 syz-executor 28453 209786 32070 0 2 0x4000000 syz-executor 28453 260008 32070 0 2 0x4000000 syz-executor 28453 170089 32070 0 3 0x4000080 fsleep syz-executor 47323 478870 67875 0 2 0 syz-executor 47323 518533 67875 0 3 0x4000080 fsleep syz-executor 47323 117042 67875 0 3 0x4000080 fsleep syz-executor 35296 428402 93384 0 3 0x80 nanoslp syz-executor 35296 304546 93384 0 2 0x4000c80 syz-executor 35296 329105 93384 0 3 0x4000080 fsleep syz-executor 21334 193726 75975 0 2 0 syz-executor 21334 191290 75975 0 3 0x4000080 fsleep syz-executor 63922 337200 50741 0 3 0x1000080 nanoslp syz-executor 63922 166921 50741 0 3 0x5000080 kqread syz-executor 63922 127261 50741 0 3 0x5000080 fsleep syz-executor 57220 2886 32075 0 2 0 syz-executor 57220 392904 32075 0 3 0x4000080 fsleep syz-executor 57220 206489 32075 0 2 0x4000000 syz-executor 57220 21566 32075 0 3 0x4000080 fsleep syz-executor 67875 259375 78296 0 3 0x82 nanoslp syz-executor 75975 41008 78296 0 2 0xc82 syz-executor 32075 506083 78296 0 3 0x82 nanoslp syz-executor 32070 58067 78296 0 3 0x82 nanoslp syz-executor 93384 191759 78296 0 3 0x82 nanoslp syz-executor 57688 18876 78296 0 2 0xc82 syz-executor 50741 351008 78296 0 3 0x82 nanoslp syz-executor 22970 311885 78296 0 2 0x2 syz-executor 78296 169558 42267 0 3 0x82 kqread syz-executor 42267 108380 67683 0 3 0x10008a sigsusp ksh 67683 156144 35959 0 3 0x98 kqread sshd-session 35959 191439 79223 0 3 0x92 kqread sshd-session 91406 16113 1 0 3 0x100083 ttyin getty 79223 16622 1 0 3 0x88 kqread sshd 69941 253432 22127 73 3 0x1100090 kqread syslogd 22127 466842 1 0 3 0x100082 sbwait syslogd 34418 84250 1 0 3 0x100080 kqread resolvd 16717 454618 88890 77 3 0x100092 kqread dhcpleased 26942 335436 88890 77 3 0x100092 kqread dhcpleased 88890 434641 1 0 3 0x80 kqread dhcpleased 23641 280872 0 0 3 0x14200 bored smr 70680 251978 0 0 2 0x14200 zerothread 26404 389163 0 0 3 0x14200 aiodoned aiodoned 79432 239837 0 0 3 0x14200 syncer update 40969 501856 0 0 3 0x14200 cleaner cleaner 21821 504447 0 0 3 0x14200 reaper reaper 71927 518117 0 0 3 0x14200 pgdaemon pagedaemon 27544 85252 0 0 3 0x14200 bored viomb 85114 328353 0 0 3 0x40014200 acpi0 acpi0 38096 127136 0 0 3 0x14200 bored softnet7 7712 415693 0 0 3 0x14200 bored softnet6 49276 294292 0 0 3 0x14200 bored softnet5 22410 521023 0 0 3 0x14200 bored softnet4 81191 215559 0 0 3 0x14200 bored softnet3 44271 54036 0 0 3 0x14200 bored softnet2 87379 175910 0 0 3 0x14200 bored softnet1 97109 188215 0 0 3 0x14200 bored softnet0 81581 123717 0 0 3 0x14200 bored systqmp 26384 194509 0 0 3 0x14200 bored systq 34329 10797 0 0 3 0x40014200 tmoslp softclock 42011 510841 0 0 3 0x40014200 idle0 1 104053 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 10187 11090K 11090K 166960K 11275 0 pcb 18 12K 12K 166960K 28 0 rtable 189 5K 6K 166960K 276 0 pf 30 12K 12K 166960K 30 0 ifaddr 41 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 6 0 counters 32 17K 17K 166960K 32 0 ioctlops 0 0K 4K 166960K 65 0 iov 0 0K 32K 166960K 3 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1343 85K 85K 166960K 1366 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 6 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 164 0 sigio 0 0K 0K 166960K 4 0 proc 62 67K 124K 166960K 486 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 3 0 in_multi 96 7K 7K 166960K 103 0 ether_multi 2 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 37 175K 175K 166960K 37 0 exec 0 0K 1K 166960K 351 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 227 143K 152K 166960K 3028 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 38 76K 96K 166960K 1196 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 11 0K 2K 166960K 28 0 temp 35 8630K 8694K 166960K 4618 0 kqueue 14 22K 28K 166960K 31 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 42 0 37 1 0 1 1 0 8 0 rtentry 136 96 0 13 4 0 4 4 0 8 0 unpcb 144 48 0 33 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 13 0 6 1 0 1 1 0 8 0 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 328 77 0 63 2 0 2 2 0 8 0 nd6 104 16 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 436 0 41 28 0 28 28 0 8 1 art_table 40 437 0 41 5 0 5 5 0 8 0 art_node 32 95 0 22 1 0 1 1 0 8 0 semapl 112 3 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1594 0 83 95 0 95 95 0 8 0 ffsino 256 1594 0 83 95 0 95 95 0 8 0 nchpl 144 1829 0 142 63 0 63 63 0 8 0 uvmvnodes 80 1682 0 0 35 0 35 35 0 8 0 vnodes 216 1682 0 0 94 0 94 94 0 8 0 namei 1024 5337 0 5335 2 0 2 2 0 8 1 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 6635 0 6635 8 0 8 8 1 8 8 plimitpl 152 30 0 13 1 0 1 1 0 8 0 sigapl 424 448 0 399 7 0 7 7 0 8 1 knotepl 120 4139 0 3843 10 0 10 10 0 8 0 kqueuepl 184 29 0 18 1 0 1 1 0 8 0 pipepl 304 106 0 78 3 0 3 3 0 8 0 fdescpl 448 428 0 399 5 0 5 5 0 8 1 filepl 120 1452 0 1226 7 0 7 7 0 8 0 lockfpl 104 16 0 13 1 0 1 1 0 8 0 lockfspl 48 9 0 6 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 93 0 82 1 0 1 1 0 8 0 zombiepl 144 400 0 399 1 0 1 1 0 8 0 processpl 1152 448 0 399 5 0 5 5 0 8 1 procpl 664 508 0 446 6 0 6 6 0 8 0 sockpl 552 169 0 135 3 0 3 3 0 8 0 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2477 0 2427 13 0 13 13 0 8 6 mcl2k 2048 209 0 207 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 4045 0 3898 11 0 11 11 0 8 1 bufpl 280 2863 0 117 197 0 197 197 0 8 0 anonpl 24 94911 0 91786 23 0 23 23 0 187 3 amapchunkpl 152 8728 0 8241 21 0 21 21 0 158 0 amappl16 200 1725 0 1705 5 0 5 5 0 8 3 amappl15 192 1 0 1 1 0 1 1 0 8 1 amappl14 184 104 0 94 1 0 1 1 0 8 0 amappl13 176 11 0 11 1 0 1 1 0 8 1 amappl12 168 1042 0 1013 3 0 3 3 0 8 1 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 29 0 29 1 0 1 1 0 8 1 amappl9 144 250 0 250 1 0 1 1 0 8 1 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 99 0 89 1 0 1 1 0 8 0 amappl6 120 187 0 183 1 0 1 1 0 8 0 amappl5 112 118 0 112 1 0 1 1 0 8 0 amappl4 104 267 0 249 1 0 1 1 0 8 0 amappl3 96 1372 0 1265 3 0 3 3 0 8 0 amappl2 88 616 0 558 2 0 2 2 0 8 0 amappl1 80 8032 0 7487 13 0 13 13 0 8 1 amappl 88 2382 0 2217 4 0 4 4 0 92 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 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 428 0 399 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 428 0 399 1 0 1 1 0 8 0 vmmpekpl 168 4931 0 4901 2 0 2 2 0 8 0 vmmpepl 168 33981 0 32149 83 0 83 83 0 357 1 vmsppl 368 427 0 399 4 0 4 4 0 8 1 rwobjpl 40 13756 0 11231 26 0 26 26 0 8 0 pdppl 4096 862 0 798 98 28 70 82 0 8 6 pvpl 32 212229 0 203922 71 0 71 71 0 265 1 pmappl 216 427 0 399 3 0 3 3 0 8 1 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 362 0 28 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001495b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a7de2a8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7de2a8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003815f980) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069dbebd8,81,fffffd8007bfb3a8,ffff80002a7de2a8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069d3f628,ffff80002a7de2a8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069d3f628,ffff80002a7de2a8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069d3f628,ffff80002a7de2a8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069d3f628,ffff80002a7de2a8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7de2a8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7de2a8,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7de2a8,ffff80003815fce0,ffff80003815fc30) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003815fce0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003815fce0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728134ebf100, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001495b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a7de2a8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7de2a8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003815f980) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069dbebd8,81,fffffd8007bfb3a8,ffff80002a7de2a8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069d3f628,ffff80002a7de2a8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069d3f628,ffff80002a7de2a8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069d3f628,ffff80002a7de2a8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069d3f628,ffff80002a7de2a8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7de2a8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7de2a8,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7de2a8,ffff80003815fce0,ffff80003815fc30) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003815fce0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003815fce0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728134ebf100, count: -12