uvm_fault(0xfffffd800d406468, 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(ffff80000143d100) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff80003c938550) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c938550) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c95d780) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80719e8460,81,fffffd8007bfb750,ffff80003c938550) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b78d2d0,ffff80003c938550) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b78d2d0,ffff80003c938550) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b78d2d0,ffff80003c938550) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b78d2d0,ffff80003c938550) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c938550) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c938550,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c938550,ffff80003c95dae0,ffff80003c95da30) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c95dae0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95dae0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728563112e00, 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(0xfffffd800d406468, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000143d100) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff80003c938550) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c938550) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c95d780) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80719e8460,81,fffffd8007bfb750,ffff80003c938550) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b78d2d0,ffff80003c938550) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b78d2d0,ffff80003c938550) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b78d2d0,ffff80003c938550) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b78d2d0,ffff80003c938550) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c938550) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c938550,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c938550,ffff80003c95dae0,ffff80003c95da30) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c95dae0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95dae0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728563112e00, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c95d6b0 rbx 0x1 rdx 0 rcx 0xffff80003c938550 rax 0xffff80003c938550 r8 0xffffffffffffffff r9 0 r10 0x2daf528a57c4eb12 r11 0x5255e82225ad01ac r12 0 r13 0 r14 0 r15 0xffff800001510600 rip 0xffffffff82084048 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c95d680 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=96142 pid=25671 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c938550 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c9387e8,0xffff80003c939cb8 process=0xffff8000ffffb198 user=0xffff80003c958000, vmspace=0xfffffd800d406468 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 70613 184254 17279 0 2 0 syz-executor 70613 325901 17279 0 3 0x4000080 fsleep syz-executor 13106 190033 51633 0 3 0x80 nanoslp syz-executor 13106 459136 51633 0 3 0x4000080 fsleep syz-executor 13106 54748 51633 0 3 0x4000080 lockf syz-executor 33650 10361 69619 0 2 0 syz-executor 33650 503851 69619 0 3 0x4000080 fifow syz-executor 33650 64403 69619 0 3 0x4000080 fsleep syz-executor 6067 276189 53927 0 3 0x80 nanoslp syz-executor 6067 71558 53927 0 3 0x4000080 netacc syz-executor 6067 435319 53927 0 3 0x4000080 fsleep syz-executor 74366 296594 26266 0 3 0x80 nanoslp syz-executor 74366 123441 26266 0 3 0x4000080 ttyout syz-executor 74366 185875 26266 0 3 0x4000080 fsleep syz-executor 30887 376071 0 0 3 0x14200 acct acct 30264 423559 1 0 3 0x100083 ttyin getty 53927 110192 15460 0 3 0x82 nanoslp syz-executor 98563 331915 15460 0 3 0x82 nanoslp syz-executor 26266 237424 15460 0 3 0x82 nanoslp syz-executor 51633 22127 15460 0 3 0x82 nanoslp syz-executor 17279 496365 15460 0 3 0x82 nanoslp syz-executor 69619 67848 15460 0 3 0x82 nanoslp syz-executor 83130 45361 15460 0 3 0x82 wait syz-executor 75817 358438 15460 0 2 0x2 syz-executor 15460 99354 13895 0 2 0x2 syz-executor 13895 142163 46201 0 3 0x10008a sigsusp ksh 46201 159328 51481 0 3 0x98 kqread sshd-session 51481 173794 14190 0 3 0x92 kqread sshd-session 14190 571 1 0 3 0x88 kqread sshd 85386 476042 57215 73 3 0x1100090 kqread syslogd 57215 126208 1 0 3 0x100082 sbwait syslogd 90905 486232 1 0 3 0x100080 kqread resolvd 23732 389278 97365 77 3 0x100092 kqread dhcpleased 82851 32811 97365 77 3 0x100092 kqread dhcpleased 97365 123053 1 0 3 0x80 kqread dhcpleased 33340 491905 0 0 3 0x14200 bored smr 8165 32350 0 0 2 0x14200 zerothread 94033 344487 0 0 3 0x14200 aiodoned aiodoned 86001 161004 0 0 3 0x14200 syncer update 88906 351540 0 0 3 0x14200 cleaner cleaner 43768 295878 0 0 3 0x14200 reaper reaper 35871 140982 0 0 3 0x14200 pgdaemon pagedaemon 42052 112181 0 0 3 0x14200 bored viomb 11925 331538 0 0 3 0x40014200 acpi0 acpi0 71887 74104 0 0 3 0x14200 bored softnet0 13756 50104 0 0 3 0x14200 bored systqmp 3455 466046 0 0 3 0x14200 bored systq 25708 105894 0 0 3 0x40014200 tmoslp softclock 98039 371167 0 0 3 0x40014200 idle0 1 186089 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 10227 11334K 11394K 166960K 12597 0 pcb 19 16K 17K 166960K 255 0 rtable 250 9K 10K 166960K 484 0 pf 31 13K 17K 166960K 86 0 ifaddr 43 7K 8K 166960K 73 0 ifgroup 50 2K 2K 166960K 113 0 sysctl 2 1K 9K 166960K 11 0 counters 32 17K 18K 166960K 65 0 ioctlops 0 0K 4K 166960K 164 0 iov 1 0K 16K 166960K 172 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1407 88K 89K 166960K 2285 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 22 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 659 0 sigio 0 0K 0K 166960K 13 0 proc 60 59K 83K 166960K 517 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 85 0 in_multi 102 7K 7K 166960K 128 0 ether_multi 1 0K 0K 166960K 8 0 mrt 1 0K 0K 166960K 15 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 558 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 243 160K 168K 166960K 7652 0 UVM aobj 20 10K 10K 166960K 23 0 pinsyscall 38 76K 92K 166960K 1738 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 34 0 NDP 11 0K 2K 166960K 47 0 temp 76 8652K 8732K 166960K 31947 0 kqueue 13 20K 30K 166960K 125 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 77 0 73 1 0 1 1 0 8 0 rtentry 136 131 0 28 4 0 4 4 0 8 0 unpcb 144 510 0 489 4 0 4 4 0 8 3 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpqe 32 3 0 3 1 0 1 1 0 8 1 tcpcb 736 219 0 210 7 0 7 7 0 8 5 arp 96 19 0 1 1 0 1 1 0 8 0 ipq 40 7 0 1 1 0 1 1 0 8 0 ipqe 40 8 0 2 1 0 1 1 0 8 0 inpcb 328 748 0 734 7 0 7 7 0 8 5 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 29 0 3 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 25 0 25 1 0 1 1 0 8 1 pppxif 1384 5 0 5 1 0 1 1 0 8 1 pfstscr 40 65 0 65 1 0 1 1 0 8 1 pfrktable 1344 2 0 2 1 0 1 1 0 8 1 pfstkey 128 130 0 130 1 0 1 1 0 8 1 pfstate 384 65 0 65 1 0 1 1 0 8 1 rttmr 136 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 594 0 140 33 0 33 33 0 8 1 art_table 40 596 0 140 6 0 6 6 0 8 0 art_node 32 131 0 38 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 18 0 3 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2895 0 1396 95 0 95 95 0 8 0 ffsino 256 2895 0 1396 95 0 95 95 0 8 0 nchpl 144 3825 0 2126 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 0 1 1 0 8 1 vnodes 216 3375 0 0 188 0 188 188 0 8 0 namei 1024 14007 0 14007 1 0 1 1 0 8 1 vcpupl 3904 2 0 0 1 0 1 1 0 8 0 vmpool 800 2 0 0 1 0 1 1 0 8 0 kstatmem 264 62 0 40 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 12344 0 12344 8 0 8 8 1 8 8 plimitpl 152 213 0 195 1 0 1 1 0 8 0 sigapl 424 939 0 896 6 0 6 6 0 8 1 knotepl 120 47948 0 47900 10 0 10 10 0 8 8 kqueuepl 184 228 0 219 3 0 3 3 0 8 2 pipepl 304 175 0 148 3 0 3 3 0 8 0 fdescpl 448 925 0 896 4 0 4 4 0 8 0 filepl 120 6990 0 6753 15 0 15 15 0 8 6 lockfpl 104 303 0 299 2 0 2 2 0 8 1 lockfspl 48 148 0 145 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 73 0 57 1 0 1 1 0 8 0 ucredpl 104 1737 0 1726 1 0 1 1 0 8 0 zombiepl 144 898 0 896 1 0 1 1 0 8 0 processpl 1152 939 0 896 4 0 4 4 0 8 0 procpl 664 1729 0 1677 6 0 6 6 0 8 0 sosppl 176 6 0 6 1 0 1 1 0 8 1 sockpl 552 1356 0 1317 8 0 8 8 0 8 4 mcl64k 65536 148 0 147 1 0 1 1 0 8 0 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 3145 0 3090 16 1 15 16 0 8 7 mcl2k 2048 1271 0 1264 4 0 4 4 0 8 3 mtagpl 96 11 0 6 1 0 1 1 0 8 0 mbufpl 256 13886 0 13693 17 0 17 17 0 8 3 bufpl 280 5257 0 125 367 0 367 367 0 8 0 anonpl 24 160387 0 155699 69 0 69 69 0 187 30 amapchunkpl 152 25359 0 24772 36 0 36 36 0 158 11 amappl16 200 2844 0 2808 19 7 12 15 0 8 8 amappl15 192 8 0 7 1 0 1 1 0 8 0 amappl14 184 11 0 11 1 0 1 1 0 8 1 amappl13 176 440 0 439 1 0 1 1 0 8 0 amappl12 168 1366 0 1328 2 0 2 2 0 8 0 amappl11 160 18 0 18 1 0 1 1 0 8 1 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 270 0 270 1 0 1 1 0 8 1 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 81 0 80 1 0 1 1 0 8 0 amappl6 120 267 0 256 1 0 1 1 0 8 0 amappl5 112 100 0 92 1 0 1 1 0 8 0 amappl4 104 389 0 365 1 0 1 1 0 8 0 amappl3 96 4168 0 4075 3 0 3 3 0 8 0 amappl2 88 1071 0 1001 2 0 2 2 0 8 0 amappl1 80 11416 0 10879 13 0 13 13 0 8 0 amappl 88 6834 0 6660 5 0 5 5 0 92 0 uvmvnodes 80 111 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 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 7 0 7 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 22 0 3 1 0 1 1 0 8 0 uaddrrnd 24 925 0 896 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 925 0 896 1 0 1 1 0 8 0 vmmpekpl 168 8955 0 8929 2 0 2 2 0 8 0 vmmpepl 168 65434 0 63623 93 0 93 93 0 357 4 vmsppl 368 924 0 896 4 0 4 4 0 8 1 rwobjpl 40 19726 0 18738 13 0 13 13 0 8 0 pdppl 4096 1860 0 1794 97 29 68 76 0 8 2 pvpl 32 427237 0 414714 153 0 153 153 0 265 43 pmappl 216 926 0 896 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 387 0 30 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000143d100) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff80003c938550) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c938550) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c95d780) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80719e8460,81,fffffd8007bfb750,ffff80003c938550) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b78d2d0,ffff80003c938550) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b78d2d0,ffff80003c938550) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b78d2d0,ffff80003c938550) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b78d2d0,ffff80003c938550) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c938550) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c938550,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c938550,ffff80003c95dae0,ffff80003c95da30) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c95dae0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95dae0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728563112e00, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000143d100) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff80003c938550) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003c938550) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c95d780) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80719e8460,81,fffffd8007bfb750,ffff80003c938550) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b78d2d0,ffff80003c938550) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b78d2d0,ffff80003c938550) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b78d2d0,ffff80003c938550) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b78d2d0,ffff80003c938550) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c938550) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c938550,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c938550,ffff80003c95dae0,ffff80003c95da30) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c95dae0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c95dae0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728563112e00, count: -12