uvm_fault(0xfffffd806bbba748, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 TID PID UID PRFLAGS PFLAGS CPU COMMAND dt_ioctl_record_stop(ffff800001580200) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a7e8540) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e8540) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002cd1d100) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80662c1dc8,81,fffffd8007bfb750,ffff80002a7e8540) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c11c1f8,ffff80002a7e8540) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c11c1f8,ffff80002a7e8540) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c11c1f8,ffff80002a7e8540) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806c11c1f8,ffff80002a7e8540) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7e8540) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7e8540,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7e8540,ffff80002cd1d470,ffff80002cd1d3c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002cd1d470) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002cd1d470) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74bc315c9300, 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(0xfffffd806bbba748, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001580200) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a7e8540) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e8540) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002cd1d100) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80662c1dc8,81,fffffd8007bfb750,ffff80002a7e8540) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c11c1f8,ffff80002a7e8540) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c11c1f8,ffff80002a7e8540) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c11c1f8,ffff80002a7e8540) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806c11c1f8,ffff80002a7e8540) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7e8540) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7e8540,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7e8540,ffff80002cd1d470,ffff80002cd1d3c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002cd1d470) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002cd1d470) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74bc315c9300, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002cd1d030 rbx 0xffffffff82be6a30 dtclose rdx 0 rcx 0xffff80002a7e8540 rax 0xffffffff837d8470 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0xa18ec135d3295838 r11 0xbcac18820ceec212 r12 0xffff80000006c080 r13 0 r14 0 r15 0xffff8000014c3e00 rip 0xffffffff82be6db0 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002cd1d000 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb> show proc PROC (syz-executor) tid=360473 pid=56191 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7e8540 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7e8a60,0xffff80002a7e87e0 process=0xffff80003c9796e0 user=0xffff80002cd18000, vmspace=0xfffffd806bbba748 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37801 418059 96063 0 2 0 syz-executor 29922 514298 78266 0 2 0 syz-executor 55011 422914 41726 0 2 0 syz-executor 55011 20295 41726 0 3 0x4000080 fsleep syz-executor 94455 27017 72955 0 3 0x80 nanoslp syz-executor 94455 432614 72955 0 3 0x4000080 fsleep syz-executor 94455 229943 72955 0 3 0x4000080 kqread syz-executor 17920 245676 40210 0 3 0x80 nanoslp syz-executor 17920 189631 40210 0 3 0x4000080 kqsel syz-executor 17920 473871 40210 0 3 0x4000080 fsleep syz-executor 62789 482607 81403 0 3 0x80 nanoslp syz-executor 62789 296535 81403 0 3 0x4000080 ttyout syz-executor 62789 520372 81403 0 3 0x4000080 netcon syz-executor 85133 386298 0 0 3 0x14200 acct acct 82052 72755 18351 0 3 0x82 nanoslp syz-executor 81403 512956 18351 0 3 0x82 nanoslp syz-executor 40210 396288 18351 0 3 0x82 nanoslp syz-executor 41726 188267 18351 0 3 0x82 nanoslp syz-executor 96063 189515 18351 0 3 0x82 nanoslp syz-executor 78266 230456 18351 0 2 0x2 syz-executor 89697 411586 18351 0 3 0x82 nanoslp syz-executor 72955 466303 18351 0 3 0x82 nanoslp syz-executor 18351 35190 5110 0 3 0x82 kqread syz-executor 5110 283460 19166 0 3 0x10008a sigsusp ksh 19166 15614 89101 0 3 0x98 kqread sshd-session 89101 341736 79922 0 3 0x92 kqread sshd-session 38690 80236 1 0 3 0x100083 ttyin getty 79922 343561 1 0 3 0x88 kqread sshd 40925 326527 11166 73 3 0x1100090 kqread syslogd 11166 510524 1 0 3 0x100082 sbwait syslogd 83353 69378 1 0 3 0x100080 kqread resolvd 9834 220008 66981 77 3 0x100092 kqread dhcpleased 14100 402959 66981 77 3 0x100092 kqread dhcpleased 66981 468967 1 0 3 0x80 kqread dhcpleased 78052 413244 0 0 3 0x14200 bored smr 52628 35226 0 0 2 0x14200 zerothread 39580 368730 0 0 3 0x14200 aiodoned aiodoned 8915 146837 0 0 3 0x14200 syncer update 67834 365425 0 0 3 0x14200 cleaner cleaner 23640 507112 0 0 3 0x14200 reaper reaper 80673 289191 0 0 3 0x14200 pgdaemon pagedaemon 95599 56867 0 0 3 0x14200 bored viomb 83761 407162 0 0 3 0x40014200 acpi0 acpi0 37266 380007 0 0 3 0x14200 bored softnet7 19577 190187 0 0 3 0x14200 bored softnet6 47912 518191 0 0 3 0x14200 bored softnet5 98991 148129 0 0 3 0x14200 bored softnet4 73060 181743 0 0 3 0x14200 bored softnet3 37949 103964 0 0 3 0x14200 bored softnet2 67914 310112 0 0 3 0x14200 bored softnet1 1797 9033 0 0 3 0x14200 bored softnet0 47291 472691 0 0 3 0x14200 bored systqmp 85206 100286 0 0 3 0x14200 bored systq 89255 131922 0 0 3 0x40014200 tmoslp softclock 63098 1775 0 0 3 0x40014200 idle0 1 88291 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 10215 11129K 11446K 166960K 11506 0 pcb 17 12K 12K 166960K 72 0 rtable 197 6K 7K 166960K 301 0 pf 34 13K 15K 166960K 65 0 ifaddr 43 7K 8K 166960K 65 0 ifgroup 52 2K 2K 166960K 92 0 sysctl 3 1K 9K 166960K 8 0 counters 34 17K 18K 166960K 50 0 ioctlops 0 0K 4K 166960K 72 0 iov 0 0K 6K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1346 85K 85K 166960K 1507 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 28 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 348 0 sigio 0 0K 0K 166960K 36 0 proc 60 59K 108K 166960K 493 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 15 0 in_multi 99 7K 7K 166960K 115 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 360 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 218 150K 160K 166960K 4461 0 UVM aobj 14 2K 2K 166960K 14 0 pinsyscall 39 78K 95K 166960K 1380 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 12 0K 2K 166960K 39 0 temp 41 8663K 8727K 166960K 7352 0 kqueue 15 24K 30K 166960K 72 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 52 0 49 1 0 1 1 0 8 0 rtentry 136 106 0 20 4 0 4 4 0 8 0 unpcb 144 141 0 124 1 0 1 1 0 8 0 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpqe 32 3 0 3 1 0 1 1 0 8 1 tcpcb 736 57 0 49 1 0 1 1 0 8 0 arp 88 11 0 0 1 0 1 1 0 8 0 inpcb 328 216 0 203 2 0 2 2 0 8 0 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 104 16 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 12 0 10 1 0 1 1 0 8 0 pppxif 1384 5 0 5 1 0 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 522 0 95 30 0 30 30 0 8 2 art_table 40 524 0 95 5 0 5 5 0 8 0 art_node 32 106 0 30 1 0 1 1 0 8 0 semapl 112 23 0 13 1 0 1 1 0 8 0 shmpl 112 11 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1909 0 409 95 0 95 95 0 8 0 ffsino 256 1909 0 409 95 0 95 95 0 8 0 nchpl 144 2375 0 697 63 0 63 63 0 8 0 uvmvnodes 80 2073 0 0 43 0 43 43 0 8 0 vnodes 216 2073 0 0 116 0 116 116 0 8 0 namei 1024 7424 0 7424 2 0 2 2 0 8 2 kstatmem 264 46 0 22 3 0 3 3 0 8 1 scsiplug 72 9 0 9 1 0 1 1 0 8 1 scxspl 216 7843 0 7843 8 0 8 8 1 8 8 plimitpl 152 221 0 203 1 0 1 1 0 8 0 sigapl 424 633 0 582 7 0 7 7 0 8 1 knotepl 120 11065 0 11010 17 7 10 17 0 8 8 kqueuepl 184 154 0 142 4 0 4 4 0 8 3 pipepl 304 142 0 115 5 0 5 5 0 8 2 fdescpl 448 611 0 581 5 0 5 5 0 8 1 filepl 120 2891 0 2606 10 0 10 10 0 8 1 lockfpl 104 104 0 102 1 0 1 1 0 8 0 lockfspl 48 47 0 45 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 425 0 414 1 0 1 1 0 8 0 zombiepl 144 584 0 582 1 0 1 1 0 8 0 processpl 1168 633 0 582 5 0 5 5 0 8 1 procpl 656 903 0 845 6 0 6 6 0 8 0 sockpl 552 414 0 381 4 0 4 4 0 8 1 mcl64k 65536 18 0 18 1 0 1 1 0 8 1 mcl16k 16384 8 0 8 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 12 0 12 1 0 1 1 0 8 1 mcl4k 4096 2761 0 2712 14 0 14 14 0 8 7 mcl2k 2048 416 0 416 2 0 2 2 0 8 2 mtagpl 96 9 0 4 1 0 1 1 0 8 0 mbufpl 256 6011 0 5860 12 0 12 12 0 8 0 bufpl 280 3176 0 116 219 0 219 219 0 8 0 anonpl 24 119288 0 116236 44 0 44 44 0 187 23 amapchunkpl 152 13823 0 13379 29 0 29 29 0 158 9 amappl16 200 2192 0 2170 5 0 5 5 0 8 3 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 113 0 103 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 0 1 1 0 8 1 amappl12 168 1225 0 1195 3 0 3 3 0 8 0 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 3 0 2 1 0 1 1 0 8 0 amappl9 144 246 0 246 1 0 1 1 0 8 1 amappl8 136 27 0 26 1 0 1 1 0 8 0 amappl7 128 101 0 90 1 0 1 1 0 8 0 amappl6 120 175 0 172 1 0 1 1 0 8 0 amappl5 112 111 0 105 1 0 1 1 0 8 0 amappl4 104 268 0 254 1 0 1 1 0 8 0 amappl3 96 2501 0 2402 3 0 3 3 0 8 0 amappl2 88 621 0 569 2 0 2 2 0 8 0 amappl1 80 9149 0 8595 14 0 14 14 0 8 0 amappl 88 3787 0 3632 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 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 13 0 0 1 0 1 1 0 8 0 uaddrrnd 24 611 0 581 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 611 0 581 1 0 1 1 0 8 0 vmmpekpl 168 6405 0 6382 2 0 2 2 0 8 0 vmmpepl 168 44352 0 42504 88 0 88 88 0 357 5 vmsppl 368 610 0 581 4 0 4 4 0 8 1 rwobjpl 40 16595 0 13693 30 0 30 30 0 8 0 pdppl 4096 1228 0 1162 96 28 68 80 0 8 2 pvpl 32 285617 0 277272 119 0 119 119 0 265 40 pmappl 216 610 0 581 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 373 0 28 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001580200) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a7e8540) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e8540) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002cd1d100) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80662c1dc8,81,fffffd8007bfb750,ffff80002a7e8540) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c11c1f8,ffff80002a7e8540) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c11c1f8,ffff80002a7e8540) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c11c1f8,ffff80002a7e8540) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806c11c1f8,ffff80002a7e8540) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7e8540) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7e8540,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7e8540,ffff80002cd1d470,ffff80002cd1d3c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002cd1d470) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002cd1d470) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74bc315c9300, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001580200) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a7e8540) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7e8540) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002cd1d100) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80662c1dc8,81,fffffd8007bfb750,ffff80002a7e8540) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c11c1f8,ffff80002a7e8540) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c11c1f8,ffff80002a7e8540) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c11c1f8,ffff80002a7e8540) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806c11c1f8,ffff80002a7e8540) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7e8540) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7e8540,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7e8540,ffff80002cd1d470,ffff80002cd1d3c0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002cd1d470) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002cd1d470) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74bc315c9300, count: -12