uvm_fault(0xfffffd807126b8b8, 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(ffff800001592b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c946fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c946fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c984f70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b7de3b0,81,fffffd8007bfb5b0,ffff80003c946fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c3da080,ffff80003c946fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c3da080,ffff80003c946fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c3da080,ffff80003c946fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c3da080,ffff80003c946fb8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c946fb8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c946fb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c946fb8,ffff80003c9852d0,ffff80003c985220) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9852d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9852d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7731a49b4d10, 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(0xfffffd807126b8b8, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001592b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c946fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c946fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c984f70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b7de3b0,81,fffffd8007bfb5b0,ffff80003c946fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c3da080,ffff80003c946fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c3da080,ffff80003c946fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c3da080,ffff80003c946fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c3da080,ffff80003c946fb8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c946fb8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c946fb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c946fb8,ffff80003c9852d0,ffff80003c985220) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9852d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9852d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7731a49b4d10, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c984ea0 rbx 0x1 rdx 0 rcx 0xffff80003c946fb8 rax 0xffffffff83813580 dt_prov_static r8 0xffffffffffffffff r9 0 r10 0xdc28f1fecbd1876 r11 0x1ae0a247a2d1468f r12 0 r13 0 r14 0 r15 0xffff8000015ab600 rip 0xffffffff819cb778 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c984e70 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=104246 pid=3808 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c946fb8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c94b778,0xffffffff83968648 process=0xffff80003c9e16a0 user=0xffff80003c980000, vmspace=0xfffffd807126b8b8 estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 73565 473863 50441 60929 2 0x10 syz-executor 73565 443129 50441 60929 3 0x4000090 fsleep syz-executor 4117 514349 459 -1 2 0xc90 syz-executor 4117 76661 459 -1 3 0x4000090 fsleep syz-executor 4117 182047 459 -1 3 0x4000090 pipewr syz-executor 4117 125977 459 -1 3 0x4000090 fsleep syz-executor 38000 280658 29797 0 2 0xc80 syz-executor 38000 259405 29797 0 3 0x4000080 kqsel syz-executor 38000 77545 29797 0 3 0x4000080 fsleep syz-executor 65023 360707 1 0 3 0x100083 ttyin getty 86618 278601 39131 0 2 0x2 syz-executor 29797 314745 39131 0 2 0xc82 syz-executor 32853 17500 39131 0 3 0x82 wait syz-executor 12680 264278 39131 0 2 0x2 syz-executor 459 258772 39131 0 2 0xc82 syz-executor 11923 216128 39131 0 2 0xc82 syz-executor 50441 428268 39131 0 3 0x82 nanoslp syz-executor 4023 43699 39131 0 2 0xc82 syz-executor 39131 308914 72628 0 3 0x82 kqread syz-executor 72628 327330 34803 0 3 0x10008a sigsusp ksh 34803 21800 61982 0 3 0x98 kqread sshd-session 61982 317659 26456 0 3 0x92 kqread sshd-session 26456 224749 1 0 3 0x88 kqread sshd 59952 63338 55600 73 3 0x1100090 kqread syslogd 55600 344771 1 0 3 0x100082 sbwait syslogd 48337 167904 1 0 3 0x100080 kqread resolvd 34097 410198 94742 77 3 0x100092 kqread dhcpleased 93113 269333 94742 77 3 0x100092 kqread dhcpleased 94742 397159 1 0 3 0x80 kqread dhcpleased 58189 421160 0 0 3 0x14200 bored smr 74869 141939 0 0 2 0x14200 zerothread 91378 290999 0 0 3 0x14200 aiodoned aiodoned 90190 358553 0 0 3 0x14200 syncer update 28932 7875 0 0 3 0x14200 cleaner cleaner 48465 152016 0 0 3 0x14200 reaper reaper 37599 436730 0 0 3 0x14200 pgdaemon pagedaemon 53799 198015 0 0 3 0x14200 bored viomb 19797 469926 0 0 3 0x40014200 acpi0 acpi0 32445 265685 0 0 3 0x14200 bored softnet0 36432 177110 0 0 3 0x14200 bored systqmp 93412 200864 0 0 3 0x14200 bored systq 45519 6037 0 0 3 0x40014200 tmoslp softclock 945 171322 0 0 3 0x40014200 idle0 1 373721 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 10215 11152K 11799K 166960K 13727 0 pcb 19 18K 20K 166960K 508 0 rtable 250 10K 10K 166960K 629 0 pf 30 12K 16K 166960K 119 0 ifaddr 43 8K 8K 166960K 104 0 ifgroup 50 2K 2K 166960K 159 0 sysctl 4 1K 9K 166960K 86 0 counters 32 17K 18K 166960K 91 0 ioctlops 0 0K 4K 166960K 273 0 iov 0 0K 16K 166960K 122 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1429 90K 90K 166960K 2570 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 141 0 dirhash 6 1K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 93K 166960K 1355 0 sigio 0 0K 0K 166960K 36 0 proc 60 59K 100K 166960K 660 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 168 0 in_multi 102 7K 8K 166960K 185 0 ether_multi 1 0K 0K 166960K 15 0 mrt 0 0K 0K 166960K 19 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 498 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 230 156K 171K 166960K 13458 0 UVM aobj 67 9K 9K 166960K 73 0 pinsyscall 37 74K 92K 166960K 2477 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 77 0 NDP 11 0K 2K 166960K 66 0 temp 79 8656K 8723K 166960K 36744 0 kqueue 14 22K 30K 166960K 239 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 226 0 223 4 2 2 3 0 8 1 rtentry 136 173 0 67 4 0 4 4 0 8 0 unpcb 144 807 0 788 6 0 6 6 0 8 5 syncache 336 7 0 7 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 484 0 478 14 12 2 13 0 8 0 arp 96 27 0 9 1 0 1 1 0 8 0 ipq 40 4 0 0 1 0 1 1 0 8 0 ipqe 40 5 0 1 1 0 1 1 0 8 0 inpcb 328 1457 0 1445 23 16 7 18 0 8 5 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 5 0 4 1 0 1 1 0 8 0 nd6 112 37 0 8 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 1 1 1 0 8 1 ppxss 1072 46 0 46 2 1 1 1 0 8 1 pppxif 1384 8 0 8 2 1 1 1 0 8 1 pfrktable 1344 2 0 2 2 1 1 1 0 8 1 rttmr 136 7 0 7 2 1 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 860 0 431 33 3 30 31 0 8 2 art_table 40 863 0 431 5 0 5 5 0 8 0 art_node 32 172 0 77 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 11 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 103 0 93 1 0 1 1 0 8 0 shmpl 112 66 0 5 2 0 2 2 0 8 0 dirhash 1024 17 0 13 3 1 2 3 0 8 0 dino2pl 256 3843 0 2341 95 0 95 95 0 8 0 ffsino 256 3843 0 2341 95 0 95 95 0 8 0 nchpl 144 5760 0 4062 64 0 64 64 0 8 0 rtmask 32 7 0 7 2 1 1 1 0 8 1 vnodes 216 4644 0 0 258 0 258 258 0 8 0 namei 1024 20520 0 20519 3 2 1 2 0 8 0 vcpupl 3904 3 0 0 1 0 1 1 0 8 0 vmpool 800 4 0 1 1 0 1 1 0 8 0 kstatmem 264 96 0 74 2 0 2 2 0 8 0 scsiplug 72 10 0 10 2 1 1 1 0 8 1 scxspl 216 17993 0 17993 15 7 8 8 1 8 8 plimitpl 152 427 0 409 1 0 1 1 0 8 0 sigapl 424 1669 0 1628 8 0 8 8 0 8 3 knotepl 120 48862 0 48769 29 19 10 16 0 8 7 kqueuepl 184 537 0 526 6 2 4 4 0 8 3 pipepl 304 223 0 195 3 0 3 3 0 8 0 fdescpl 448 1632 0 1604 5 1 4 5 0 8 0 filepl 120 10692 0 10469 17 5 12 13 0 8 5 lockfpl 104 824 0 822 1 0 1 1 0 8 0 lockfspl 48 252 0 250 1 0 1 1 0 8 0 sessionpl 144 28 0 20 1 0 1 1 0 8 0 pgrppl 48 131 0 115 1 0 1 1 0 8 0 ucredpl 104 2115 0 2101 1 0 1 1 0 8 0 zombiepl 144 1631 0 1628 2 1 1 1 0 8 0 processpl 1152 1669 0 1628 5 0 5 5 0 8 0 procpl 664 3462 0 3415 7 0 7 7 0 8 1 sosppl 176 2 0 2 1 1 0 1 0 8 0 sockpl 552 2577 0 2543 27 16 11 17 0 8 8 mcl64k 65536 229 0 229 2 1 1 1 0 8 1 mcl16k 16384 4 0 4 1 1 0 1 0 8 0 mcl12k 12288 3 0 3 2 1 1 1 0 8 1 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 94 0 93 2 1 1 1 0 8 0 mcl4k 4096 4128 0 4077 15 7 8 14 0 8 1 mcl2k2 2112 2 0 2 2 1 1 1 0 8 1 mcl2k 2048 2128 0 2121 4 2 2 3 0 8 0 mtagpl 96 87 0 48 2 0 2 2 0 8 0 mbufpl 256 20069 0 19864 38 16 22 31 0 8 6 bufpl 280 6625 0 403 445 0 445 445 0 8 0 anonpl 24 229318 0 222094 65 20 45 45 0 187 0 amapchunkpl 152 46415 0 45873 43 12 31 34 0 158 8 amappl16 200 3695 0 3484 29 17 12 15 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 7 0 7 2 1 1 1 0 8 1 amappl13 176 423 0 422 1 0 1 1 0 8 0 amappl12 168 1997 0 1959 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 241 0 241 1 1 0 1 0 8 0 amappl8 136 26 0 25 1 0 1 1 0 8 0 amappl7 128 87 0 85 1 0 1 1 0 8 0 amappl6 120 279 0 268 1 0 1 1 0 8 0 amappl5 112 78 0 70 1 0 1 1 0 8 0 amappl4 104 406 0 381 1 0 1 1 0 8 0 amappl3 96 8067 0 7980 3 0 3 3 0 8 0 amappl2 88 1804 0 1731 2 0 2 2 0 8 0 amappl1 80 14972 0 14444 13 0 13 13 0 8 0 amappl 88 12487 0 12327 5 0 5 5 0 92 0 uvmvnodes 80 128 0 0 3 0 3 3 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 1 1 1 0 8 1 dma128 128 256 0 256 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 72 0 6 2 0 2 2 0 8 0 uaddrrnd 24 1632 0 1604 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1632 0 1604 1 0 1 1 0 8 0 vmmpekpl 168 14046 0 14003 3 0 3 3 0 8 0 vmmpepl 168 106905 0 104985 98 7 91 91 0 357 2 vmsppl 368 1631 0 1604 4 1 3 4 0 8 0 rwobjpl 40 28022 0 26805 14 1 13 13 0 8 0 pdppl 4096 3279 0 3213 110 40 70 81 0 8 4 pvpl 32 687528 0 673721 144 27 117 117 0 265 1 pmappl 216 1635 0 1605 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 436 0 93 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001592b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c946fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c946fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c984f70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b7de3b0,81,fffffd8007bfb5b0,ffff80003c946fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c3da080,ffff80003c946fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c3da080,ffff80003c946fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c3da080,ffff80003c946fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c3da080,ffff80003c946fb8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c946fb8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c946fb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c946fb8,ffff80003c9852d0,ffff80003c985220) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9852d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9852d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7731a49b4d10, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001592b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c946fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c946fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c984f70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b7de3b0,81,fffffd8007bfb5b0,ffff80003c946fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c3da080,ffff80003c946fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c3da080,ffff80003c946fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c3da080,ffff80003c946fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c3da080,ffff80003c946fb8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c946fb8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c946fb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c946fb8,ffff80003c9852d0,ffff80003c985220) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9852d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9852d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7731a49b4d10, count: -12