uvm_fault(0xfffffd806ba3c010, 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(ffff8000014eb380) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800038158558) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800038158558) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003393b3d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8062d4c958,81,fffffd8007bfb680,ffff800038158558) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c403c40,ffff800038158558) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c403c40,ffff800038158558) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c403c40,ffff800038158558) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c403c40,ffff800038158558) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800038158558) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800038158558,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800038158558,ffff80003393b730,ffff80003393b680) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003393b730) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003393b730) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x787d51f29990, 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(0xfffffd806ba3c010, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000014eb380) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800038158558) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800038158558) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003393b3d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8062d4c958,81,fffffd8007bfb680,ffff800038158558) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c403c40,ffff800038158558) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c403c40,ffff800038158558) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c403c40,ffff800038158558) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c403c40,ffff800038158558) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800038158558) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800038158558,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800038158558,ffff80003393b730,ffff80003393b680) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003393b730) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003393b730) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x787d51f29990, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003393b300 rbx 0x1 rdx 0 rcx 0xffff800038158558 rax 0xffffffff837c7bd0 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0xc96976806fc0c37d r11 0x67051e6431c8a02b r12 0 r13 0 r14 0 r15 0xffff800001496000 rip 0xffffffff82a4e988 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003393b2d0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=21585 pid=1263 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=56, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800038158558 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a81f240,0xffff800038158fc8 process=0xffff8000ffff7620 user=0xffff800033936000, vmspace=0xfffffd806ba3c010 estcpu=6, cpticks=2, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 95339 426856 6340 0 2 0 syz-executor 95339 11833 6340 0 3 0x4000080 fsleep syz-executor 89654 384291 70887 0 2 0 syz-executor 89654 420957 70887 0 3 0x4000080 fsleep syz-executor 24820 104641 74059 0 2 0 syz-executor 24820 398779 74059 0 3 0x4000080 fsleep syz-executor 24820 101071 74059 0 3 0x4000080 fsleep syz-executor 11485 412449 24051 0 2 0 syz-executor 11485 358597 24051 0 2 0x4000000 syz-executor 11485 271818 24051 0 3 0x4000080 fsleep syz-executor 72938 225623 34636 0 2 0 syz-executor 72938 145746 34636 0 3 0x4000080 ttyretype syz-executor 10830 324480 0 0 3 0x14200 acct acct 34636 417542 30409 0 3 0x82 nanoslp syz-executor 70887 370385 30409 0 3 0x82 nanoslp syz-executor 6340 483211 30409 0 3 0x82 nanoslp syz-executor 24051 463121 30409 0 3 0x82 nanoslp syz-executor 74059 216959 30409 0 3 0x82 nanoslp syz-executor 87447 115667 30409 0 3 0x82 nanoslp syz-executor 34328 502471 30409 0 2 0x2 syz-executor 16957 86594 30409 0 2 0x2 syz-executor 30409 457866 84418 0 3 0x82 kqread syz-executor 84418 146441 62475 0 3 0x10008a sigsusp ksh 62475 66034 272 0 3 0x98 kqread sshd-session 272 112124 92753 0 3 0x92 kqread sshd-session 35481 132741 1 0 3 0x100083 ttyin getty 92753 342722 1 0 3 0x88 kqread sshd 34575 292100 5322 73 3 0x1100090 kqread syslogd 5322 381697 1 0 3 0x100082 sbwait syslogd 38738 101090 1 0 3 0x100080 kqread resolvd 63283 297682 31370 77 3 0x100092 kqread dhcpleased 60026 224309 31370 77 3 0x100092 kqread dhcpleased 31370 334792 1 0 3 0x80 kqread dhcpleased 19843 181395 0 0 3 0x14200 bored smr 49405 84638 0 0 2 0x14200 zerothread 70229 163573 0 0 3 0x14200 aiodoned aiodoned 10259 340979 0 0 3 0x14200 syncer update 78930 391204 0 0 3 0x14200 cleaner cleaner 71871 163928 0 0 3 0x14200 reaper reaper 47226 146511 0 0 3 0x14200 pgdaemon pagedaemon 34262 127002 0 0 3 0x14200 bored viomb 96427 407759 0 0 3 0x40014200 acpi0 acpi0 9966 423934 0 0 3 0x14200 bored softnet7 43517 437811 0 0 3 0x14200 bored softnet6 36083 357325 0 0 3 0x14200 bored softnet5 90164 420084 0 0 3 0x14200 bored softnet4 95213 465928 0 0 3 0x14200 bored softnet3 19123 244380 0 0 3 0x14200 bored softnet2 96779 382846 0 0 3 0x14200 bored softnet1 6265 487348 0 0 3 0x14200 bored softnet0 43066 174395 0 0 3 0x14200 bored systqmp 739 227008 0 0 3 0x14200 bored systq 70587 250333 0 0 3 0x40014200 tmoslp softclock 65865 516056 0 0 3 0x40014200 idle0 1 394294 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 10205 11145K 11574K 166960K 11513 0 pcb 18 12K 12K 166960K 54 0 rtable 205 6K 6K 166960K 273 0 pf 31 13K 13K 166960K 40 0 ifaddr 42 7K 7K 166960K 48 0 ifgroup 50 2K 2K 166960K 60 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 17K 166960K 35 0 ioctlops 0 0K 4K 166960K 45 0 iov 0 0K 16K 166960K 8 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1369 86K 86K 166960K 1476 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 248 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 124K 166960K 486 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 15 0 in_multi 99 7K 7K 166960K 103 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 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 352 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 205 150K 165K 166960K 3756 0 UVM aobj 12 2K 2K 166960K 12 0 pinsyscall 37 74K 96K 166960K 1280 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 10 0 NDP 11 0K 2K 166960K 29 0 temp 39 8631K 8695K 166960K 4302 0 kqueue 14 22K 33K 166960K 55 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 54 0 51 1 0 1 1 0 8 0 rtentry 136 98 0 5 4 0 4 4 0 8 0 unpcb 144 104 0 89 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 68 0 64 4 0 4 4 0 8 3 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 328 178 0 169 4 0 4 4 0 8 3 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 17 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 1 0 1 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 1 0 0 1 0 1 1 0 8 0 art_heap4 256 451 0 12 28 0 28 28 0 8 0 art_table 40 452 0 12 5 0 5 5 0 8 0 art_node 32 98 0 15 1 0 1 1 0 8 0 semapl 112 1 0 0 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1773 0 272 95 0 95 95 0 8 0 ffsino 256 1773 0 272 95 0 95 95 0 8 0 nchpl 144 2122 0 444 63 0 63 63 0 8 0 uvmvnodes 80 1925 0 0 40 0 40 40 0 8 0 vnodes 216 1925 0 0 107 0 107 107 0 8 0 namei 1024 6392 0 6392 2 0 2 2 0 8 2 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7560 0 7560 8 0 8 8 1 8 8 plimitpl 152 42 0 25 1 0 1 1 0 8 0 sigapl 424 533 0 484 7 0 7 7 0 8 1 knotepl 120 8574 0 8526 17 7 10 17 0 8 8 kqueuepl 184 55 0 45 1 0 1 1 0 8 0 pipepl 304 112 0 81 3 0 3 3 0 8 0 fdescpl 448 512 0 484 5 0 5 5 0 8 1 filepl 120 2076 0 1852 9 0 9 9 0 8 1 lockfpl 104 50 0 48 1 0 1 1 0 8 0 lockfspl 48 22 0 20 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 228 0 217 1 0 1 1 0 8 0 zombiepl 144 485 0 484 1 0 1 1 0 8 0 processpl 1152 533 0 484 5 0 5 5 0 8 1 procpl 664 713 0 657 6 0 6 6 0 8 0 sockpl 552 338 0 311 5 0 5 5 0 8 2 mcl64k 65536 8 0 8 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 2583 0 2532 15 0 15 15 0 8 8 mcl2k 2048 312 0 311 3 0 3 3 0 8 2 mtagpl 96 6 0 4 1 0 1 1 0 8 0 mbufpl 256 5065 0 4912 18 0 18 18 0 8 5 bufpl 280 3210 0 121 221 0 221 221 0 8 0 anonpl 24 109093 0 106092 31 0 31 31 0 187 8 amapchunkpl 152 11356 0 10944 26 0 26 26 0 158 6 amappl16 200 2036 0 2012 5 0 5 5 0 8 2 amappl15 192 48 0 47 1 0 1 1 0 8 0 amappl14 184 137 0 127 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 0 1 1 0 8 1 amappl12 168 1131 0 1103 3 0 3 3 0 8 1 amappl11 160 43 0 33 1 0 1 1 0 8 0 amappl10 152 25 0 25 1 0 1 1 0 8 1 amappl9 144 290 0 290 1 0 1 1 0 8 1 amappl8 136 26 0 25 1 0 1 1 0 8 0 amappl7 128 99 0 89 1 0 1 1 0 8 0 amappl6 120 172 0 169 1 0 1 1 0 8 0 amappl5 112 119 0 112 1 0 1 1 0 8 0 amappl4 104 266 0 250 1 0 1 1 0 8 0 amappl3 96 1728 0 1651 3 0 3 3 0 8 0 amappl2 88 743 0 672 2 0 2 2 0 8 0 amappl1 80 8289 0 7743 13 0 13 13 0 8 1 amappl 88 3103 0 2961 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 254 0 254 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 11 0 0 1 0 1 1 0 8 0 uaddrrnd 24 512 0 484 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 512 0 484 1 0 1 1 0 8 0 vmmpekpl 168 5593 0 5555 2 0 2 2 0 8 0 vmmpepl 168 38736 0 36970 83 0 83 83 0 357 0 vmsppl 368 511 0 484 4 0 4 4 0 8 1 rwobjpl 40 15056 0 12306 29 0 29 29 0 8 0 pdppl 4096 1030 0 968 96 30 66 82 0 8 4 pvpl 32 252553 0 244584 83 0 83 83 0 265 6 pmappl 216 511 0 484 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 375 0 30 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000014eb380) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800038158558) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800038158558) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003393b3d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8062d4c958,81,fffffd8007bfb680,ffff800038158558) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c403c40,ffff800038158558) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c403c40,ffff800038158558) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c403c40,ffff800038158558) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c403c40,ffff800038158558) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800038158558) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800038158558,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800038158558,ffff80003393b730,ffff80003393b680) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003393b730) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003393b730) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x787d51f29990, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000014eb380) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800038158558) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800038158558) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003393b3d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8062d4c958,81,fffffd8007bfb680,ffff800038158558) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c403c40,ffff800038158558) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c403c40,ffff800038158558) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806c403c40,ffff800038158558) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c403c40,ffff800038158558) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800038158558) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800038158558,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800038158558,ffff80003393b730,ffff80003393b680) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003393b730) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003393b730) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x787d51f29990, count: -12