login: uvm_fault(0xfffffd806c24ab90, 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(ffff8000014a0480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002ccf87f0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002ccf87f0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c94f600) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c8e8450,81,fffffd8007bfb478,ffff80002ccf87f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069709268,ffff80002ccf87f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069709268,ffff80002ccf87f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069709268,ffff80002ccf87f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069709268,ffff80002ccf87f0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002ccf87f0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002ccf87f0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002ccf87f0,ffff80003c94f960,ffff80003c94f8b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94f960) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94f960) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752aa6e3fcf0, 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(0xfffffd806c24ab90, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000014a0480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002ccf87f0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002ccf87f0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c94f600) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c8e8450,81,fffffd8007bfb478,ffff80002ccf87f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069709268,ffff80002ccf87f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069709268,ffff80002ccf87f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069709268,ffff80002ccf87f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069709268,ffff80002ccf87f0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002ccf87f0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002ccf87f0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002ccf87f0,ffff80003c94f960,ffff80003c94f8b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94f960) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94f960) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752aa6e3fcf0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c94f530 rbx 0x1 rdx 0 rcx 0xffff80002ccf87f0 rax 0xffffffff837af780 dt_prov_static r8 0xffffffffffffffff r9 0 r10 0x3ac87bfcf49eb4e9 r11 0xb94515d6ad9f04b r12 0 r13 0 r14 0 r15 0xffff800001530c00 rip 0xffffffff8304baf8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c94f500 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=418274 pid=51138 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002ccf87f0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002ccf8028,0xffff80002ccf8a98 process=0xffff8000ffff8018 user=0xffff80003c94a000, vmspace=0xfffffd806c24ab90 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89311 397405 91255 0 2 0 syz-executor 89311 367860 91255 0 3 0x4000080 fsleep syz-executor 16483 375467 34555 0 2 0 syz-executor 16483 467287 34555 0 3 0x4000080 fsleep syz-executor 16483 255067 34555 0 3 0x4000080 fsleep syz-executor 40293 95568 62611 0 2 0 syz-executor 40293 244857 62611 0 3 0x4000080 fsleep syz-executor 51395 182500 78481 0 3 0x90 nanoslp syz-executor 51395 397364 78481 0 3 0x4000090 kqpoll syz-executor 51395 229653 78481 0 3 0x4000090 fsleep syz-executor 91533 383365 74442 0 2 0xc80 syz-executor 91533 334069 74442 0 3 0x4000080 sbwait syz-executor 91533 140579 74442 0 3 0x4000080 fsleep syz-executor 65532 371829 0 0 3 0x14200 acct acct 27005 14182 1 0 3 0x100083 ttyin getty 76363 227615 0 0 3 0x14200 bored sosplice 1796 447569 34678 0 3 0x82 nanoslp syz-executor 91255 452487 34678 0 3 0x82 nanoslp syz-executor 10720 69738 34678 0 3 0x82 nanoslp syz-executor 94880 295025 34678 0 2 0x2 syz-executor 74442 217408 34678 0 2 0xc82 syz-executor 34555 142596 34678 0 3 0x82 nanoslp syz-executor 78481 395379 34678 0 2 0xc82 syz-executor 62611 12236 34678 0 2 0xc82 syz-executor 34678 483456 58703 0 3 0x82 kqread syz-executor 58703 332927 8878 0 3 0x10008a sigsusp ksh 8878 202670 90995 0 3 0x98 kqread sshd-session 90995 101767 79194 0 3 0x92 kqread sshd-session 79194 295373 1 0 3 0x88 kqread sshd 72112 296540 42787 73 3 0x1100090 kqread syslogd 42787 184512 1 0 3 0x100082 sbwait syslogd 73364 207245 1 0 3 0x100080 kqread resolvd 11819 428181 66440 77 3 0x100092 kqread dhcpleased 86132 385617 66440 77 3 0x100092 kqread dhcpleased 66440 131251 1 0 3 0x80 kqread dhcpleased 41477 410073 0 0 3 0x14200 bored smr 84116 382420 0 0 2 0x14200 zerothread 74648 140397 0 0 3 0x14200 aiodoned aiodoned 80768 425633 0 0 3 0x14200 syncer update 77290 410501 0 0 3 0x14200 cleaner cleaner 31781 298811 0 0 3 0x14200 reaper reaper 72429 343927 0 0 3 0x14200 pgdaemon pagedaemon 12361 481835 0 0 3 0x14200 bored viomb 53878 135053 0 0 3 0x40014200 acpi0 acpi0 40610 342564 0 0 3 0x14200 bored softnet0 32679 151851 0 0 3 0x14200 bored systqmp 6690 523367 0 0 3 0x14200 bored systq 51106 421255 0 0 3 0x40014200 tmoslp softclock 45885 92276 0 0 3 0x40014200 idle0 1 130637 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 10201 11170K 11341K 166960K 11993 0 pcb 18 13K 13K 166960K 88 0 rtable 241 9K 9K 166960K 426 0 pf 36 14K 20K 166960K 80 0 ifaddr 41 7K 7K 166960K 56 0 ifgroup 52 2K 2K 166960K 71 0 sysctl 4 1K 9K 166960K 75 0 counters 34 18K 18K 166960K 49 0 ioctlops 0 0K 4K 166960K 229 0 iov 0 0K 16K 166960K 25 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1412 89K 89K 166960K 1761 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 55 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 502 0 sigio 0 0K 0K 166960K 8 0 proc 60 59K 116K 166960K 509 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 43 0 in_multi 88 6K 7K 166960K 113 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 587 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 235 159K 169K 166960K 6313 0 UVM aobj 5 2K 2K 166960K 8 0 pinsyscall 38 76K 96K 166960K 1577 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 13 0K 2K 166960K 36 0 temp 46 8639K 8705K 166960K 16918 0 kqueue 15 22K 30K 166960K 120 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 136 0 133 3 0 3 3 0 8 2 rtentry 136 124 0 21 4 0 4 4 0 8 0 unpcb 144 481 0 463 6 0 6 6 0 8 5 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 184 0 179 7 0 7 7 0 8 6 arp 96 20 0 3 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 0 1 0 1 1 0 8 0 inpcb 328 426 0 416 7 0 7 7 0 8 5 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 6 0 2 1 0 1 1 0 8 0 nd6 112 27 0 4 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 16 0 13 1 0 1 1 0 8 0 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfstscr 40 4 0 4 1 0 1 1 0 8 1 pfrktable 1344 2 0 2 1 0 1 1 0 8 1 pfanchor 1288 2 0 0 1 0 1 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 7 0 5 1 0 1 1 0 8 0 pfstate 384 4 0 3 1 0 1 1 0 8 0 pfrule 1344 5 0 5 1 0 1 1 0 8 1 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 500 0 85 29 0 29 29 0 8 1 art_table 40 502 0 85 5 0 5 5 0 8 0 art_node 32 122 0 28 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 112 53 0 43 1 0 1 1 0 8 0 shmpl 112 5 0 3 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2284 0 776 95 0 95 95 0 8 0 ffsino 256 2284 0 776 95 0 95 95 0 8 0 nchpl 144 3021 0 1322 64 0 64 64 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 vnodes 216 2639 0 0 147 0 147 147 0 8 0 namei 1024 9890 0 9890 2 0 2 2 0 8 2 kstatmem 264 40 0 14 2 0 2 2 0 8 0 scxspl 216 11335 0 11335 8 0 8 8 1 8 8 plimitpl 152 162 0 145 1 0 1 1 0 8 0 sigapl 424 792 0 748 6 0 6 6 0 8 0 knotepl 120 18411 0 18363 21 10 11 17 0 8 8 kqueuepl 184 211 0 200 4 0 4 4 0 8 3 pipepl 304 160 0 133 3 0 3 3 0 8 0 fdescpl 448 777 0 748 5 0 5 5 0 8 1 filepl 120 4758 0 4538 13 0 13 13 0 8 4 lockfpl 104 197 0 195 1 0 1 1 0 8 0 lockfspl 48 63 0 61 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 551 0 538 1 0 1 1 0 8 0 zombiepl 144 750 0 748 1 0 1 1 0 8 0 processpl 1152 792 0 748 4 0 4 4 0 8 0 procpl 664 1368 0 1316 6 0 6 6 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 552 1081 0 1050 12 0 12 12 0 8 8 mcl64k 65536 91 0 89 1 0 1 1 0 8 0 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 2927 0 2876 13 0 13 13 0 8 6 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 747 0 742 3 0 3 3 0 8 1 mtagpl 96 5 0 5 1 0 1 1 0 8 1 mbufpl 256 7892 0 7726 15 0 15 15 0 8 1 bufpl 280 5163 0 120 361 0 361 361 0 8 0 anonpl 24 143277 0 140118 69 0 69 69 0 187 39 amapchunkpl 152 19190 0 18708 25 0 25 25 0 158 4 amappl16 200 3086 0 3053 39 27 12 27 0 8 8 amappl15 192 12 0 12 1 0 1 1 0 8 1 amappl14 184 5 0 5 1 0 1 1 0 8 1 amappl13 176 406 0 405 1 0 1 1 0 8 0 amappl12 168 1113 0 1075 2 0 2 2 0 8 0 amappl11 160 11 0 11 1 0 1 1 0 8 1 amappl10 152 45 0 35 1 0 1 1 0 8 0 amappl9 144 247 0 247 1 0 1 1 0 8 1 amappl8 136 29 0 28 1 0 1 1 0 8 0 amappl7 128 95 0 94 1 0 1 1 0 8 0 amappl6 120 260 0 249 1 0 1 1 0 8 0 amappl5 112 83 0 75 1 0 1 1 0 8 0 amappl4 104 378 0 355 1 0 1 1 0 8 0 amappl3 96 3300 0 3210 3 0 3 3 0 8 0 amappl2 88 884 0 813 2 0 2 2 0 8 0 amappl1 80 10162 0 9624 13 0 13 13 0 8 1 amappl 88 5541 0 5375 5 0 5 5 0 92 0 uvmvnodes 80 2639 0 0 54 0 54 54 0 8 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 7 0 3 1 0 1 1 0 8 0 uaddrrnd 24 777 0 748 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 777 0 748 1 0 1 1 0 8 0 vmmpekpl 168 7606 0 7572 3 0 3 3 0 8 0 vmmpepl 168 55925 0 54136 98 0 98 98 0 357 17 vmsppl 368 776 0 748 4 0 4 4 0 8 1 rwobjpl 40 20356 0 16871 36 0 36 36 0 8 0 pdppl 4096 1561 0 1496 101 34 67 83 0 8 2 pvpl 32 362330 0 353124 145 0 145 145 0 265 58 pmappl 216 776 0 748 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 380 0 34 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000014a0480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002ccf87f0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002ccf87f0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c94f600) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c8e8450,81,fffffd8007bfb478,ffff80002ccf87f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069709268,ffff80002ccf87f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069709268,ffff80002ccf87f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069709268,ffff80002ccf87f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069709268,ffff80002ccf87f0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002ccf87f0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002ccf87f0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002ccf87f0,ffff80003c94f960,ffff80003c94f8b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94f960) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94f960) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752aa6e3fcf0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000014a0480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002ccf87f0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002ccf87f0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c94f600) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806c8e8450,81,fffffd8007bfb478,ffff80002ccf87f0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069709268,ffff80002ccf87f0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069709268,ffff80002ccf87f0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069709268,ffff80002ccf87f0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8069709268,ffff80002ccf87f0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002ccf87f0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002ccf87f0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002ccf87f0,ffff80003c94f960,ffff80003c94f8b0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c94f960) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c94f960) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752aa6e3fcf0, count: -12