uvm_fault(0xfffffd806c9af010, 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(ffff8000016b5c80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c932030) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c932030) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a819500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807aecd138,1,fffffd8007bfd820,ffff80003c932030) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807687ef08,ffff80003c932030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807687ef08,ffff80003c932030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807687ef08,ffff80003c932030) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807687ef08,ffff80003c932030) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c932030) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c932030,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c932030,ffff80002a819860,ffff80002a8197b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a819860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a819860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x771c7dea9d10, 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(0xfffffd806c9af010, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000016b5c80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c932030) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c932030) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a819500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807aecd138,1,fffffd8007bfd820,ffff80003c932030) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807687ef08,ffff80003c932030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807687ef08,ffff80003c932030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807687ef08,ffff80003c932030) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807687ef08,ffff80003c932030) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c932030) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c932030,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c932030,ffff80002a819860,ffff80002a8197b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a819860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a819860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x771c7dea9d10, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a819430 rbx 0x1 rdx 0 rcx 0xffff80003c932030 rax 0xffff80003c932030 r8 0xffffffffffffffff r9 0 r10 0x61d1034d25f3ee4b r11 0xef5eb3e651b2b79f r12 0 r13 0 r14 0 r15 0xffff800001705d00 rip 0xffffffff8149cd38 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a819400 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=237924 pid=31130 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c932030 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7bc018,0xffff80003c933500 process=0xffff80002f0ec918 user=0xffff80002a814000, vmspace=0xfffffd806c9af010 estcpu=32, cpticks=22, pctcpu=0.19, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 4473 99518 27500 0 2 0 syz-executor 76427 70164 40685 0 2 0 syz-executor 76427 379041 40685 0 3 0x4000080 fsleep syz-executor 76427 13823 40685 0 2 0x4000000 syz-executor 19687 248280 8578 0 2 0 syz-executor 12706 369140 31054 -1 2 0x10 syz-executor 12706 80149 31054 -1 3 0x4000090 fsleep syz-executor 12706 273176 31054 -1 3 0x4000090 fsleep syz-executor 36992 161521 70662 0 3 0x80 nanoslp syz-executor 36992 375655 70662 0 3 0x4000080 fsleep syz-executor 36992 335997 70662 0 3 0x4000080 ttyin syz-executor 36992 189393 70662 0 3 0x4000080 fsleep syz-executor 54354 172596 59886 0 3 0x82 nanoslp syz-executor 56321 403411 0 0 3 0x14200 acct acct 78500 321789 1 0 3 0x82 nanoslp getty 31054 228750 59886 0 3 0x82 nanoslp syz-executor 8578 111370 59886 0 3 0x82 nanoslp syz-executor 88896 483596 59886 0 2 0x2 syz-executor 70662 332392 59886 0 3 0x82 nanoslp syz-executor 27500 195753 59886 0 2 0x2 syz-executor 40685 82437 59886 0 3 0x82 nanoslp syz-executor 77972 86921 59886 0 3 0x82 nanoslp syz-executor 59886 447731 49497 0 3 0x82 kqread syz-executor 49497 434325 22373 0 3 0x10008a sigsusp ksh 22373 381779 303 0 3 0x98 kqread sshd-session 303 105773 48163 0 3 0x92 kqread sshd-session 48163 93513 1 0 3 0x88 kqread sshd 35207 263202 73786 73 3 0x1100090 kqread syslogd 73786 188685 1 0 3 0x100082 sbwait syslogd 36331 84841 1 0 3 0x100080 kqread resolvd 15243 51622 27690 77 3 0x100092 kqread dhcpleased 59891 412245 27690 77 3 0x100092 kqread dhcpleased 27690 342081 1 0 3 0x80 kqread dhcpleased 73714 59247 0 0 3 0x14200 bored smr 36763 404564 0 0 2 0x14200 zerothread 3248 440691 0 0 3 0x14200 aiodoned aiodoned 28963 423249 0 0 3 0x14200 syncer update 31300 387068 0 0 3 0x14200 cleaner cleaner 12602 403205 0 0 3 0x14200 reaper reaper 11800 71973 0 0 3 0x14200 pgdaemon pagedaemon 24089 460246 0 0 3 0x14200 bored viomb 32932 381023 0 0 3 0x40014200 acpi0 acpi0 32028 72258 0 0 3 0x14200 bored softnet0 56381 439308 0 0 3 0x14200 bored systqmp 4675 2432 0 0 3 0x14200 bored systq 15942 446290 0 0 3 0x40014200 tmoslp softclock 25870 7127 0 0 3 0x40014200 idle0 1 161334 0 0 3 0x80082 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 11104 12318K 13402K 166960K 18008 0 pcb 19 16K 17K 166960K 672 0 rtable 216 19K 20K 166960K 1125 0 pf 36 14K 18K 166960K 316 0 ifaddr 33 6K 10K 166960K 210 0 ifgroup 49 2K 2K 166960K 329 0 sysctl 4 1K 9K 166960K 27 0 counters 32 17K 18K 166960K 243 0 ioctlops 0 0K 6K 166960K 801 0 iov 0 0K 24K 166960K 499 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1589 100K 100K 166960K 4829 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 45 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 249 0 dirhash 12 2K 3K 166960K 51 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 2749 0 sigio 0 0K 0K 166960K 56 0 proc 60 59K 100K 166960K 881 0 subproc 72 4K 4K 166960K 110 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 373 0 in_multi 59 4K 7K 166960K 404 0 ether_multi 1 0K 0K 166960K 21 0 mrt 0 0K 0K 166960K 20 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 881 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 8 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 225 153K 181K 166960K 25973 0 UVM aobj 52 20K 20K 166960K 61 0 pinsyscall 38 76K 96K 166960K 4002 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 194 0 NDP 10 0K 2K 166960K 162 0 temp 77 8680K 8808K 166960K 114274 0 kqueue 14 22K 32K 166960K 501 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 237 0 234 1 0 1 1 0 8 0 rtentry 136 357 0 284 4 0 4 4 0 8 0 unpcb 144 2055 0 2040 8 1 7 7 0 8 6 syncache 336 23 0 23 2 1 1 1 0 8 1 tcpqe 32 9 0 9 1 0 1 1 0 8 1 tcpcb 736 898 0 894 7 0 7 7 0 8 6 arp 96 39 0 24 1 0 1 1 0 8 0 ipq 40 15 0 13 1 0 1 1 0 8 0 ipqe 40 22 0 20 1 0 1 1 0 8 0 inpcb 328 2591 0 2581 11 4 7 7 0 8 4 ip6q 72 11 0 7 1 0 1 1 0 8 0 ip6af 40 19 0 16 1 0 1 1 0 8 0 nd6 112 84 0 69 1 0 1 1 0 8 0 pkpcb 40 17 0 16 2 1 1 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 3 0 3 1 0 1 1 0 8 1 ppxss 1072 178 0 178 2 1 1 1 0 8 1 pppxif 1384 46 0 46 1 0 1 1 0 8 1 pfstscr 40 6 0 5 1 0 1 1 0 8 0 pfrktable 1344 9 0 9 1 0 1 1 0 8 1 pfsrclim 320 4 0 4 1 0 1 1 0 8 1 pfanchor 1288 4 0 1 1 0 1 1 0 8 0 pftag 88 8 0 3 1 0 1 1 0 8 0 pfqueue 320 2 0 0 1 0 1 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 15 0 9 1 0 1 1 0 8 0 pfstate 384 8 0 5 1 0 1 1 0 8 0 pfrule 1360 27 0 24 2 1 1 1 0 8 0 art_heap8 4096 5 0 1 5 0 5 5 0 8 1 art_heap4 256 1649 0 1324 76 48 28 72 0 8 7 art_table 40 1654 0 1325 12 0 12 12 0 8 7 art_node 32 356 0 296 2 0 2 2 0 8 0 sysvmsgpl 40 25 0 17 1 0 1 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 246 0 236 1 0 1 1 0 8 0 shmpl 112 49 0 8 2 0 2 2 0 8 0 dirhash 1024 43 0 26 3 0 3 3 0 8 0 dino2pl 256 6871 0 5364 95 0 95 95 0 8 0 ffsino 256 6871 0 5364 95 0 95 95 0 8 0 nchpl 144 10732 0 9025 64 0 64 64 0 8 0 rtmask 32 31 0 31 2 1 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 38949 0 38948 4 3 1 2 0 8 0 vcpupl 3904 8 0 0 1 0 1 1 0 8 0 vmpool 808 9 0 1 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 1 0 1 1 0 8 1 kstatmem 264 212 0 192 2 0 2 2 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 13 0 13 2 1 1 1 0 8 1 scxspl 216 43576 0 43576 11 8 3 8 1 8 3 plimitpl 152 727 0 709 1 0 1 1 0 8 0 sigapl 424 3056 0 3013 7 1 6 6 0 8 0 knotepl 120 143887 0 143837 60 49 11 18 0 8 7 kqueuepl 184 1012 0 1001 4 0 4 4 0 8 3 pipepl 304 333 0 306 3 0 3 3 0 8 0 fdescpl 448 3032 0 3003 5 1 4 5 0 8 0 filepl 120 21406 0 21186 14 1 13 13 0 8 2 lockfpl 104 1037 0 1035 1 0 1 1 0 8 0 lockfspl 48 473 0 471 1 0 1 1 0 8 0 sessionpl 144 39 0 32 1 0 1 1 0 8 0 pgrppl 48 93 0 78 1 0 1 1 0 8 0 ucredpl 104 4286 0 4273 1 0 1 1 0 8 0 zombiepl 144 3358 0 3356 2 1 1 1 0 8 0 processpl 1152 3056 0 3013 4 0 4 4 0 8 0 procpl 664 7007 0 6957 7 1 6 6 0 8 0 sosppl 176 25 0 25 2 1 1 1 0 8 1 sockpl 552 5062 0 5033 20 10 10 16 0 8 6 mcl64k 65536 88 0 88 1 0 1 1 0 8 1 mcl16k 16384 5 0 5 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 74 0 74 3 2 1 1 0 8 1 mcl4k 4096 6003 0 5951 17 8 9 15 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 2632 0 2627 5 1 4 4 0 8 2 mtagpl 96 237 0 106 4 0 4 4 0 8 0 mbufpl 256 35017 0 34773 36 3 33 35 0 8 8 bufpl 280 15242 0 9021 445 0 445 445 0 8 0 anonpl 24 400369 0 397172 90 33 57 65 0 187 23 amapchunkpl 152 91207 0 90559 49 11 38 38 0 158 7 amappl16 200 6716 0 6684 46 30 16 27 0 8 8 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 9 0 9 2 1 1 1 0 8 1 amappl13 176 456 0 455 1 0 1 1 0 8 0 amappl12 168 3435 0 3398 3 1 2 3 0 8 0 amappl11 160 1 0 1 1 0 1 1 0 8 1 amappl10 152 40 0 30 1 0 1 1 0 8 0 amappl9 144 257 0 257 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 94 0 93 1 0 1 1 0 8 0 amappl6 120 336 0 324 1 0 1 1 0 8 0 amappl5 112 96 0 88 1 0 1 1 0 8 0 amappl4 104 477 0 452 1 0 1 1 0 8 0 amappl3 96 15841 0 15759 3 0 3 3 0 8 0 amappl2 88 3222 0 3151 2 0 2 2 0 8 0 amappl1 80 22890 0 22351 16 1 15 15 0 8 2 amappl 88 24705 0 24548 5 0 5 5 0 92 0 uvmvnodes 80 160 0 0 4 0 4 4 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 5 0 4 1 0 1 1 0 8 0 dma256 256 10 0 10 2 1 1 1 0 8 1 dma128 128 259 0 259 2 1 1 1 0 8 1 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 60 0 9 1 0 1 1 0 8 0 uaddrrnd 24 3032 0 3003 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3032 0 3003 1 0 1 1 0 8 0 vmmpekpl 168 23566 0 23524 3 0 3 3 0 8 0 vmmpepl 168 192434 0 190667 111 13 98 98 0 357 14 vmsppl 368 3031 0 3003 4 1 3 4 0 8 0 rwobjpl 40 47065 0 46007 18 3 15 15 0 8 0 pdppl 4096 6089 0 6016 128 53 75 83 0 8 2 pvpl 32 1267662 0 1259289 192 51 141 143 0 265 44 pmappl 216 3040 0 3004 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 498 0 126 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000016b5c80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c932030) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c932030) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a819500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807aecd138,1,fffffd8007bfd820,ffff80003c932030) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807687ef08,ffff80003c932030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807687ef08,ffff80003c932030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807687ef08,ffff80003c932030) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807687ef08,ffff80003c932030) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c932030) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c932030,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c932030,ffff80002a819860,ffff80002a8197b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a819860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a819860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x771c7dea9d10, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000016b5c80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80003c932030) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c932030) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a819500) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807aecd138,1,fffffd8007bfd820,ffff80003c932030) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807687ef08,ffff80003c932030) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807687ef08,ffff80003c932030) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807687ef08,ffff80003c932030) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807687ef08,ffff80003c932030) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c932030) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c932030,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c932030,ffff80002a819860,ffff80002a8197b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a819860) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a819860) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x771c7dea9d10, count: -12