uvm_fault(0xfffffd800dc76d08, 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(ffff800001493e00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(31e5f,81,2000,ffff80002a7bcd10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002a7bcd10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c9a5200) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a80cda8,81,fffffd8007bfd4e0,ffff80002a7bcd10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807a7172e0,ffff80002a7bcd10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807a7172e0,ffff80002a7bcd10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807a7172e0,ffff80002a7bcd10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807a7172e0,ffff80002a7bcd10) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bcd10) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bcd10,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bcd10,ffff80003c9a5560,ffff80003c9a54b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9a5560) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a5560) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728ecd5c9c00, 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(0xfffffd800dc76d08, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001493e00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(31e5f,81,2000,ffff80002a7bcd10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002a7bcd10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c9a5200) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a80cda8,81,fffffd8007bfd4e0,ffff80002a7bcd10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807a7172e0,ffff80002a7bcd10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807a7172e0,ffff80002a7bcd10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807a7172e0,ffff80002a7bcd10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807a7172e0,ffff80002a7bcd10) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bcd10) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bcd10,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bcd10,ffff80003c9a5560,ffff80003c9a54b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9a5560) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a5560) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728ecd5c9c00, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c9a5130 rbx 0x1 rdx 0 rcx 0xffff80002a7bcd10 rax 0xffffffff83820340 dt_prov_static r8 0x7f7fffffc000 r9 0 r10 0xa86706a07fbfe0fb r11 0x2f7290ca24413053 r12 0 r13 0 r14 0 r15 0xffff8000014b1b00 rip 0xffffffff83060338 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c9a5100 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=465788 pid=89280 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=71, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7bcd10 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000338ff780,0xffff80002a7bc558 process=0xffff80002a785208 user=0xffff80003c9a0000, vmspace=0xfffffd800dc76d08 estcpu=21, cpticks=3, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 83559 262427 38474 0 2 0 syz-executor 83559 202141 38474 0 3 0x4000080 fsleep syz-executor 25423 211439 21713 0 3 0x80 nanoslp syz-executor 25423 272074 21713 0 3 0x4000080 kqsel syz-executor 25423 499743 21713 0 3 0x4000080 fsleep syz-executor 98464 231437 68973 0 3 0x80 nanoslp syz-executor 98464 69349 68973 0 3 0x4000080 ttyin syz-executor 98464 25518 68973 0 3 0x4000080 fsleep syz-executor 26526 91258 86152 0 3 0x80 nanoslp syz-executor 26526 69578 86152 0 3 0x4000080 fifow syz-executor 26526 475341 86152 0 3 0x4000080 fsleep syz-executor 26526 164555 86152 0 3 0x4000080 fsleep syz-executor 24553 430167 7168 0 3 0x80 nanoslp syz-executor 24553 198842 7168 0 3 0x4000080 fifow syz-executor 24553 372679 7168 0 3 0x4000080 fsleep syz-executor 24553 364308 7168 0 3 0x4000080 fsleep syz-executor 72716 301366 0 0 3 0x14200 acct acct 68973 159770 74290 0 3 0x82 nanoslp syz-executor 21713 367958 74290 0 3 0x82 nanoslp syz-executor 86152 515818 74290 0 3 0x82 nanoslp syz-executor 27515 286495 74290 0 3 0x82 nanoslp syz-executor 38474 32291 74290 0 3 0x82 nanoslp syz-executor 65610 30527 74290 0 2 0x2 syz-executor 20741 248915 74290 0 3 0x82 nanoslp syz-executor 7168 91728 74290 0 3 0x82 nanoslp syz-executor 74290 447768 47403 0 3 0x82 kqread syz-executor 47403 44986 73481 0 3 0x10008a sigsusp ksh 73481 90372 93083 0 3 0x98 kqread sshd-session 93083 325863 65175 0 3 0x92 kqread sshd-session 21846 250337 1 0 3 0x100083 ttyin getty 65175 94817 1 0 3 0x88 kqread sshd 34744 414481 72595 73 3 0x1100090 kqread syslogd 72595 374676 1 0 3 0x100082 sbwait syslogd 536 66967 1 0 3 0x100080 kqread resolvd 54782 151861 76221 77 3 0x100092 kqread dhcpleased 16290 448078 76221 77 3 0x100092 kqread dhcpleased 76221 461567 1 0 3 0x80 kqread dhcpleased 20974 482085 0 0 3 0x14200 bored smr 99464 327532 0 0 2 0x14200 zerothread 41669 123931 0 0 3 0x14200 aiodoned aiodoned 72827 503631 0 0 3 0x14200 syncer update 40706 430591 0 0 3 0x14200 cleaner cleaner 414 373511 0 0 3 0x14200 reaper reaper 94263 522939 0 0 3 0x14200 pgdaemon pagedaemon 77104 19491 0 0 3 0x14200 bored viomb 87587 346096 0 0 3 0x40014200 acpi0 acpi0 99994 137974 0 0 2 0x14200 softnet0 14021 104480 0 0 3 0x14200 smrbar systqmp 52050 67139 0 0 3 0x14200 bored systq 34998 117392 0 0 3 0x40014200 tmoslp softclock 29484 226173 0 0 3 0x40014200 idle0 1 449622 0 0 3 0x82 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 10179 11061K 11496K 166960K 11526 0 pcb 17 13K 14K 166960K 100 0 rtable 252 7K 8K 166960K 398 0 pf 30 12K 15K 166960K 45 0 ifaddr 42 7K 7K 166960K 52 0 ifgroup 50 2K 2K 166960K 63 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 18K 166960K 41 0 ioctlops 0 0K 4K 166960K 82 0 iov 0 0K 12K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1351 85K 85K 166960K 1496 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 110K 166960K 299 0 sigio 1 0K 0K 166960K 2 0 proc 60 59K 91K 166960K 484 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 19 0 in_multi 99 7K 7K 166960K 106 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 370 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 235 143K 162K 166960K 4594 0 UVM aobj 8 2K 2K 166960K 8 0 pinsyscall 38 76K 94K 166960K 1360 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 28 0 NDP 11 0K 2K 166960K 32 0 temp 44 8659K 8723K 166960K 8324 0 kqueue 15 24K 31K 166960K 70 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 50 0 47 1 0 1 1 0 8 0 rtentry 136 120 0 7 4 0 4 4 0 8 0 unpcb 144 263 0 241 2 0 2 2 0 8 1 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 115 0 109 7 0 7 7 0 8 6 arp 96 19 0 1 1 0 1 1 0 8 0 inpcb 328 274 0 265 7 0 7 7 0 8 6 nd6 112 24 0 0 1 0 1 1 0 8 0 pkpcb 40 2 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 7 0 7 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfrule 1344 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 463 0 6 29 0 29 29 0 8 0 art_table 40 465 0 6 5 0 5 5 0 8 0 art_node 32 120 0 17 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1843 0 335 95 0 95 95 0 8 0 ffsino 256 1843 0 335 95 0 95 95 0 8 0 nchpl 144 2262 0 568 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2002 0 0 112 0 112 112 0 8 0 namei 1024 6733 0 6732 1 0 1 1 0 8 0 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7049 0 7049 2 0 2 2 1 8 2 plimitpl 152 54 0 37 1 0 1 1 0 8 0 sigapl 424 599 0 556 8 0 8 8 0 8 3 knotepl 120 8601 0 8552 9 0 9 9 0 8 7 kqueuepl 184 241 0 229 6 0 6 6 0 8 5 pipepl 304 192 0 164 3 0 3 3 0 8 0 fdescpl 448 565 0 536 5 0 5 5 0 8 1 filepl 120 2942 0 2708 13 0 13 13 0 8 5 lockfpl 104 56 0 53 1 0 1 1 0 8 0 lockfspl 48 29 0 26 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 254 0 243 1 0 1 1 0 8 0 zombiepl 144 558 0 556 1 0 1 1 0 8 0 processpl 1152 599 0 556 5 0 5 5 0 8 1 procpl 664 857 0 803 7 0 7 7 0 8 1 sockpl 552 593 0 556 8 0 8 8 0 8 5 mcl64k 65536 17 0 17 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 2653 0 2596 15 0 15 15 0 8 7 mcl2k 2048 489 0 489 1 0 1 1 0 8 1 mtagpl 96 13 0 4 1 0 1 1 0 8 0 mbufpl 256 5845 0 5675 12 0 12 12 0 8 0 bufpl 280 2528 0 119 173 0 173 173 0 8 0 anonpl 24 116229 0 112064 32 0 32 32 0 187 1 amapchunkpl 152 27951 0 27393 36 0 36 36 0 158 9 amappl16 200 2126 0 2099 5 0 5 5 0 8 3 amappl15 192 11 0 11 1 0 1 1 0 8 1 amappl14 184 7 0 7 1 0 1 1 0 8 1 amappl13 176 403 0 402 1 0 1 1 0 8 0 amappl12 168 907 0 869 2 0 2 2 0 8 0 amappl11 160 73 0 73 1 0 1 1 0 8 1 amappl10 152 46 0 36 1 0 1 1 0 8 0 amappl9 144 246 0 246 1 0 1 1 0 8 1 amappl8 136 35 0 34 1 0 1 1 0 8 0 amappl7 128 104 0 103 1 0 1 1 0 8 0 amappl6 120 265 0 252 1 0 1 1 0 8 0 amappl5 112 85 0 78 1 0 1 1 0 8 0 amappl4 104 375 0 352 1 0 1 1 0 8 0 amappl3 96 2319 0 2212 4 0 4 4 0 8 1 amappl2 88 514 0 461 2 0 2 2 0 8 0 amappl1 80 9285 0 8748 13 0 13 13 0 8 1 amappl 88 3883 0 3714 5 0 5 5 0 92 0 uvmvnodes 80 102 0 0 3 0 3 3 0 8 0 dma4096 4096 2 0 2 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 1 0 1 1 0 1 1 0 8 1 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 7 0 7 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 565 0 536 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 565 0 536 1 0 1 1 0 8 0 vmmpekpl 168 6358 0 6324 2 0 2 2 0 8 0 vmmpepl 168 43332 0 41553 81 0 81 81 0 357 0 vmsppl 368 564 0 536 4 0 4 4 0 8 1 rwobjpl 40 14994 0 14045 10 0 10 10 0 8 0 pdppl 4096 1137 0 1072 95 28 67 81 0 8 2 pvpl 32 273986 0 262442 99 0 99 99 0 265 1 pmappl 216 564 0 536 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 371 0 28 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001493e00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(31e5f,81,2000,ffff80002a7bcd10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002a7bcd10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c9a5200) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a80cda8,81,fffffd8007bfd4e0,ffff80002a7bcd10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807a7172e0,ffff80002a7bcd10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807a7172e0,ffff80002a7bcd10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807a7172e0,ffff80002a7bcd10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807a7172e0,ffff80002a7bcd10) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bcd10) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bcd10,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bcd10,ffff80003c9a5560,ffff80003c9a54b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9a5560) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a5560) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728ecd5c9c00, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001493e00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(31e5f,81,2000,ffff80002a7bcd10) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,81,2000,ffff80002a7bcd10) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c9a5200) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a80cda8,81,fffffd8007bfd4e0,ffff80002a7bcd10) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807a7172e0,ffff80002a7bcd10) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807a7172e0,ffff80002a7bcd10) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd807a7172e0,ffff80002a7bcd10) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807a7172e0,ffff80002a7bcd10) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7bcd10) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7bcd10,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7bcd10,ffff80003c9a5560,ffff80003c9a54b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9a5560) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a5560) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x728ecd5c9c00, count: -12