uvm_fault(0xfffffd806c8fa188, 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(ffff80000159c780) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,2,2000,ffff80003c93a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,2,2000,ffff80003c93a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800038121420) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80626b0110,2,fffffd8007bfd750,ffff80003c93a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c9602e0,ffff80003c93a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c9602e0,ffff80003c93a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c9602e0,ffff80003c93a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c9602e0,ffff80003c93a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93a020,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93a020,ffff800038121780,ffff8000381216d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800038121780) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038121780) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7793a42340c0, 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(0xfffffd806c8fa188, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000159c780) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,2,2000,ffff80003c93a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,2,2000,ffff80003c93a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800038121420) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80626b0110,2,fffffd8007bfd750,ffff80003c93a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c9602e0,ffff80003c93a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c9602e0,ffff80003c93a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c9602e0,ffff80003c93a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c9602e0,ffff80003c93a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93a020,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93a020,ffff800038121780,ffff8000381216d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800038121780) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038121780) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7793a42340c0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800038121350 rbx 0x1 rdx 0 rcx 0xffff80003c93a020 rax 0xffffffff838451a8 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0x3eefdb4ece346086 r11 0x3d6e581dd90e0c1 r12 0 r13 0 r14 0 r15 0xffff8000015d6000 rip 0xffffffff816a0638 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff800038121320 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=197108 pid=79164 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c93a020 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c93a2b8,0xffffffff838809f0 process=0xffff8000ffffa418 user=0xffff80003811c000, vmspace=0xfffffd806c8fa188 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60455 210861 53917 0 2 0 syz-executor 60455 371083 53917 0 3 0x4000080 fsleep syz-executor 91119 149449 78101 0 2 0 syz-executor 91119 114096 78101 0 3 0x4000080 fsleep syz-executor 78679 43985 54112 60928 2 0x10 syz-executor 78679 279364 54112 60928 3 0x4000090 kqsel syz-executor 78679 149272 54112 60928 2 0x4000010 syz-executor 11201 353021 7806 0 3 0x80 nanoslp syz-executor 11201 146898 7806 0 3 0x4000080 netacc syz-executor 11201 227110 7806 0 3 0x4000080 fsleep syz-executor 54112 264203 19041 0 2 0xc82 syz-executor 60967 505826 19041 0 2 0x2 syz-executor 7806 234251 19041 0 3 0x82 nanoslp syz-executor 68877 53218 19041 0 3 0x82 wait syz-executor 15944 117415 19041 0 2 0x2 syz-executor 53917 489252 19041 0 2 0xc82 syz-executor 53612 90878 19041 0 3 0x82 nanoslp syz-executor 78101 473544 19041 0 3 0x82 nanoslp syz-executor 19041 418519 97855 0 3 0x82 kqread syz-executor 97855 196618 909 0 3 0x10008a sigsusp ksh 909 19050 17345 0 3 0x98 kqread sshd-session 17345 484490 27981 0 3 0x92 kqread sshd-session 5673 40047 1 0 3 0x100083 ttyopn getty 27981 9102 1 0 3 0x88 kqread sshd 66479 280006 51610 73 3 0x1100090 kqread syslogd 51610 350281 1 0 3 0x100082 sbwait syslogd 37078 524272 1 0 3 0x100080 kqread resolvd 66076 262171 61630 77 3 0x100092 kqread dhcpleased 66438 89331 61630 77 3 0x100092 kqread dhcpleased 61630 232932 1 0 3 0x80 kqread dhcpleased 37674 171761 0 0 3 0x14200 bored smr 87613 261969 0 0 2 0x14200 zerothread 12398 209044 0 0 3 0x14200 aiodoned aiodoned 49379 410159 0 0 3 0x14200 syncer update 87029 14104 0 0 3 0x14200 cleaner cleaner 16997 473921 0 0 3 0x14200 reaper reaper 96600 271150 0 0 3 0x14200 pgdaemon pagedaemon 86953 167796 0 0 3 0x14200 bored viomb 85356 190907 0 0 3 0x40014200 acpi0 acpi0 25322 293633 0 0 2 0x14200 softnet0 79434 112606 0 0 3 0x14200 bored systqmp 16600 112506 0 0 3 0x14200 bored systq 84355 375228 0 0 3 0x40014200 tmoslp softclock 56212 405365 0 0 3 0x40014200 idle0 1 500589 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 11056 12390K 12634K 166960K 12573 0 pcb 18 14K 16K 166960K 272 0 rtable 226 7K 7K 166960K 395 0 pf 30 13K 17K 166960K 50 0 ifaddr 38 6K 7K 166960K 49 0 ifgroup 46 2K 2K 166960K 56 0 sysctl 3 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 38 0 ioctlops 0 0K 4K 166960K 129 0 iov 0 0K 12K 166960K 9 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1343 85K 85K 166960K 1637 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 11 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 349 0 sigio 0 0K 0K 166960K 5 0 proc 60 59K 100K 166960K 492 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 36 0 in_multi 82 6K 7K 166960K 104 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 387 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 164K 165K 166960K 4855 0 UVM aobj 44 2K 2K 166960K 45 0 pinsyscall 37 74K 94K 166960K 1425 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 20 0 NDP 11 0K 2K 166960K 31 0 temp 41 8671K 8735K 166960K 8500 0 kqueue 15 24K 26K 166960K 60 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 52 0 49 1 0 1 1 0 8 0 rtentry 136 120 0 20 4 0 4 4 0 8 0 unpcb 144 338 0 322 4 0 4 4 0 8 3 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 138 0 130 7 0 7 7 0 8 6 arp 96 19 0 2 1 0 1 1 0 8 0 inpcb 328 496 0 483 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 7 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 5 0 5 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 3 0 3 1 0 1 1 0 8 1 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 4 1 0 1 1 0 8 0 pfstate 384 4 0 2 1 0 1 1 0 8 0 pfrule 1360 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 477 0 92 29 0 29 29 0 8 4 art_table 40 478 0 92 5 0 5 5 0 8 0 art_node 32 120 0 30 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 42 0 1 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2032 0 535 95 0 95 95 0 8 0 ffsino 256 2032 0 535 95 0 95 95 0 8 0 nchpl 144 2517 0 828 63 0 63 63 0 8 0 vnodes 216 2244 0 0 125 0 125 125 0 8 0 namei 1024 7867 0 7866 2 0 2 2 0 8 1 kstatmem 264 28 0 8 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 8357 0 8357 8 0 8 8 1 8 8 plimitpl 152 68 0 52 1 0 1 1 0 8 0 sigapl 424 637 0 596 6 0 6 6 0 8 1 knotepl 120 11639 0 11588 19 8 11 19 0 8 8 kqueuepl 184 78 0 66 1 0 1 1 0 8 0 pipepl 304 123 0 96 3 0 3 3 0 8 0 fdescpl 448 624 0 596 5 0 5 5 0 8 1 filepl 120 3339 0 3115 11 0 11 11 0 8 3 lockfpl 104 102 0 99 1 0 1 1 0 8 0 lockfspl 48 44 0 41 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 484 0 471 1 0 1 1 0 8 0 zombiepl 144 598 0 596 1 0 1 1 0 8 0 processpl 1152 637 0 596 4 0 4 4 0 8 0 procpl 664 964 0 917 6 0 6 6 0 8 1 sosppl 176 5 0 5 1 0 1 1 0 8 1 sockpl 552 894 0 861 8 0 8 8 0 8 5 mcl64k 65536 12 0 12 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 2764 0 2705 15 0 15 15 0 8 7 mcl2k 2048 400 0 398 1 0 1 1 0 8 0 mtagpl 96 15 0 5 1 0 1 1 0 8 0 mbufpl 256 7389 0 7212 17 0 17 17 0 8 5 bufpl 280 2815 0 118 193 0 193 193 0 8 0 anonpl 24 126206 0 122087 69 0 69 69 0 187 38 amapchunkpl 152 14799 0 14273 27 0 27 27 0 158 3 amappl16 200 2587 0 2564 24 12 12 24 0 8 8 amappl15 192 100 0 99 1 0 1 1 0 8 0 amappl14 184 5 0 5 1 0 1 1 0 8 1 amappl13 176 405 0 404 1 0 1 1 0 8 0 amappl12 168 964 0 927 2 0 2 2 0 8 0 amappl11 160 13 0 13 1 0 1 1 0 8 1 amappl10 152 47 0 37 1 0 1 1 0 8 0 amappl9 144 244 0 243 1 0 1 1 0 8 0 amappl8 136 35 0 34 1 0 1 1 0 8 0 amappl7 128 80 0 78 1 0 1 1 0 8 0 amappl6 120 263 0 252 1 0 1 1 0 8 0 amappl5 112 101 0 94 1 0 1 1 0 8 0 amappl4 104 389 0 366 1 0 1 1 0 8 0 amappl3 96 2433 0 2348 3 0 3 3 0 8 0 amappl2 88 738 0 670 2 0 2 2 0 8 0 amappl1 80 10019 0 9488 13 0 13 13 0 8 1 amappl 88 4128 0 3968 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 2 0 1 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 44 0 1 1 0 1 1 0 8 0 uaddrrnd 24 624 0 596 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 624 0 596 1 0 1 1 0 8 0 vmmpekpl 168 6659 0 6627 2 0 2 2 0 8 0 vmmpepl 168 47640 0 45904 96 0 96 96 0 357 14 vmsppl 368 623 0 596 4 0 4 4 0 8 1 rwobjpl 40 16165 0 15192 14 0 14 14 0 8 2 pdppl 4096 1254 0 1192 102 36 66 82 0 8 4 pvpl 32 305634 0 293867 144 0 144 144 0 265 41 pmappl 216 623 0 596 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 384 0 36 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000159c780) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,2,2000,ffff80003c93a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,2,2000,ffff80003c93a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800038121420) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80626b0110,2,fffffd8007bfd750,ffff80003c93a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c9602e0,ffff80003c93a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c9602e0,ffff80003c93a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c9602e0,ffff80003c93a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c9602e0,ffff80003c93a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93a020,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93a020,ffff800038121780,ffff8000381216d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800038121780) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038121780) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7793a42340c0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000159c780) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(21e5f,2,2000,ffff80003c93a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,2,2000,ffff80003c93a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800038121420) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80626b0110,2,fffffd8007bfd750,ffff80003c93a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c9602e0,ffff80003c93a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c9602e0,ffff80003c93a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c9602e0,ffff80003c93a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c9602e0,ffff80003c93a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93a020,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93a020,ffff800038121780,ffff8000381216d0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800038121780) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038121780) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7793a42340c0, count: -12