uvm_fault(0xfffffd806c8cd3e8, 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(ffff8000016d2000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(41e5f,81,2000,ffff800035fb0030) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(41e5f,81,2000,ffff800035fb0030) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c415590) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80619fa570,81,fffffd80097fd548,ffff800035fb0030) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060e3b4c0,ffff800035fb0030) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060e3b4c0,ffff800035fb0030) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8060e3b4c0,ffff800035fb0030) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8060e3b4c0,ffff800035fb0030) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff800035fb0030) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff800035fb0030,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800035fb0030,ffff80003c415900,ffff80003c415850) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c415900) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c415900) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d618c7192b0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd806c8cd3e8, 0x0, 0, 1) -> e ddb{0}> trace dt_ioctl_record_stop(ffff8000016d2000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(41e5f,81,2000,ffff800035fb0030) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(41e5f,81,2000,ffff800035fb0030) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c415590) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80619fa570,81,fffffd80097fd548,ffff800035fb0030) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060e3b4c0,ffff800035fb0030) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060e3b4c0,ffff800035fb0030) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8060e3b4c0,ffff800035fb0030) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8060e3b4c0,ffff800035fb0030) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff800035fb0030) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff800035fb0030,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800035fb0030,ffff80003c415900,ffff80003c415850) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c415900) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c415900) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d618c7192b0, count: -12 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003c4154c0 rbx 0x1 rdx 0 rcx 0xffff800035fb0030 rax 0xffffffff8389dff0 cpu_info_full_primary+0x1ff0 r8 0 r9 0x1 r10 0xbd169dafcc00c16d r11 0x66e4ecb1e1f62aab r12 0 r13 0 r14 0 r15 0xffff80000161d400 rip 0xffffffff816c3c58 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c415490 ss 0 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb{0}> show proc PROC (syz-executor) tid=317665 pid=49476 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=79, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800035fb0030 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800035fb07f8,0xffff800039fc3278 process=0xffff80003c41a6a8 user=0xffff80003c410000, vmspace=0xfffffd806c8cd3e8 estcpu=29, cpticks=7, pctcpu=0.4, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 75822 1938 92266 0 2 0 syz-executor 75822 119503 92266 0 2 0x4000000 syz-executor 76172 325620 68903 0 2 0 syz-executor 76172 501702 68903 0 3 0x4000080 sbwait syz-executor 35578 44292 75018 0 2 0 syz-executor 35578 475189 75018 0 2 0x4000000 syz-executor 67047 116702 94363 0 2 0 syz-executor 67047 54997 94363 0 2 0x4000000 syz-executor 78997 483497 75114 0 2 0 syz-executor 78997 157744 75114 0 3 0x4000080 fsleep syz-executor 92266 409920 90191 0 2 0x3 syz-executor 68676 227941 85506 0 3 0x3000 suspend syz-executor 68676 65927 85506 0 2 0x4081000 syz-executor 75018 381427 90191 0 3 0x82 nanoslp syz-executor 72434 192438 0 0 3 0x14200 acct acct 94363 334034 90191 0 3 0x82 nanoslp syz-executor 47857 402312 90191 0 3 0x82 wait syz-executor 32719 249154 90191 0 3 0x82 nanoslp syz-executor 75114 111311 90191 0 3 0x82 nanoslp syz-executor 85506 271009 90191 0 3 0x82 wait syz-executor 68903 21163 90191 0 3 0x82 nanoslp syz-executor 90191 58161 4236 0 3 0x82 kqread syz-executor 4236 379694 28957 0 3 0x10008a sigsusp ksh 28957 463308 20084 0 3 0x98 kqread sshd-session 20084 467252 92445 0 3 0x92 kqread sshd-session 29097 278925 1 0 3 0x100083 ttyopn getty 92445 65571 1 0 3 0x88 kqread sshd 30339 391569 18493 74 3 0x1100092 bpf pflogd 18493 64351 1 0 3 0x80 sbwait pflogd 64905 125879 31320 73 3 0x1100090 kqread syslogd 31320 161039 1 0 3 0x100082 sbwait syslogd 2650 28699 1 0 3 0x100080 kqread resolvd 78167 109096 60593 77 3 0x100092 kqread dhcpleased 33687 60589 60593 77 3 0x100092 kqread dhcpleased 60593 156089 1 0 3 0x80 kqread dhcpleased 17408 76191 0 0 3 0x14200 bored smr 14753 310220 0 0 2 0x14200 zerothread 29638 158257 0 0 3 0x14200 aiodoned aiodoned 69287 100728 0 0 3 0x14200 syncer update 4836 12285 0 0 3 0x14200 cleaner cleaner 63468 204105 0 0 3 0x14200 reaper reaper 80347 242180 0 0 3 0x14200 pgdaemon pagedaemon 7812 406951 0 0 3 0x14200 bored viomb 61673 234099 0 0 3 0x40014200 acpi0 acpi0 62398 41159 0 0 7 0x40014200 idle1 31917 518141 0 0 3 0x14200 bored softnet1 59137 158446 0 0 3 0x14200 bored softnet0 75880 195632 0 0 3 0x14200 bored systqmp 82098 372592 0 0 3 0x14200 bored systq 86329 312421 0 0 3 0x14200 tmoslp softclockmp 27907 278513 0 0 3 0x40014200 tmoslp softclock 72573 324133 0 0 3 0x40014200 idle0 1 10589 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 68676 (syz-executor) thread 0xffff800039fc2aa0 (65927) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11108 12295K 12431K 166960K 14501 0 pcb 17 16K 20K 166960K 729 0 rtable 223 12K 12K 166960K 735 0 pf 30 16K 80K 166960K 260 0 ifaddr 36 7K 8K 166960K 168 0 ifgroup 47 2K 2K 166960K 294 0 sysctl 4 1K 9K 166960K 16 0 counters 66 36K 38K 166960K 368 0 ioctlops 0 0K 4K 166960K 1878 0 iov 0 0K 24K 166960K 76 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1345 85K 85K 166960K 3071 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 18 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 244 0 dirhash 12 2K 2K 166960K 42 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1743 0 sigio 0 0K 0K 166960K 26 0 proc 73 115K 148K 166960K 873 0 subproc 72 4K 4K 166960K 126 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 182 0 in_multi 79 5K 7K 166960K 255 0 ether_multi 1 0K 0K 166960K 29 0 mrt 3 0K 0K 166960K 45 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 978 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 262 154K 181K 166960K 17266 0 UVM aobj 97 17K 17K 166960K 99 0 pinsyscall 43 86K 102K 166960K 3033 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 143 0 NDP 10 0K 2K 166960K 119 0 temp 76 9088K 9344K 166960K 89294 0 kqueue 14 20K 30K 166960K 326 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 162 0 158 1 0 1 1 0 8 0 rtentry 176 221 0 137 6 1 5 6 0 8 0 unpcb 144 1221 0 1202 11 10 1 6 0 8 0 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpcb 736 573 0 568 13 12 1 7 0 8 0 arp 136 35 0 19 1 0 1 1 0 8 0 inpcb 328 2359 0 2351 24 17 7 10 0 8 6 nd6 152 47 0 27 2 1 1 2 0 8 0 pkpcb 40 10 0 10 6 5 1 1 0 8 1 kcovpl 48 14 0 6 1 0 1 1 0 8 0 ppxss 1192 117 0 117 3 2 1 1 0 8 1 pppxif 1504 13 0 13 2 2 0 1 0 8 0 pffrag 232 11 0 3 1 0 1 1 0 482 0 pffrnode 88 10 0 3 1 0 1 1 0 8 0 pffrent 40 16 0 8 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 120 0 36 1 0 1 1 0 8 0 pfstkey 128 120 0 36 3 0 3 3 0 8 0 pfstate 448 120 0 36 10 0 10 10 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 rttmr 136 5 0 5 4 3 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 955 0 617 32 8 24 29 0 8 1 art_table 40 959 0 617 5 0 5 5 0 8 0 art_node 32 219 0 145 1 0 1 1 0 8 0 sysvmsgpl 40 72 0 69 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 242 0 232 1 0 1 1 0 8 0 shmpl 112 90 0 2 3 0 3 3 0 8 0 dirhash 1024 37 0 20 3 0 3 3 0 8 0 dino2pl 256 4808 0 3344 93 0 93 93 0 8 0 ffsino 296 4808 0 3344 114 0 114 114 0 8 0 nchpl 144 7162 0 5439 65 0 65 65 0 8 0 rtmask 32 15 0 15 5 4 1 1 0 8 1 vnodes 216 5853 0 0 326 0 326 326 0 8 0 namei 1024 25475 0 25473 4 3 1 2 0 8 0 percpumem 16 199 0 151 1 0 1 1 0 8 0 vcpupl 3968 6 0 0 1 0 1 1 0 8 0 vmpool 848 6 0 0 1 0 1 1 0 8 0 kstatmem 264 182 0 160 3 1 2 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 13 0 13 4 3 1 1 0 8 1 scxspl 216 41138 0 41138 15 13 2 8 1 8 2 plimitpl 152 380 0 362 1 0 1 1 0 8 0 sigapl 424 2057 0 2008 9 3 6 8 0 8 0 knotepl 120 751 0 0 23 0 23 23 0 8 0 kqueuepl 224 695 0 685 10 7 3 5 0 8 2 pipepl 344 275 0 248 3 0 3 3 0 8 0 fdescpl 528 2016 0 1984 3 0 3 3 0 8 0 filepl 160 13795 0 13571 34 18 16 19 0 8 3 lockfpl 104 907 0 905 3 2 1 2 0 8 0 lockfspl 48 318 0 316 1 0 1 1 0 8 0 sessionpl 144 29 0 20 1 0 1 1 0 8 0 pgrppl 48 63 0 46 1 0 1 1 0 8 0 ucredpl 104 2211 0 2198 1 0 1 1 0 8 0 zombiepl 144 2111 0 2108 1 0 1 1 0 8 0 processpl 1232 2057 0 2008 6 0 6 6 0 8 0 procpl 664 4517 0 4462 9 3 6 8 0 8 0 sosppl 176 15 0 15 4 3 1 1 0 8 1 sockpl 752 3835 0 3803 45 35 10 18 0 8 6 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 116 0 0 15 0 15 15 0 8 0 mcl2k 2048 25 0 0 4 0 4 4 0 8 0 mtagpl 96 12 0 0 1 0 1 1 0 8 0 mbufpl 256 236 0 0 15 0 15 15 0 8 0 bufpl 280 15567 0 9437 440 1 439 439 0 8 0 anonpl 32 13647 0 0 111 1 110 110 0 246 0 amapchunkpl 152 60680 0 60036 58 22 36 41 0 158 7 amappl16 200 7020 0 6711 62 45 17 26 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 497 0 496 1 0 1 1 0 8 0 amappl13 176 137 0 125 1 0 1 1 0 8 0 amappl12 168 2303 0 2272 2 0 2 2 0 8 0 amappl11 160 12 0 11 1 0 1 1 0 8 0 amappl10 152 64 0 50 1 0 1 1 0 8 0 amappl9 144 260 0 260 1 1 0 1 0 8 0 amappl8 136 136 0 133 1 0 1 1 0 8 0 amappl7 128 164 0 149 1 0 1 1 0 8 0 amappl6 120 224 0 221 1 0 1 1 0 8 0 amappl5 112 101 0 90 1 0 1 1 0 8 0 amappl4 104 323 0 302 1 0 1 1 0 8 0 amappl3 96 11935 0 11811 5 1 4 4 0 8 0 amappl2 88 592 0 529 2 0 2 2 0 8 0 amappl1 80 16759 0 16146 18 4 14 16 0 8 0 amappl 88 16147 0 15957 5 0 5 5 0 92 0 uvmvnodes 80 169 0 0 4 0 4 4 0 8 0 dma16384 16384 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 9 0 9 3 2 1 1 0 8 1 dma128 128 260 0 260 7 6 1 1 0 8 1 dma64 64 7 0 7 2 2 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 98 0 2 2 0 2 2 0 8 0 uaddrrnd 24 2016 0 1984 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2016 0 1984 1 0 1 1 0 8 0 vmmpekpl 168 15722 0 15674 3 0 3 3 0 8 0 vmmpepl 168 132179 0 129896 133 31 102 109 0 357 0 vmsppl 488 2015 0 1984 6 1 5 5 0 8 0 rwobjpl 80 36278 0 34757 48 15 33 35 0 8 1 pdppl 4096 4051 0 3974 126 49 77 85 0 8 0 pvpl 32 22034 0 0 178 1 177 177 0 265 0 pmappl 256 2021 0 1984 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 335 0 79 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace dt_ioctl_record_stop(ffff8000016d2000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(41e5f,81,2000,ffff800035fb0030) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(41e5f,81,2000,ffff800035fb0030) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c415590) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80619fa570,81,fffffd80097fd548,ffff800035fb0030) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060e3b4c0,ffff800035fb0030) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060e3b4c0,ffff800035fb0030) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd8060e3b4c0,ffff800035fb0030) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8060e3b4c0,ffff800035fb0030) at closef+0x192 sys/kern/kern_descrip.c:1265 fdfree(ffff800035fb0030) at fdfree+0x116 sys/kern/kern_descrip.c:1196 exit1(ffff800035fb0030,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800035fb0030,ffff80003c415900,ffff80003c415850) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c415900) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c415900) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d618c7192b0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299bdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299bdff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299bdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299bdff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5