uvm_fault(0xfffffd806c8fde78, 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(ffff800001490600) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff80002a7a54d8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7a54d8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800031cfad20) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c9b9b30,81,fffffd8007bfd820,ffff80002a7a54d8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ca2ddb0,ffff80002a7a54d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ca2ddb0,ffff80002a7a54d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ca2ddb0,ffff80002a7a54d8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ca2ddb0,ffff80002a7a54d8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7a54d8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7a54d8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7a54d8,ffff800031cfb080,ffff800031cfafd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031cfb080) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031cfb080) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x798070cb44d0, 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(0xfffffd806c8fde78, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001490600) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff80002a7a54d8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7a54d8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800031cfad20) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c9b9b30,81,fffffd8007bfd820,ffff80002a7a54d8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ca2ddb0,ffff80002a7a54d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ca2ddb0,ffff80002a7a54d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ca2ddb0,ffff80002a7a54d8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ca2ddb0,ffff80002a7a54d8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7a54d8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7a54d8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7a54d8,ffff800031cfb080,ffff800031cfafd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031cfb080) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031cfb080) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x798070cb44d0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800031cfac50 rbx 0x1 rdx 0 rcx 0xffff80002a7a54d8 rax 0xffff80002a7a54d8 r8 0xffffffffffffffff r9 0 r10 0x7d9ac80777118815 r11 0xf66f55cad89486dc r12 0 r13 0 r14 0 r15 0xffff8000014bc000 rip 0xffffffff81b29d18 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800031cfac20 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=108095 pid=63583 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7a54d8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7a5240,0xffff80002a7bd4f0 process=0xffff8000ffffb618 user=0xffff800031cf6000, vmspace=0xfffffd806c8fde78 estcpu=3, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 71048 398518 32061 0 2 0 syz-executor 71048 72980 32061 0 2 0x4000000 syz-executor 29307 15529 69296 0 2 0 syz-executor 29307 304441 69296 0 3 0x4000080 fsleep syz-executor 11049 320664 38246 0 3 0x80 nanoslp syz-executor 11049 453856 38246 0 3 0x4000080 fifor syz-executor 11049 411986 38246 0 3 0x4000080 fsleep syz-executor 33847 181108 274 0 3 0x80 nanoslp syz-executor 33847 177303 274 0 3 0x4000080 msgwait syz-executor 33847 68127 274 0 3 0x4000080 msgwait syz-executor 33847 503139 274 0 3 0x4000080 fsleep syz-executor 71590 495389 55161 0 3 0x80 nanoslp syz-executor 71590 157199 55161 0 3 0x4000080 kqread syz-executor 71590 60586 55161 0 3 0x4000080 kqread syz-executor 71590 227156 55161 0 3 0x4000080 fsleep syz-executor 61044 82439 0 0 3 0x14200 acct acct 32061 454074 17700 0 3 0x82 nanoslp syz-executor 274 471224 17700 0 3 0x82 nanoslp syz-executor 69296 121507 17700 0 3 0x82 nanoslp syz-executor 55161 175062 17700 0 3 0x82 nanoslp syz-executor 90722 406367 17700 0 3 0x82 nanoslp syz-executor 94451 509133 17700 0 3 0x82 nanoslp syz-executor 38246 469162 17700 0 3 0x82 nanoslp syz-executor 10075 189193 17700 0 3 0x82 nanoslp syz-executor 17700 399990 69754 0 3 0x82 kqread syz-executor 69754 429559 59430 0 3 0x10008a sigsusp ksh 59430 172443 79083 0 3 0x98 kqread sshd-session 79083 147666 97253 0 3 0x92 kqread sshd-session 70108 401751 1 0 3 0x100083 ttyin getty 97253 260716 1 0 3 0x88 kqread sshd 10271 189878 15068 73 3 0x1100090 kqread syslogd 15068 142253 1 0 3 0x100082 sbwait syslogd 19401 28070 1 0 3 0x100080 kqread resolvd 16517 470719 79839 77 3 0x100092 kqread dhcpleased 83943 103364 79839 77 3 0x100092 kqread dhcpleased 79839 393810 1 0 3 0x80 kqread dhcpleased 67010 198067 0 0 3 0x14200 bored smr 51721 204338 0 0 2 0x14200 zerothread 60203 388552 0 0 3 0x14200 aiodoned aiodoned 40513 138225 0 0 3 0x14200 syncer update 58686 273566 0 0 3 0x14200 cleaner cleaner 56021 166233 0 0 3 0x14200 reaper reaper 58640 249072 0 0 3 0x14200 pgdaemon pagedaemon 38464 117970 0 0 3 0x14200 bored viomb 85836 43949 0 0 3 0x40014200 acpi0 acpi0 21290 133476 0 0 3 0x14200 bored softnet0 82331 324563 0 0 3 0x14200 bored systqmp 88707 121684 0 0 3 0x14200 bored systq 80485 89269 0 0 3 0x40014200 tmoslp softclock 59787 26380 0 0 3 0x40014200 idle0 1 61280 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 10208 11319K 11319K 166960K 11486 0 pcb 20 12K 12K 166960K 39 0 rtable 240 7K 7K 166960K 365 0 pf 36 14K 14K 166960K 38 0 ifaddr 43 7K 7K 166960K 46 0 ifgroup 52 2K 2K 166960K 54 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 17K 166960K 35 0 ioctlops 0 0K 4K 166960K 43 0 iov 0 0K 12K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1350 85K 85K 166960K 1418 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 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 191 0 sigio 0 0K 0K 166960K 1 0 proc 58 59K 91K 166960K 479 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 7 0 in_multi 99 7K 7K 166960K 102 0 ether_multi 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 49 228K 228K 166960K 49 0 exec 0 0K 1K 166960K 396 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 245 163K 174K 166960K 3485 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 39 78K 92K 166960K 1259 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 11 0 NDP 12 0K 2K 166960K 29 0 temp 38 8650K 8714K 166960K 4016 0 kqueue 16 26K 26K 166960K 42 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 47 0 39 1 0 1 1 0 8 0 rtentry 136 114 0 5 4 0 4 4 0 8 0 unpcb 144 129 0 41 4 0 4 4 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 59 0 55 4 0 4 4 0 8 3 arp 96 19 0 1 1 0 1 1 0 8 0 inpcb 328 151 0 136 4 0 4 4 0 8 2 nd6 112 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 3 0 2 1 0 1 1 0 8 0 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfrule 1344 1 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 454 0 2 29 0 29 29 0 8 0 art_table 40 455 0 2 5 0 5 5 0 8 0 art_node 32 113 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1675 0 166 95 0 95 95 0 8 0 ffsino 256 1675 0 166 95 0 95 95 0 8 0 nchpl 144 1934 0 236 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 1788 0 0 100 0 100 100 0 8 0 namei 1024 5596 0 5596 2 0 2 2 0 8 2 kstatmem 264 26 0 2 2 0 2 2 0 8 0 scxspl 216 6125 0 6125 2 0 2 2 1 8 2 plimitpl 152 34 0 18 1 0 1 1 0 8 0 sigapl 424 478 0 434 6 0 6 6 0 8 1 knotepl 120 4851 0 4675 10 0 10 10 0 8 4 kqueuepl 184 44 0 32 1 0 1 1 0 8 0 pipepl 304 150 0 90 5 0 5 5 0 8 0 fdescpl 448 464 0 434 5 0 5 5 0 8 1 filepl 120 1855 0 1489 12 0 12 12 0 8 0 lockfpl 104 23 0 20 1 0 1 1 0 8 0 lockfspl 48 13 0 10 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 119 0 108 1 0 1 1 0 8 0 zombiepl 144 437 0 434 1 0 1 1 0 8 0 processpl 1152 478 0 434 4 0 4 4 0 8 0 procpl 664 566 0 512 5 0 5 5 0 8 0 sockpl 552 330 0 219 8 0 8 8 0 8 0 mcl64k 65536 76 0 76 1 0 1 1 0 8 1 mcl16k 16384 8 0 8 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 2516 0 2462 15 0 15 15 0 8 7 mcl2k 2048 267 0 265 3 0 3 3 0 8 2 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 4882 0 4714 16 0 16 16 0 8 3 bufpl 280 2333 0 119 159 0 159 159 0 8 0 anonpl 24 89403 0 86248 21 0 21 21 0 187 1 amapchunkpl 152 10133 0 9619 30 0 30 30 0 158 9 amappl16 200 1384 0 1360 4 0 4 4 0 8 2 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 14 0 14 1 0 1 1 0 8 1 amappl13 176 407 0 406 1 0 1 1 0 8 0 amappl12 168 802 0 763 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 0 1 1 0 8 1 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 254 0 254 1 0 1 1 0 8 1 amappl8 136 18 0 17 1 0 1 1 0 8 0 amappl7 128 76 0 75 1 0 1 1 0 8 0 amappl6 120 256 0 245 1 0 1 1 0 8 0 amappl5 112 69 0 61 1 0 1 1 0 8 0 amappl4 104 370 0 347 1 0 1 1 0 8 0 amappl3 96 1648 0 1553 3 0 3 3 0 8 0 amappl2 88 572 0 501 2 0 2 2 0 8 0 amappl1 80 8856 0 8309 13 0 13 13 0 8 1 amappl 88 2792 0 2618 4 0 4 4 0 92 0 uvmvnodes 80 98 0 0 2 0 2 2 0 8 0 dma16384 16384 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 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 464 0 434 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 464 0 434 1 0 1 1 0 8 0 vmmpekpl 168 5443 0 5407 2 0 2 2 0 8 0 vmmpepl 168 36656 0 34818 81 0 81 81 0 357 0 vmsppl 368 463 0 434 4 0 4 4 0 8 1 rwobjpl 40 12954 0 12006 10 0 10 10 0 8 0 pdppl 4096 935 0 868 93 26 67 79 0 8 0 pvpl 32 218349 0 209657 77 0 77 77 0 265 3 pmappl 216 463 0 434 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 373 0 26 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001490600) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff80002a7a54d8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7a54d8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800031cfad20) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c9b9b30,81,fffffd8007bfd820,ffff80002a7a54d8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ca2ddb0,ffff80002a7a54d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ca2ddb0,ffff80002a7a54d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ca2ddb0,ffff80002a7a54d8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ca2ddb0,ffff80002a7a54d8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7a54d8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7a54d8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7a54d8,ffff800031cfb080,ffff800031cfafd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031cfb080) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031cfb080) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x798070cb44d0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001490600) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,81,2000,ffff80002a7a54d8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80002a7a54d8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800031cfad20) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c9b9b30,81,fffffd8007bfd820,ffff80002a7a54d8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ca2ddb0,ffff80002a7a54d8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ca2ddb0,ffff80002a7a54d8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ca2ddb0,ffff80002a7a54d8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ca2ddb0,ffff80002a7a54d8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7a54d8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7a54d8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7a54d8,ffff800031cfb080,ffff800031cfafd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031cfb080) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031cfb080) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x798070cb44d0, count: -12