uvm_fault(0xfffffd806ba43e70, 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(ffff80000148f900) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(31e5f,1,2000,ffff80002a8227e8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,1,2000,ffff80002a8227e8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800031937060) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b095bd0,1,fffffd8007bfba90,ffff80002a8227e8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b891448,ffff80002a8227e8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b891448,ffff80002a8227e8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b891448,ffff80002a8227e8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b891448,ffff80002a8227e8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a8227e8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a8227e8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a8227e8,ffff8000319373c0,ffff800031937310) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000319373c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000319373c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7be6cc1201f0, 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(0xfffffd806ba43e70, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000148f900) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(31e5f,1,2000,ffff80002a8227e8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,1,2000,ffff80002a8227e8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800031937060) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b095bd0,1,fffffd8007bfba90,ffff80002a8227e8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b891448,ffff80002a8227e8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b891448,ffff80002a8227e8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b891448,ffff80002a8227e8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b891448,ffff80002a8227e8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a8227e8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a8227e8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a8227e8,ffff8000319373c0,ffff800031937310) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000319373c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000319373c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7be6cc1201f0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800031936f90 rbx 0x1 rdx 0 rcx 0xffff80002a8227e8 rax 0xffffffff83800fb8 dt_prov_syscall r8 0x1c8 r9 0 r10 0xfad5790c42c72791 r11 0xa45be60821fd212c r12 0 r13 0 r14 0 r15 0xffff80000148e700 rip 0xffffffff81b761e8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff800031936f60 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=50919 pid=53354 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=51, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a8227e8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a823778,0xffff80003c97da28 process=0xffff80002d928918 user=0xffff800031932000, vmspace=0xfffffd806ba43e70 estcpu=1, cpticks=3, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 55555 378897 52347 0 2 0 syz-executor 55555 279294 52347 0 2 0x4000000 syz-executor 34958 102752 27716 0 2 0 syz-executor 34958 10306 27716 0 3 0x4000080 sbwait syz-executor 34958 150622 27716 0 3 0x4000000 sbufrcv syz-executor 58700 78978 87116 0 2 0 syz-executor 58700 516889 87116 0 3 0x4000080 rest syz-executor 58700 31055 87116 0 3 0x4000080 fsleep syz-executor 6898 504646 60964 0 2 0 syz-executor 6898 242455 60964 0 3 0x4000080 fsleep syz-executor 75496 276611 5578 0 2 0 syz-executor 75496 512748 5578 0 3 0x4000080 fsleep syz-executor 75496 175872 5578 0 3 0x4000080 fsleep syz-executor 91128 138102 54614 0 2 0 syz-executor 91128 440421 54614 0 3 0x4000080 fsleep syz-executor 61492 40535 90481 0 2 0 syz-executor 61492 413138 90481 0 3 0x4000080 fsleep syz-executor 87116 259656 5266 0 3 0x82 nanoslp syz-executor 27716 36222 5266 0 3 0x82 nanoslp syz-executor 52347 347145 5266 0 3 0x82 nanoslp syz-executor 60964 499763 5266 0 3 0x82 nanoslp syz-executor 5578 357760 5266 0 3 0x82 nanoslp syz-executor 54614 34028 5266 0 3 0x82 nanoslp syz-executor 90481 136281 5266 0 3 0x82 nanoslp syz-executor 57450 181475 5266 0 3 0x82 nanoslp syz-executor 5266 258908 94038 0 3 0x82 kqread syz-executor 94038 258369 67412 0 3 0x10008a sigsusp ksh 67412 488130 82853 0 3 0x98 kqread sshd-session 82853 58235 35062 0 3 0x92 kqread sshd-session 6497 127613 1 0 3 0x100083 ttyin getty 35062 116580 1 0 3 0x88 kqread sshd 32372 188035 8967 73 3 0x1100090 kqread syslogd 8967 263534 1 0 3 0x100082 sbwait syslogd 34711 421141 1 0 3 0x100080 kqread resolvd 43831 28903 88061 77 3 0x100092 kqread dhcpleased 10891 307719 88061 77 3 0x100092 kqread dhcpleased 88061 376549 1 0 3 0x80 kqread dhcpleased 76891 191248 0 0 3 0x14200 bored smr 4076 121237 0 0 2 0x14200 zerothread 92833 59595 0 0 3 0x14200 aiodoned aiodoned 78526 59222 0 0 3 0x14200 syncer update 2682 303054 0 0 3 0x14200 cleaner cleaner 84948 293039 0 0 3 0x14200 reaper reaper 20721 91012 0 0 3 0x14200 pgdaemon pagedaemon 51165 152828 0 0 3 0x14200 bored viomb 27559 416604 0 0 3 0x40014200 acpi0 acpi0 88620 29889 0 0 3 0x14200 bored softnet7 85586 120712 0 0 3 0x14200 bored softnet6 60298 408229 0 0 3 0x14200 bored softnet5 16634 192978 0 0 3 0x14200 bored softnet4 44434 298115 0 0 3 0x14200 bored softnet3 69879 268792 0 0 3 0x14200 bored softnet2 7034 300760 0 0 3 0x14200 bored softnet1 86970 67726 0 0 3 0x14200 bored softnet0 63204 230800 0 0 3 0x14200 smrbar systqmp 58773 245828 0 0 3 0x14200 bored systq 84354 295696 0 0 3 0x40014200 tmoslp softclock 27042 507049 0 0 3 0x40014200 idle0 1 473497 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 10204 11204K 11204K 166960K 11281 0 pcb 19 12K 12K 166960K 22 0 rtable 205 5K 5K 166960K 257 0 pf 30 12K 12K 166960K 30 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 17K 166960K 32 0 ioctlops 0 0K 2K 166960K 31 0 iov 1 4K 4K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1347 85K 85K 166960K 1365 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 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 141 0 proc 57 58K 116K 166960K 472 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 99 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 31 148K 148K 166960K 31 0 exec 0 0K 1K 166960K 344 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 232 151K 159K 166960K 2811 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 39 78K 94K 166960K 1163 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 27 2K 2K 166960K 27 0 temp 34 8634K 8698K 166960K 3668 0 kqueue 13 20K 20K 166960K 21 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 36 0 33 1 0 1 1 0 8 0 rtentry 136 95 0 1 4 0 4 4 0 8 0 unpcb 144 42 0 18 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 7 0 2 1 0 1 1 0 8 0 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 328 61 0 49 2 0 2 2 0 8 1 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 104 16 0 0 1 0 1 1 0 8 0 kcovpl 48 8 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 437 0 0 28 0 28 28 0 8 0 art_table 40 438 0 0 5 0 5 5 0 8 0 art_node 32 95 0 10 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1557 0 51 95 0 95 95 0 8 0 ffsino 256 1557 0 51 95 0 95 95 0 8 0 nchpl 144 1747 0 58 63 0 63 63 0 8 0 uvmvnodes 80 1647 0 0 34 0 34 34 0 8 0 vnodes 216 1647 0 0 92 0 92 92 0 8 0 namei 1024 5089 0 5089 2 0 2 2 0 8 2 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 6213 0 6213 8 0 8 8 1 8 8 plimitpl 152 27 0 10 1 0 1 1 0 8 0 sigapl 424 422 0 372 7 0 7 7 0 8 1 knotepl 120 3145 0 3098 2 0 2 2 0 8 0 kqueuepl 184 17 0 8 1 0 1 1 0 8 0 pipepl 304 98 0 71 3 0 3 3 0 8 0 fdescpl 448 402 0 372 5 0 5 5 0 8 1 filepl 120 1314 0 1086 7 0 7 7 0 8 0 lockfpl 104 13 0 10 1 0 1 1 0 8 0 lockfspl 48 8 0 5 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 69 0 58 1 0 1 1 0 8 0 zombiepl 144 373 0 372 1 0 1 1 0 8 0 processpl 1152 422 0 372 5 0 5 5 0 8 1 procpl 664 436 0 376 6 0 6 6 0 8 0 sockpl 552 139 0 100 3 0 3 3 0 8 0 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2455 0 2405 15 0 15 15 0 8 6 mcl2k 2048 150 0 148 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 3785 0 3653 9 0 9 9 0 8 0 bufpl 280 2822 0 117 194 0 194 194 0 8 0 anonpl 24 67644 0 64547 23 0 23 23 0 187 3 amapchunkpl 152 7539 0 7051 19 0 19 19 0 158 0 amappl16 200 594 0 580 3 0 3 3 0 8 2 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 101 0 91 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 0 1 1 0 8 1 amappl12 168 1006 0 976 3 0 3 3 0 8 1 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 0 1 1 0 8 1 amappl9 144 255 0 255 1 0 1 1 0 8 1 amappl8 136 37 0 36 1 0 1 1 0 8 0 amappl7 128 92 0 82 1 0 1 1 0 8 0 amappl6 120 179 0 176 1 0 1 1 0 8 0 amappl5 112 110 0 104 1 0 1 1 0 8 0 amappl4 104 258 0 243 1 0 1 1 0 8 0 amappl3 96 1187 0 1078 3 0 3 3 0 8 0 amappl2 88 602 0 549 2 0 2 2 0 8 0 amappl1 80 7893 0 7337 13 0 13 13 0 8 0 amappl 88 2184 0 2015 4 0 4 4 0 92 0 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 402 0 372 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 402 0 372 1 0 1 1 0 8 0 vmmpekpl 168 4697 0 4671 2 0 2 2 0 8 0 vmmpepl 168 31001 0 29155 81 0 81 81 0 357 0 vmsppl 368 401 0 372 4 0 4 4 0 8 1 rwobjpl 40 12195 0 9721 26 0 26 26 0 8 0 pdppl 4096 810 0 744 94 14 80 80 0 8 14 pvpl 32 177660 0 169103 70 0 70 70 0 265 0 pmappl 216 401 0 372 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 360 0 14 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000148f900) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(31e5f,1,2000,ffff80002a8227e8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,1,2000,ffff80002a8227e8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800031937060) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b095bd0,1,fffffd8007bfba90,ffff80002a8227e8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b891448,ffff80002a8227e8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b891448,ffff80002a8227e8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b891448,ffff80002a8227e8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b891448,ffff80002a8227e8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a8227e8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a8227e8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a8227e8,ffff8000319373c0,ffff800031937310) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000319373c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000319373c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7be6cc1201f0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000148f900) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(31e5f,1,2000,ffff80002a8227e8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,1,2000,ffff80002a8227e8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800031937060) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b095bd0,1,fffffd8007bfba90,ffff80002a8227e8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b891448,ffff80002a8227e8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b891448,ffff80002a8227e8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b891448,ffff80002a8227e8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b891448,ffff80002a8227e8) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a8227e8) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a8227e8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a8227e8,ffff8000319373c0,ffff800031937310) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000319373c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000319373c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7be6cc1201f0, count: -12