uvm_fault(0xfffffd806c8b9d08, 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(ffff8000015a3a00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002a79a7e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a79a7e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c92d1a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c2d5378,81,fffffd8007bfd410,ffff80002a79a7e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c34be28,ffff80002a79a7e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c34be28,ffff80002a79a7e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c34be28,ffff80002a79a7e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c34be28,ffff80002a79a7e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a79a7e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a79a7e0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a79a7e0,ffff80003c92d500,ffff80003c92d450) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c92d500) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c92d500) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x749f85aa05f0, 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(0xfffffd806c8b9d08, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000015a3a00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002a79a7e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a79a7e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c92d1a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c2d5378,81,fffffd8007bfd410,ffff80002a79a7e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c34be28,ffff80002a79a7e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c34be28,ffff80002a79a7e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c34be28,ffff80002a79a7e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c34be28,ffff80002a79a7e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a79a7e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a79a7e0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a79a7e0,ffff80003c92d500,ffff80003c92d450) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c92d500) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c92d500) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x749f85aa05f0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c92d0d0 rbx 0x1 rdx 0 rcx 0xffff80002a79a7e0 rax 0xffffffff83869fd0 dt_prov_static r8 0xffffffffffffffff r9 0 r10 0x60814ebc7c92c318 r11 0x15019af1203dc9d9 r12 0 r13 0 r14 0 r15 0xffff8000015a7300 rip 0xffffffff82fa41e8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c92d0a0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=223809 pid=83032 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a79a7e0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a79ba08,0xffffffff83887148 process=0xffff8000ffff9f98 user=0xffff80003c928000, vmspace=0xfffffd806c8b9d08 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 87110 305958 74139 0 2 0 syz-executor 87110 55104 74139 0 3 0x4000080 fsleep syz-executor 42846 257227 66266 60929 2 0x10 syz-executor 42846 504272 66266 60929 3 0x4000090 ttyout syz-executor 42846 233097 66266 60929 3 0x4000090 fsleep syz-executor 64640 521018 21485 0 2 0 syz-executor 64640 674 21485 0 3 0x4000080 fsleep syz-executor 64640 402721 21485 0 3 0x4000080 fsleep syz-executor 85889 417582 34288 0 3 0x80 nanoslp syz-executor 85889 348197 34288 0 3 0x4000080 kqsel syz-executor 85889 506948 34288 0 3 0x4000080 fsleep syz-executor 87549 208639 59956 0 3 0x3000 suspend syz-executor 87549 242318 59956 0 2 0x4081000 syz-executor 87549 335449 59956 0 3 0x4081000 inode syz-executor 87549 355842 59956 0 3 0x4081000 inode syz-executor 77448 261761 0 0 3 0x14200 acct acct 44736 199272 96523 0 3 0x3000 suspend syz-executor 44736 422281 96523 0 2 0x4081000 syz-executor 44736 317784 96523 0 3 0x4081000 inode syz-executor 4890 168906 660 0 2 0x2 syz-executor 34288 79371 660 0 3 0x82 nanoslp syz-executor 96523 489736 660 0 3 0x82 wait syz-executor 21485 309868 660 0 2 0x2 syz-executor 59956 43615 660 0 3 0x82 nanoslp syz-executor 74139 186277 660 0 3 0x82 nanoslp syz-executor 1544 63416 660 0 2 0xc82 syz-executor 66266 27810 660 0 3 0x82 nanoslp syz-executor 660 3431 76021 0 3 0x82 kqread syz-executor 76021 497491 5408 0 3 0x10008a sigsusp ksh 5408 75627 19212 0 3 0x98 kqread sshd-session 19212 57796 35128 0 3 0x92 kqread sshd-session 79213 402198 1 0 3 0x100083 ttyin getty 35128 383403 1 0 3 0x88 kqread sshd 76763 474430 35736 73 3 0x1100090 kqread syslogd 35736 191090 1 0 3 0x100082 sbwait syslogd 48427 416917 1 0 3 0x100080 kqread resolvd 42249 82839 15785 77 3 0x100092 kqread dhcpleased 45224 346686 15785 77 3 0x100092 kqread dhcpleased 15785 263944 1 0 3 0x80 kqread dhcpleased 27919 480940 0 0 3 0x14200 bored smr 24025 87590 0 0 2 0x14200 zerothread 99519 295455 0 0 3 0x14200 aiodoned aiodoned 9863 85654 0 0 3 0x14200 syncer update 35622 168399 0 0 3 0x14200 cleaner cleaner 74153 341374 0 0 3 0x14200 reaper reaper 26808 168309 0 0 3 0x14200 pgdaemon pagedaemon 38171 203907 0 0 3 0x14200 bored viomb 54344 120004 0 0 3 0x40014200 acpi0 acpi0 91543 416128 0 0 2 0x14200 softnet0 76051 113845 0 0 3 0x14200 bored systqmp 63360 514104 0 0 3 0x14200 bored systq 23686 220143 0 0 2 0x40014200 softclock 66145 225524 0 0 3 0x40014200 idle0 1 120978 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 11054 12126K 12574K 166960K 12554 0 pcb 17 12K 12K 166960K 90 0 rtable 247 9K 10K 166960K 414 0 pf 32 13K 13K 166960K 47 0 ifaddr 45 8K 8K 166960K 58 0 ifgroup 54 2K 2K 166960K 71 0 sysctl 3 1K 9K 166960K 7 0 counters 34 17K 18K 166960K 75 0 ioctlops 0 0K 4K 166960K 95 0 iov 0 0K 32K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1348 85K 85K 166960K 1544 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 363 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 108K 166960K 489 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 23 0 in_multi 103 7K 7K 166960K 112 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 127 572K 572K 166960K 127 0 exec 0 0K 1K 166960K 384 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 239 159K 168K 166960K 4976 0 UVM aobj 12 4K 4K 166960K 12 0 pinsyscall 38 76K 94K 166960K 1443 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 14 0 NDP 12 0K 2K 166960K 34 0 temp 42 8667K 8748K 166960K 16704 0 kqueue 14 22K 28K 166960K 66 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 61 0 58 1 0 1 1 0 8 0 rtentry 136 124 0 17 4 0 4 4 0 8 0 unpcb 144 194 0 176 3 0 3 3 0 8 2 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 75 0 68 1 0 1 1 0 8 0 arp 96 20 0 1 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 254 0 242 2 0 2 2 0 8 0 nd6 112 28 0 0 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 39 0 39 1 0 1 1 0 8 1 pppxif 1384 33 0 33 1 0 1 1 0 8 1 pfrule 1360 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 525 0 68 31 0 31 31 0 8 1 art_table 40 526 0 68 5 0 5 5 0 8 0 art_node 32 124 0 28 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 0 1 1 0 8 1 semapl 112 6 0 1 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1994 0 488 95 0 95 95 0 8 0 ffsino 256 1994 0 488 95 0 95 95 0 8 0 nchpl 144 2494 0 801 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 2175 0 0 121 0 121 121 0 8 0 namei 1024 7686 0 7685 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 36 0 12 2 0 2 2 0 8 0 scxspl 216 13632 0 13632 8 0 8 8 1 8 8 plimitpl 152 170 0 150 1 0 1 1 0 8 0 sigapl 424 653 0 610 6 0 6 6 0 8 1 knotepl 120 12037 0 11737 24 7 17 17 0 8 7 kqueuepl 184 89 0 77 1 0 1 1 0 8 0 pipepl 304 149 0 122 4 0 4 4 0 8 1 fdescpl 448 639 0 610 5 0 5 5 0 8 1 filepl 120 2895 0 2666 9 0 9 9 0 8 0 lockfpl 104 142 0 139 1 0 1 1 0 8 0 lockfspl 48 55 0 52 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 104 399 0 387 1 0 1 1 0 8 0 zombiepl 144 613 0 610 1 0 1 1 0 8 0 processpl 1152 653 0 610 4 0 4 4 0 8 0 procpl 664 1016 0 961 6 0 6 6 0 8 0 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 552 521 0 488 5 0 5 5 0 8 2 mcl64k 65536 17 0 17 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 2770 0 2712 15 0 15 15 0 8 7 mcl2k 2048 475 0 473 3 0 3 3 0 8 2 mtagpl 96 17 0 4 1 0 1 1 0 8 0 mbufpl 256 7611 0 7430 16 0 16 16 0 8 2 bufpl 280 5600 0 118 392 0 392 392 0 8 0 anonpl 24 122213 0 111377 66 0 66 66 0 187 0 amapchunkpl 152 15110 0 14594 29 0 29 29 0 158 8 amappl16 200 2537 0 2048 26 0 26 26 0 8 0 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 62 0 62 1 0 1 1 0 8 1 amappl13 176 405 0 404 1 0 1 1 0 8 0 amappl12 168 983 0 944 2 0 2 2 0 8 0 amappl11 160 80 0 80 1 0 1 1 0 8 1 amappl10 152 46 0 35 1 0 1 1 0 8 0 amappl9 144 253 0 252 1 0 1 1 0 8 0 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 83 0 82 1 0 1 1 0 8 0 amappl6 120 265 0 253 1 0 1 1 0 8 0 amappl5 112 81 0 73 1 0 1 1 0 8 0 amappl4 104 381 0 358 1 0 1 1 0 8 0 amappl3 96 2520 0 2427 3 0 3 3 0 8 0 amappl2 88 770 0 701 2 0 2 2 0 8 0 amappl1 80 10084 0 9541 14 0 14 14 0 8 1 amappl 88 4225 0 4055 5 0 5 5 0 92 0 uvmvnodes 80 105 0 0 3 0 3 3 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 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 11 0 0 1 0 1 1 0 8 0 uaddrrnd 24 639 0 610 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 639 0 610 1 0 1 1 0 8 0 vmmpekpl 168 6811 0 6773 3 0 3 3 0 8 0 vmmpepl 168 48497 0 46236 101 0 101 101 0 357 0 vmsppl 368 638 0 610 4 0 4 4 0 8 1 rwobjpl 40 16178 0 14746 15 0 15 15 0 8 0 pdppl 4096 1286 0 1221 98 31 67 82 0 8 2 pvpl 32 300208 0 283596 140 0 140 140 0 265 1 pmappl 216 639 0 610 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 377 0 31 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000015a3a00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002a79a7e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a79a7e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c92d1a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c2d5378,81,fffffd8007bfd410,ffff80002a79a7e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c34be28,ffff80002a79a7e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c34be28,ffff80002a79a7e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c34be28,ffff80002a79a7e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c34be28,ffff80002a79a7e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a79a7e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a79a7e0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a79a7e0,ffff80003c92d500,ffff80003c92d450) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c92d500) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c92d500) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x749f85aa05f0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000015a3a00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002a79a7e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a79a7e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c92d1a0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c2d5378,81,fffffd8007bfd410,ffff80002a79a7e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c34be28,ffff80002a79a7e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c34be28,ffff80002a79a7e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c34be28,ffff80002a79a7e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c34be28,ffff80002a79a7e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a79a7e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a79a7e0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a79a7e0,ffff80003c92d500,ffff80003c92d450) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c92d500) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c92d500) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x749f85aa05f0, count: -12