login: uvm_fault(0xfffffd806cd0ea20, 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(ffff80000158eb80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c978fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c978fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800036cd55e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3b52d8,81,fffffd8007ffd820,ffff80003c978fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068359178,ffff80003c978fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068359178,ffff80003c978fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068359178,ffff80003c978fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8068359178,ffff80003c978fb8) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80003c978fb8) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80003c978fb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c978fb8,ffff800036cd5940,ffff800036cd5890) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800036cd5940) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036cd5940) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x730739b9bda0, 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(0xfffffd806cd0ea20, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000158eb80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c978fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c978fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800036cd55e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3b52d8,81,fffffd8007ffd820,ffff80003c978fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068359178,ffff80003c978fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068359178,ffff80003c978fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068359178,ffff80003c978fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8068359178,ffff80003c978fb8) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80003c978fb8) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80003c978fb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c978fb8,ffff800036cd5940,ffff800036cd5890) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800036cd5940) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036cd5940) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x730739b9bda0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800036cd5510 rbx 0x1 rdx 0 rcx 0xffff80003c978fb8 rax 0xffff80003c978fb8 r8 0xffffffffffffffff r9 0 r10 0x3bfb1a6fff664c6d r11 0x1f122386cd4be22f r12 0 r13 0 r14 0 r15 0xffff800001597400 rip 0xffffffff822381c8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800036cd54e0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=341868 pid=98871 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c978fb8 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c979cb0,0xffff80003c979790 process=0xffff8000394e9218 user=0xffff800036cd0000, vmspace=0xfffffd806cd0ea20 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 70712 71357 20459 0 2 0 syz-executor 70712 14763 20459 0 2 0x4000000 syz-executor 13744 190482 98476 0 2 0x2 ifconfig 72900 453377 56828 0 2 0 syz-executor 72900 389752 56828 0 3 0x4000080 lockf syz-executor 72900 332611 56828 0 3 0x4000080 fifor syz-executor 72900 182730 56828 0 3 0x4000080 fsleep syz-executor 98476 432326 24130 0 3 0x10008a sigsusp sh 42473 350248 67518 0 2 0 syz-executor 42473 237507 67518 0 3 0x4000080 fifor syz-executor 48815 359066 13596 0 2 0 syz-executor 48815 242585 13596 0 3 0x4000080 fsleep syz-executor 52680 85997 61693 0 2 0 syz-executor 52680 426578 61693 0 3 0x4000080 fsleep syz-executor 24130 366067 83651 0 3 0x82 wait syz-executor 43890 397109 1 0 3 0x100083 ttyin getty 69179 194522 0 0 3 0x14200 acct acct 67518 388432 83651 0 3 0x82 nanoslp syz-executor 56828 23108 83651 0 3 0x82 nanoslp syz-executor 13596 114868 83651 0 3 0x82 nanoslp syz-executor 20459 477228 83651 0 3 0x82 nanoslp syz-executor 54090 165635 83651 0 3 0x82 nanoslp syz-executor 80741 123995 83651 0 3 0x82 wait syz-executor 61693 358248 83651 0 3 0x82 nanoslp syz-executor 83651 492498 39321 0 3 0x82 kqread syz-executor 39321 216458 96996 0 3 0x10008a sigsusp ksh 96996 152186 93695 0 3 0x98 kqread sshd-session 93695 164644 21716 0 3 0x92 kqread sshd-session 21716 141287 1 0 3 0x88 kqread sshd 14130 220160 64594 73 3 0x1100090 kqread syslogd 64594 128492 1 0 3 0x100082 sbwait syslogd 82963 414562 1 0 3 0x100080 kqread resolvd 36017 5328 22041 77 3 0x100092 kqread dhcpleased 79995 362300 22041 77 3 0x100092 kqread dhcpleased 22041 320274 1 0 3 0x80 kqread dhcpleased 95726 87491 0 0 3 0x14200 bored smr 16779 300119 0 0 2 0x14200 zerothread 448 304185 0 0 3 0x14200 aiodoned aiodoned 55 276035 0 0 2 0x14e00 update 29761 259616 0 0 3 0x14200 cleaner cleaner 9056 377804 0 0 3 0x14200 reaper reaper 24382 28978 0 0 3 0x14200 pgdaemon pagedaemon 39574 166373 0 0 3 0x14200 bored viomb 38875 265982 0 0 3 0x40014200 acpi0 acpi0 79386 100210 0 0 3 0x14200 bored softnet0 326 503077 0 0 3 0x14200 bored systqmp 50993 332304 0 0 3 0x14200 bored systq 83998 114427 0 0 3 0x40014200 tmoslp softclock 44494 283445 0 0 3 0x40014200 idle0 1 160759 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 11120 12461K 12897K 166960K 16623 0 pcb 17 16K 18K 166960K 909 0 rtable 150 18K 19K 166960K 792 0 pf 43 15K 18K 166960K 276 0 ifaddr 27 4K 7K 166960K 172 0 ifgroup 56 2K 2K 166960K 339 0 sysctl 4 1K 9K 166960K 125 0 counters 35 18K 18K 166960K 170 0 ioctlops 0 0K 4K 166960K 636 0 iov 0 0K 32K 166960K 110 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1584 100K 100K 166960K 4626 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 9K 166960K 26 0 VM map 2 1K 1K 166960K 2 0 sem 27 41K 41K 166960K 197 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 236K 166960K 2501 0 sigio 0 0K 0K 166960K 99 0 proc 68 67K 100K 166960K 1058 0 subproc 72 4K 4K 166960K 256 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 291 0 in_multi 30 2K 7K 166960K 207 0 ether_multi 1 0K 0K 166960K 17 0 mrt 1 0K 0K 166960K 54 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 836 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 232 145K 166K 166960K 23402 0 UVM aobj 28 30K 30K 166960K 30 0 pinsyscall 40 80K 92K 166960K 3853 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 133 0 NDP 13 0K 2K 166960K 127 0 temp 87 9080K 9336K 166960K 112859 0 kqueue 13 20K 33K 166960K 433 0 SYN cache 2 8K 16K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 202 0 198 1 0 1 1 0 8 0 rtentry 136 209 0 176 5 0 5 5 0 8 0 unpcb 144 2063 0 2043 14 6 8 8 0 8 7 syncache 336 8 0 8 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 982 0 977 19 12 7 7 0 8 6 arp 96 30 0 23 1 0 1 1 0 8 0 ipq 40 10 0 10 1 0 1 1 0 8 1 ipqe 40 14 0 14 1 0 1 1 0 8 1 inpcb 328 2880 0 2872 31 22 9 18 0 8 8 ip6q 72 68 0 68 1 0 1 1 0 8 1 ip6af 40 133 0 133 1 0 1 1 0 8 1 nd6 112 42 0 39 1 0 1 1 0 8 0 pkpcb 40 50 0 50 2 1 1 1 0 8 1 kcovpl 48 28 0 20 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 93 0 93 2 1 1 1 0 8 1 pppxif 1384 9 0 9 2 1 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 5 0 3 1 0 1 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 2 0 1 1 0 1 1 0 8 0 pfstitem 24 5 0 0 1 0 1 1 0 8 0 pfstkey 128 9 0 4 1 0 1 1 0 8 0 pfstate 384 5 0 2 1 0 1 1 0 8 0 pfrule 1360 6 0 3 1 0 1 1 0 8 0 rttmr 136 9 0 9 3 2 1 1 0 8 1 art_heap8 4096 6 0 0 6 0 6 6 0 8 0 art_heap4 256 971 0 825 33 13 20 33 0 8 5 art_table 40 977 0 825 6 0 6 6 0 8 0 art_node 32 205 0 177 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 3 1 1 0 1 0 8 0 semupl 112 3 0 3 2 1 1 1 0 8 1 semapl 112 187 0 162 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 6020 0 4541 93 0 93 93 0 8 0 ffsino 256 6020 0 4541 93 0 93 93 0 8 0 nchpl 144 9245 0 7518 64 0 64 64 0 8 0 rtmask 32 24 0 24 2 1 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 36718 0 36718 4 2 2 2 0 8 2 vcpupl 3904 15 0 2 2 0 2 2 0 8 0 vmpool 808 15 0 2 2 0 2 2 0 8 0 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 kstatmem 264 206 0 180 2 0 2 2 0 8 0 scsiplug 72 10 0 10 3 2 1 1 0 8 1 scxspl 216 36916 0 36916 10 8 2 8 1 8 2 plimitpl 152 909 0 892 1 0 1 1 0 8 0 sigapl 424 2766 0 2721 7 1 6 6 0 8 0 knotepl 120 343450 0 343403 74 63 11 26 0 8 8 kqueuepl 184 734 0 725 5 2 3 3 0 8 2 pipepl 304 541 0 514 13 5 8 8 0 8 5 fdescpl 448 2741 0 2710 5 1 4 5 0 8 0 filepl 120 21266 0 21040 22 9 13 14 0 8 5 lockfpl 104 1477 0 1473 4 2 2 2 0 8 1 lockfspl 48 401 0 398 1 0 1 1 0 8 0 sessionpl 144 50 0 42 1 0 1 1 0 8 0 pgrppl 48 124 0 108 1 0 1 1 0 8 0 ucredpl 104 3874 0 3863 1 0 1 1 0 8 0 zombiepl 144 2976 0 2974 3 2 1 1 0 8 0 processpl 1152 2766 0 2721 4 0 4 4 0 8 0 procpl 664 6259 0 6207 8 2 6 7 0 8 1 sosppl 176 13 0 13 3 2 1 1 0 8 1 sockpl 552 5552 0 5520 38 28 10 17 0 8 7 mcl64k 65536 405 0 405 3 2 1 1 0 8 1 mcl16k 16384 8 0 8 3 2 1 1 0 8 1 mcl12k 12288 5 0 5 1 0 1 1 0 8 1 mcl9k 9216 3 0 3 2 1 1 1 0 8 1 mcl8k 8192 28 0 28 3 2 1 1 0 8 1 mcl4k 4096 5609 0 5555 16 7 9 14 0 8 1 mcl2k2 2112 8 0 8 3 2 1 1 0 8 1 mcl2k 2048 2461 0 2460 11 4 7 7 0 8 6 mtagpl 96 132 0 120 1 0 1 1 0 8 0 mbufpl 256 71178 0 71083 123 102 21 113 0 8 8 bufpl 280 12092 0 5878 445 0 445 445 0 8 1 anonpl 24 393418 0 385536 92 7 85 85 0 187 16 amapchunkpl 152 82847 0 82299 58 23 35 36 0 158 12 amappl16 200 7295 0 7049 28 2 26 27 0 8 1 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 598 0 596 1 0 1 1 0 8 0 amappl13 176 137 0 126 1 0 1 1 0 8 0 amappl12 168 3018 0 2989 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 1 0 1 0 8 0 amappl10 152 56 0 46 1 0 1 1 0 8 0 amappl9 144 259 0 259 1 1 0 1 0 8 0 amappl8 136 144 0 141 1 0 1 1 0 8 0 amappl7 128 184 0 173 1 0 1 1 0 8 0 amappl6 120 253 0 250 1 0 1 1 0 8 0 amappl5 112 106 0 97 1 0 1 1 0 8 0 amappl4 104 341 0 324 1 0 1 1 0 8 0 amappl3 96 16592 0 16482 4 0 4 4 0 8 0 amappl2 88 638 0 582 2 0 2 2 0 8 0 amappl1 80 21545 0 20987 16 4 12 16 0 8 0 amappl 88 22133 0 21963 5 0 5 5 0 92 1 uvmvnodes 80 177 0 0 4 0 4 4 0 8 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 9 0 9 3 2 1 1 0 8 1 dma128 128 256 0 256 2 1 1 1 0 8 1 dma64 64 9 0 9 3 2 1 1 0 8 1 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 29 0 2 1 0 1 1 0 8 0 uaddrrnd 24 2741 0 2710 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2741 0 2710 1 0 1 1 0 8 0 vmmpekpl 168 22254 0 22211 3 0 3 3 0 8 0 vmmpepl 168 181186 0 179136 115 13 102 103 0 357 6 vmsppl 368 2740 0 2710 4 1 3 4 0 8 0 rwobjpl 40 44810 0 43516 16 0 16 16 0 8 0 pdppl 4096 5518 0 5437 159 78 81 82 0 8 0 pvpl 32 1201916 0 1188442 186 23 163 163 0 265 25 pmappl 216 2755 0 2712 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 589 0 231 13 0 13 13 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000158eb80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c978fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c978fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800036cd55e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3b52d8,81,fffffd8007ffd820,ffff80003c978fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068359178,ffff80003c978fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068359178,ffff80003c978fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068359178,ffff80003c978fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8068359178,ffff80003c978fb8) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80003c978fb8) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80003c978fb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c978fb8,ffff800036cd5940,ffff800036cd5890) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800036cd5940) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036cd5940) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x730739b9bda0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000158eb80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c978fb8) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c978fb8) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800036cd55e0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c3b52d8,81,fffffd8007ffd820,ffff80003c978fb8) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068359178,ffff80003c978fb8) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068359178,ffff80003c978fb8) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068359178,ffff80003c978fb8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8068359178,ffff80003c978fb8) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff80003c978fb8) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff80003c978fb8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c978fb8,ffff800036cd5940,ffff800036cd5890) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800036cd5940) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800036cd5940) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x730739b9bda0, count: -12