uvm_fault(0xfffffd806c862d08, 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(ffff80000149c680) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a79ad20) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a79ad20) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c961160) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8064b83118,1,fffffd8007bfb888,ffff80002a79ad20) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806abbe180,ffff80002a79ad20) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806abbe180,ffff80002a79ad20) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806abbe180,ffff80002a79ad20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806abbe180,ffff80002a79ad20) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a79ad20) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a79ad20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a79ad20,ffff80003c9614c0,ffff80003c961410) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9614c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9614c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7af5e6a3adb0, 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(0xfffffd806c862d08, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000149c680) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a79ad20) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a79ad20) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c961160) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8064b83118,1,fffffd8007bfb888,ffff80002a79ad20) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806abbe180,ffff80002a79ad20) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806abbe180,ffff80002a79ad20) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806abbe180,ffff80002a79ad20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806abbe180,ffff80002a79ad20) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a79ad20) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a79ad20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a79ad20,ffff80003c9614c0,ffff80003c961410) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9614c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9614c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7af5e6a3adb0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c961090 rbx 0x1 rdx 0 rcx 0xffff80002a79ad20 rax 0xffffffff837e5198 dt_prov_syscall r8 0 r9 0 r10 0xfed21c10b92f452a r11 0x6ff0f48b8ffef179 r12 0 r13 0 r14 0 r15 0xffff80000148a200 rip 0xffffffff819cb778 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c961060 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=162015 pid=96409 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=77, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a79ad20 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a79bcb0,0xffff80002f9007f0 process=0xffff800033910d98 user=0xffff80003c95c000, vmspace=0xfffffd806c862d08 estcpu=27, cpticks=5, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 70604 505332 2680 0 2 0 syz-executor 70604 348207 2680 0 2 0x4000000 syz-executor 62746 42188 41727 0 2 0 syz-executor 62746 215660 41727 0 3 0x4000080 fsleep syz-executor 51323 15189 2979 0 2 0 syz-executor 51323 173218 2979 0 3 0x4000080 fsleep syz-executor 85093 224899 27659 0 2 0 syz-executor 85093 220354 27659 0 3 0x4000080 fsleep syz-executor 16541 17956 43006 0 2 0 syz-executor 16541 342284 43006 0 3 0x4000080 fsleep syz-executor 11414 286488 42773 0 3 0x82 nanoslp syz-executor 27659 103309 42773 0 3 0x82 nanoslp syz-executor 94537 429786 42773 0 2 0x2 syz-executor 41727 161360 42773 0 3 0x82 nanoslp syz-executor 43006 194370 42773 0 3 0x82 nanoslp syz-executor 2979 134541 42773 0 3 0x82 nanoslp syz-executor 2680 435616 42773 0 3 0x82 nanoslp syz-executor 94189 211158 42773 0 2 0x2 syz-executor 42773 19360 15406 0 2 0x2 syz-executor 15406 490981 26342 0 3 0x10008a sigsusp ksh 26342 242080 89898 0 3 0x98 kqread sshd-session 89898 438877 75083 0 3 0x92 kqread sshd-session 64511 489966 1 0 3 0x100083 ttyin getty 75083 37290 1 0 3 0x88 kqread sshd 11998 101167 22800 73 3 0x1100090 kqread syslogd 22800 230626 1 0 3 0x100082 sbwait syslogd 91720 429540 1 0 3 0x100080 kqread resolvd 60454 116783 6176 77 3 0x100092 kqread dhcpleased 77639 39242 6176 77 3 0x100092 kqread dhcpleased 6176 370888 1 0 3 0x80 kqread dhcpleased 33905 285179 0 0 3 0x14200 bored smr 3348 103024 0 0 2 0x14200 zerothread 30128 202731 0 0 3 0x14200 aiodoned aiodoned 51251 439008 0 0 3 0x14200 syncer update 76115 182061 0 0 3 0x14200 cleaner cleaner 26726 406264 0 0 2 0x14200 reaper 40881 119172 0 0 3 0x14200 pgdaemon pagedaemon 65962 492184 0 0 3 0x14200 bored viomb 58151 485021 0 0 3 0x40014200 acpi0 acpi0 34826 262251 0 0 3 0x14200 bored softnet0 92490 471307 0 0 3 0x14200 bored systqmp 11974 14406 0 0 3 0x14200 bored systq 66057 165707 0 0 3 0x40014200 tmoslp softclock 71942 252712 0 0 3 0x40014200 idle0 1 260082 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 10188 11125K 11624K 166960K 11592 0 pcb 19 12K 12K 166960K 64 0 rtable 239 7K 7K 166960K 374 0 pf 31 13K 13K 166960K 48 0 ifaddr 42 7K 7K 166960K 53 0 ifgroup 50 2K 2K 166960K 70 0 sysctl 4 1K 9K 166960K 9 0 counters 32 17K 18K 166960K 40 0 ioctlops 0 0K 4K 166960K 86 0 iov 0 0K 8K 166960K 10 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1349 85K 85K 166960K 1706 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 6 0K 0K 166960K 8 0 dirhash 9 1K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 322 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 83K 166960K 504 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 40 0 in_multi 99 7K 7K 166960K 107 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 369 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 212 158K 175K 166960K 4598 0 UVM aobj 10 5K 5K 166960K 10 0 pinsyscall 39 78K 94K 166960K 1396 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 15 0 NDP 11 0K 2K 166960K 33 0 temp 40 8647K 8718K 166960K 10865 0 kqueue 13 20K 26K 166960K 58 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 53 0 49 1 0 1 1 0 8 0 rtentry 136 118 0 8 4 0 4 4 0 8 0 unpcb 144 152 0 137 1 0 1 1 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 76 0 72 1 0 1 1 0 8 0 arp 96 20 0 2 1 0 1 1 0 8 0 inpcb 328 211 0 202 2 0 2 2 0 8 1 nd6 112 25 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 5 0 5 2 1 1 1 0 8 1 pppxif 1384 2 0 2 1 1 0 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 66 0 64 1 0 1 1 0 8 0 pfstate 384 33 0 32 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 465 0 10 29 0 29 29 0 8 0 art_table 40 466 0 10 5 0 5 5 0 8 0 art_node 32 118 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 6 0 2 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 10 3 1 2 3 0 8 0 dino2pl 256 2096 0 595 95 0 95 95 0 8 0 ffsino 256 2096 0 595 95 0 95 95 0 8 0 nchpl 144 2579 0 893 63 0 63 63 0 8 0 vnodes 216 2274 0 0 127 0 127 127 0 8 0 namei 1024 7969 0 7968 3 2 1 2 0 8 0 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 800 1 0 0 1 0 1 1 0 8 0 kstatmem 264 34 0 12 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7353 0 7353 2 1 1 2 1 8 1 plimitpl 152 110 0 94 1 0 1 1 0 8 0 sigapl 424 609 0 567 6 1 5 6 0 8 0 knotepl 120 10408 0 10360 10 8 2 10 0 8 0 kqueuepl 184 142 0 133 1 0 1 1 0 8 0 pipepl 304 196 0 169 8 5 3 8 0 8 0 fdescpl 448 597 0 567 5 1 4 5 0 8 0 filepl 120 3210 0 3001 13 5 8 13 0 8 0 lockfpl 104 170 0 167 1 0 1 1 0 8 0 lockfspl 48 46 0 43 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 834 0 823 1 0 1 1 0 8 0 zombiepl 144 616 0 615 1 0 1 1 0 8 0 processpl 1152 610 0 567 4 0 4 4 0 8 0 procpl 664 922 0 873 6 0 6 6 0 8 1 sockpl 552 426 0 398 4 1 3 4 0 8 0 mcl64k 65536 27 0 27 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 2694 0 2639 15 7 8 15 0 8 1 mcl2k 2048 443 0 438 3 0 3 3 0 8 0 mtagpl 96 9 0 4 1 0 1 1 0 8 0 mbufpl 256 6092 0 5914 14 0 14 14 0 8 1 bufpl 280 2624 0 119 179 0 179 179 0 8 0 anonpl 24 113292 0 110366 35 3 32 32 0 187 10 amapchunkpl 152 13896 0 13469 34 10 24 30 0 158 3 amappl16 200 1995 0 1967 5 3 2 5 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 7 0 7 1 1 0 1 0 8 0 amappl13 176 402 0 401 1 0 1 1 0 8 0 amappl12 168 936 0 899 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 43 0 33 1 0 1 1 0 8 0 amappl9 144 249 0 249 1 1 0 1 0 8 0 amappl8 136 43 0 42 1 0 1 1 0 8 0 amappl7 128 114 0 112 1 0 1 1 0 8 0 amappl6 120 264 0 253 1 0 1 1 0 8 0 amappl5 112 67 0 60 1 0 1 1 0 8 0 amappl4 104 383 0 359 1 0 1 1 0 8 0 amappl3 96 2302 0 2222 3 0 3 3 0 8 0 amappl2 88 709 0 641 2 0 2 2 0 8 0 amappl1 80 9790 0 9257 13 0 13 13 0 8 0 amappl 88 3865 0 3721 5 0 5 5 0 92 0 uvmvnodes 80 103 0 0 3 0 3 3 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 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 595 0 567 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 595 0 567 1 0 1 1 0 8 0 vmmpekpl 168 6804 0 6772 2 0 2 2 0 8 0 vmmpepl 168 45218 0 43510 85 4 81 84 0 357 1 vmsppl 368 595 0 567 4 1 3 4 0 8 0 rwobjpl 40 15232 0 14306 11 0 11 11 0 8 0 pdppl 4096 1199 0 1135 100 32 68 81 0 8 4 pvpl 32 274503 0 266803 102 5 97 97 0 265 20 pmappl 216 595 0 567 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 377 0 50 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000149c680) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a79ad20) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a79ad20) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c961160) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8064b83118,1,fffffd8007bfb888,ffff80002a79ad20) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806abbe180,ffff80002a79ad20) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806abbe180,ffff80002a79ad20) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806abbe180,ffff80002a79ad20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806abbe180,ffff80002a79ad20) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a79ad20) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a79ad20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a79ad20,ffff80003c9614c0,ffff80003c961410) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9614c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9614c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7af5e6a3adb0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000149c680) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002a79ad20) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002a79ad20) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c961160) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8064b83118,1,fffffd8007bfb888,ffff80002a79ad20) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806abbe180,ffff80002a79ad20) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806abbe180,ffff80002a79ad20) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806abbe180,ffff80002a79ad20) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806abbe180,ffff80002a79ad20) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a79ad20) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a79ad20,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a79ad20,ffff80003c9614c0,ffff80003c961410) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9614c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9614c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7af5e6a3adb0, count: -12