uvm_fault(0xfffffd806cd1b188, 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(ffff80000169a300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff8000338cf778) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000338cf778) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c964f40) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b398100,1,fffffd8007ffd548,ffff8000338cf778) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8073da0f18,ffff8000338cf778) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8073da0f18,ffff8000338cf778) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8073da0f18,ffff8000338cf778) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8073da0f18,ffff8000338cf778) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff8000338cf778) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff8000338cf778,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000338cf778,ffff80003c9652a0,ffff80003c9651f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9652a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9652a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71b41ad8d130, 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(0xfffffd806cd1b188, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000169a300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff8000338cf778) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000338cf778) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c964f40) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b398100,1,fffffd8007ffd548,ffff8000338cf778) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8073da0f18,ffff8000338cf778) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8073da0f18,ffff8000338cf778) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8073da0f18,ffff8000338cf778) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8073da0f18,ffff8000338cf778) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff8000338cf778) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff8000338cf778,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000338cf778,ffff80003c9652a0,ffff80003c9651f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9652a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9652a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71b41ad8d130, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c964e70 rbx 0x1 rdx 0 rcx 0xffff8000338cf778 rax 0xffffffff838bf888 dt_prov_syscall r8 0 r9 0 r10 0x5f41efa5974914fa r11 0x253a220de022b0d6 r12 0 r13 0 r14 0 r15 0xffff800001631700 rip 0xffffffff82458638 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c964e40 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=276588 pid=88962 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000338cf778 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000338cfa10,0xffff8000314cda28 process=0xffff8000338d1b18 user=0xffff80003c960000, vmspace=0xfffffd806cd1b188 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 96586 420287 47912 0 2 0 syz-executor 96586 46055 47912 0 2 0x4000000 syz-executor 16729 372758 47536 0 2 0 syz-executor 16729 520470 47536 0 3 0x4000080 fsleep syz-executor 76582 132216 42223 0 3 0x80 nanoslp syz-executor 76582 363680 42223 0 3 0x4000080 kqread syz-executor 76582 360471 42223 0 3 0x4000080 fsleep syz-executor 50944 207215 81904 0 3 0x80 nanoslp syz-executor 50944 84465 81904 0 3 0x4000080 sbwait syz-executor 50944 430192 81904 0 3 0x4000080 sbwait syz-executor 50944 195931 81904 0 3 0x4000080 fsleep syz-executor 74300 463000 62087 0 3 0x80 nanoslp syz-executor 74300 74285 62087 0 3 0x4000080 kqread syz-executor 74300 79074 62087 0 3 0x4000080 fsleep syz-executor 26886 498424 0 0 3 0x14200 acct acct 7173 86278 1 0 3 0x100083 ttyin getty 36441 305451 65428 27 3 0x1100092 kqread sshd-auth 65428 350460 42871 0 3 0x82 kqread sshd-session 3476 396131 18768 27 3 0x1100092 kqread sshd-auth 18768 254533 42871 0 3 0x82 kqread sshd-session 99234 319521 53514 0 3 0x82 nanoslp syz-executor 81904 284803 53514 0 3 0x82 nanoslp syz-executor 62087 196108 53514 0 3 0x82 nanoslp syz-executor 47536 34600 53514 0 3 0x82 nanoslp syz-executor 47912 70815 53514 0 3 0x82 nanoslp syz-executor 70526 466609 53514 0 3 0x82 nanoslp syz-executor 27332 419776 53514 0 3 0x82 wait syz-executor 42223 482819 53514 0 3 0x82 nanoslp syz-executor 53514 121776 30128 0 3 0x82 kqread syz-executor 30128 129539 47691 0 3 0x10008a sigsusp ksh 47691 357337 10206 0 3 0x98 kqread sshd-session 10206 447881 42871 0 3 0x92 kqread sshd-session 42871 367021 1 0 3 0x88 kqread sshd 37836 131931 18210 73 3 0x1100090 kqread syslogd 18210 318084 1 0 3 0x100082 sbwait syslogd 72337 522390 1 0 3 0x100080 kqread resolvd 33060 505808 49094 77 3 0x100092 kqread dhcpleased 65024 22642 49094 77 3 0x100092 kqread dhcpleased 49094 11781 1 0 3 0x80 kqread dhcpleased 59037 219592 0 0 3 0x14200 bored smr 32489 140769 0 0 2 0x14200 zerothread 84811 252145 0 0 3 0x14200 aiodoned aiodoned 29386 339576 0 0 3 0x14200 syncer update 62331 74673 0 0 3 0x14200 cleaner cleaner 43444 302780 0 0 3 0x14200 reaper reaper 54574 338343 0 0 3 0x14200 pgdaemon pagedaemon 13745 273469 0 0 3 0x14200 bored viomb 33407 91730 0 0 3 0x40014200 acpi0 acpi0 57287 109769 0 0 3 0x14200 bored softnet0 24279 441435 0 0 3 0x14200 bored systqmp 15740 243972 0 0 3 0x14200 bored systq 9023 314459 0 0 3 0x40014200 tmoslp softclock 56050 61956 0 0 3 0x40014200 idle0 1 203689 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 11094 12284K 12837K 166960K 12834 0 pcb 18 13K 14K 166960K 211 0 rtable 227 8K 9K 166960K 432 0 pf 34 13K 16K 166960K 99 0 ifaddr 42 7K 7K 166960K 63 0 ifgroup 54 2K 2K 166960K 79 0 sysctl 3 1K 9K 166960K 11 0 counters 34 17K 18K 166960K 48 0 ioctlops 0 0K 4K 166960K 158 0 iov 2 0K 24K 166960K 35 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1447 91K 92K 166960K 2030 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 28 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 73K 166960K 525 0 sigio 0 0K 0K 166960K 8 0 proc 60 59K 75K 166960K 543 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 73 0 in_multi 90 6K 7K 166960K 124 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 15 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 464 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 267 177K 195K 166960K 6409 0 UVM aobj 12 8K 8K 166960K 13 0 pinsyscall 47 94K 94K 166960K 1633 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 25 0 NDP 12 0K 2K 166960K 39 0 temp 49 9069K 9133K 166960K 5967 0 kqueue 19 30K 38K 166960K 129 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 70 0 67 1 0 1 1 0 8 0 rtentry 136 124 0 31 4 0 4 4 0 8 0 unpcb 144 417 0 392 4 0 4 4 0 8 2 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 188 0 173 7 0 7 7 0 8 5 arp 96 18 0 2 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 4 0 3 1 0 1 1 0 8 0 inpcb 328 692 0 669 10 0 10 10 0 8 7 nd6 112 28 0 3 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 13 0 13 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 10 0 8 1 0 1 1 0 8 0 pfstate 384 5 0 4 1 0 1 1 0 8 0 pfrule 1360 36 0 25 1 0 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 564 0 190 31 0 31 31 0 8 5 art_table 40 567 0 190 5 0 5 5 0 8 0 art_node 32 124 0 42 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 112 24 0 16 1 0 1 1 0 8 0 shmpl 112 7 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2396 0 946 92 0 92 92 0 8 0 ffsino 256 2396 0 946 92 0 92 92 0 8 0 nchpl 144 3146 0 1448 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2915 0 0 162 0 162 162 0 8 0 namei 1024 10694 0 10694 1 0 1 1 0 8 1 vcpupl 3904 3 0 0 1 0 1 1 0 8 0 vmpool 808 3 0 0 1 0 1 1 0 8 0 kstatmem 264 46 0 22 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 10841 0 10841 8 0 8 8 1 8 8 plimitpl 152 234 0 218 1 0 1 1 0 8 0 sigapl 424 822 0 774 6 0 6 6 0 8 0 knotepl 120 18581 0 18494 11 0 11 11 0 8 8 kqueuepl 184 134 0 119 1 0 1 1 0 8 0 pipepl 304 146 0 116 3 0 3 3 0 8 0 fdescpl 448 808 0 774 4 0 4 4 0 8 0 filepl 120 5136 0 4889 13 0 13 13 0 8 3 lockfpl 104 472 0 470 2 0 2 2 0 8 1 lockfspl 48 231 0 229 1 0 1 1 0 8 0 sessionpl 144 24 0 14 1 0 1 1 0 8 0 pgrppl 48 34 0 15 1 0 1 1 0 8 0 ucredpl 104 881 0 866 1 0 1 1 0 8 0 zombiepl 144 777 0 774 1 0 1 1 0 8 0 processpl 1152 822 0 774 4 0 4 4 0 8 0 procpl 664 1377 0 1320 6 0 6 6 0 8 0 sosppl 176 5 0 3 1 0 1 1 0 8 0 sockpl 552 1197 0 1146 11 0 11 11 0 8 5 mcl64k 65536 48 0 47 1 0 1 1 0 8 0 mcl16k 16384 11 0 11 1 0 1 1 0 8 1 mcl12k 12288 5 0 5 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 19 0 19 1 0 1 1 0 8 1 mcl4k 4096 3069 0 3018 14 0 14 14 0 8 7 mcl2k 2048 539 0 538 1 0 1 1 0 8 0 mtagpl 96 15 0 7 1 0 1 1 0 8 0 mbufpl 256 11226 0 11069 12 0 12 12 0 8 0 bufpl 280 3541 0 137 244 0 244 244 0 8 0 anonpl 24 140022 0 136048 62 0 62 62 0 187 31 amapchunkpl 152 20345 0 19815 29 0 29 29 0 158 4 amappl16 200 2483 0 2453 15 4 11 15 0 8 7 amappl15 192 8 0 8 1 0 1 1 0 8 1 amappl14 184 408 0 406 1 0 1 1 0 8 0 amappl13 176 118 0 104 1 0 1 1 0 8 0 amappl12 168 1072 0 1039 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 0 1 1 0 8 1 amappl10 152 60 0 50 1 0 1 1 0 8 0 amappl9 144 256 0 256 1 0 1 1 0 8 1 amappl8 136 97 0 96 1 0 1 1 0 8 0 amappl7 128 166 0 151 1 0 1 1 0 8 0 amappl6 120 151 0 150 1 0 1 1 0 8 0 amappl5 112 95 0 84 1 0 1 1 0 8 0 amappl4 104 272 0 253 1 0 1 1 0 8 0 amappl3 96 3955 0 3831 4 0 4 4 0 8 0 amappl2 88 538 0 461 2 0 2 2 0 8 0 amappl1 80 11448 0 10550 19 0 19 19 0 8 0 amappl 88 5640 0 5458 5 0 5 5 0 92 0 uvmvnodes 80 109 0 0 3 0 3 3 0 8 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 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 8 0 8 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 12 0 1 1 0 1 1 0 8 0 uaddrrnd 24 808 0 774 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 808 0 774 1 0 1 1 0 8 0 vmmpekpl 168 7955 0 7921 2 0 2 2 0 8 0 vmmpepl 168 58462 0 56087 114 0 114 114 0 357 10 vmsppl 368 807 0 774 4 0 4 4 0 8 0 rwobjpl 40 18550 0 17174 17 0 17 17 0 8 1 pdppl 4096 1628 0 1551 97 20 77 77 0 8 0 pvpl 32 379264 0 367316 167 0 167 167 0 265 55 pmappl 216 810 0 774 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 371 0 20 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000169a300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff8000338cf778) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000338cf778) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c964f40) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b398100,1,fffffd8007ffd548,ffff8000338cf778) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8073da0f18,ffff8000338cf778) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8073da0f18,ffff8000338cf778) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8073da0f18,ffff8000338cf778) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8073da0f18,ffff8000338cf778) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff8000338cf778) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff8000338cf778,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000338cf778,ffff80003c9652a0,ffff80003c9651f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9652a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9652a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71b41ad8d130, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000169a300) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff8000338cf778) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff8000338cf778) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c964f40) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd807b398100,1,fffffd8007ffd548,ffff8000338cf778) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8073da0f18,ffff8000338cf778) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8073da0f18,ffff8000338cf778) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8073da0f18,ffff8000338cf778) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd8073da0f18,ffff8000338cf778) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff8000338cf778) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff8000338cf778,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000338cf778,ffff80003c9652a0,ffff80003c9651f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c9652a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9652a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71b41ad8d130, count: -12