uvm_fault(0xfffffd806abe2d08, 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(ffff8000015f2f00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80003c996a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c996a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c96b870) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e49ad80,1,fffffd8007bfb820,ffff80003c996a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a3ff800,ffff80003c996a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a3ff800,ffff80003c996a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a3ff800,ffff80003c996a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806a3ff800,ffff80003c996a98) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c996a98) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c996a98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c996a98,ffff80003c96bbd0,ffff80003c96bb20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c96bbd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96bbd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74d790017b00, 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(0xfffffd806abe2d08, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000015f2f00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80003c996a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c996a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c96b870) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e49ad80,1,fffffd8007bfb820,ffff80003c996a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a3ff800,ffff80003c996a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a3ff800,ffff80003c996a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a3ff800,ffff80003c996a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806a3ff800,ffff80003c996a98) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c996a98) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c996a98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c996a98,ffff80003c96bbd0,ffff80003c96bb20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c96bbd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96bbd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74d790017b00, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c96b7a0 rbx 0x1 rdx 0 rcx 0xffff80003c996a98 rax 0xffffffff8377f478 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0x2dff6fd33b6a331b r11 0x86ac04ee353dde4e r12 0 r13 0 r14 0 r15 0xffff80000148da00 rip 0xffffffff81193638 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c96b770 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=163210 pid=37632 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c996a98 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002f12a028,0xffff80003c997508 process=0xffff80003c999228 user=0xffff80003c966000, vmspace=0xfffffd806abe2d08 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 49295 396715 46793 0 2 0 syz-executor 49295 517778 46793 0 3 0x4000080 kqsel syz-executor 47745 72945 26573 0 2 0 syz-executor 47745 164588 26573 0 3 0x4000080 fsleep syz-executor 37554 191499 32911 0 2 0 syz-executor 37554 428330 32911 0 3 0x4000000 smrbar syz-executor 37554 203768 32911 0 3 0x4000080 fsleep syz-executor 78518 479299 20419 0 3 0x3010 suspend syz-executor 78518 48831 20419 0 3 0x4081010 mcl8k syz-executor 40542 25663 1 0 3 0x100083 ttyin getty 77997 296610 0 0 3 0x14200 acct acct 87637 436930 0 0 3 0x14200 bored sosplice 2680 129065 0 0 3 0x14280 nfsidl nfsio 23141 389775 0 0 3 0x14280 nfsidl nfsio 39647 355372 0 0 3 0x14280 nfsidl nfsio 368 290044 0 0 3 0x14280 nfsidl nfsio 45221 469234 0 0 3 0x14280 nfsidl nfsio 85509 30832 0 0 3 0x14280 nfsidl nfsio 6192 215136 0 0 3 0x14280 nfsidl nfsio 28820 265902 0 0 3 0x14280 nfsidl nfsio 98791 508705 0 0 3 0x14280 nfsidl nfsio 24750 242097 0 0 3 0x14280 nfsidl nfsio 62527 180862 0 0 3 0x14280 nfsidl nfsio 51442 182848 0 0 3 0x14280 nfsidl nfsio 7574 208843 0 0 3 0x14280 nfsidl nfsio 45060 225866 0 0 3 0x14280 nfsidl nfsio 73372 204953 0 0 3 0x14280 nfsidl nfsio 72480 320188 0 0 3 0x14280 nfsidl nfsio 66051 26453 0 0 3 0x14280 nfsidl nfsio 19959 249689 0 0 3 0x14280 nfsidl nfsio 15101 514816 0 0 3 0x14280 nfsidl nfsio 9127 109236 0 0 3 0x14280 nfsidl nfsio 21005 328175 60566 0 2 0x10000082 syz-executor 46793 223359 60566 0 3 0x82 nanoslp syz-executor 37756 274617 60566 0 3 0x82 nanoslp syz-executor 32911 506602 60566 0 3 0x82 nanoslp syz-executor 49641 333418 60566 0 3 0x82 nanoslp syz-executor 56636 291841 60566 0 2 0x2 syz-executor 20419 379735 60566 0 3 0x82 wait syz-executor 26573 68991 60566 0 3 0x82 nanoslp syz-executor 60566 79462 82024 0 3 0x82 kqread syz-executor 82024 466802 98356 0 3 0x10008a sigsusp ksh 98356 126329 20872 0 3 0x98 kqread sshd-session 20872 152484 40272 0 3 0x92 kqread sshd-session 40272 86808 1 0 3 0x88 kqread sshd 28191 423644 13079 73 3 0x1100090 kqread syslogd 13079 323286 1 0 3 0x100082 sbwait syslogd 32222 55321 1 0 3 0x100080 kqread resolvd 86972 204312 0 0 3 0x14200 bored smr 21523 412607 0 0 2 0x14200 zerothread 59942 311615 0 0 3 0x14200 aiodoned aiodoned 42267 427803 0 0 3 0x14200 syncer update 24213 218264 0 0 3 0x14200 cleaner cleaner 64365 103043 0 0 3 0x14200 reaper reaper 77889 146725 0 0 3 0x14200 pgdaemon pagedaemon 39338 24678 0 0 3 0x14200 bored viomb 61076 317878 0 0 3 0x40014200 acpi0 acpi0 69854 159000 0 0 3 0x14200 bored softnet7 76094 360363 0 0 3 0x14200 bored softnet6 99134 242802 0 0 3 0x14200 bored softnet5 59580 454869 0 0 3 0x14200 bored softnet4 20163 96742 0 0 3 0x14200 bored softnet3 62226 176762 0 0 3 0x14200 bored softnet2 81153 10683 0 0 3 0x14200 bored softnet1 696 240760 0 0 3 0x14200 tqbarend softnet0 48240 468430 0 0 3 0x14200 smrbar systqmp 81960 123008 0 0 3 0x14200 bored systq 59330 202257 0 0 3 0x40014200 tmoslp softclock 79716 205334 0 0 3 0x40014200 idle0 1 494822 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 10224 11091K 12194K 166960K 12567 0 pcb 20 14K 16K 166960K 355 0 rtable 207 10K 10K 166960K 410 0 pf 35 13K 15K 166960K 98 0 ifaddr 42 7K 8K 166960K 89 0 ifgroup 58 2K 2K 166960K 124 0 sysctl 4 1K 9K 166960K 14 0 counters 35 18K 18K 166960K 83 0 ioctlops 0 0K 4K 166960K 319 0 iov 0 0K 20K 166960K 80 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1403 88K 89K 166960K 1976 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 92 0 dirhash 12 2K 3K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 89K 166960K 791 0 sigio 0 0K 0K 166960K 12 0 proc 55 43K 108K 166960K 553 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 215 0 in_multi 83 6K 7K 166960K 145 0 ether_multi 1 0K 0K 166960K 9 0 mrt 0 0K 0K 166960K 6 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 408 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 34 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 190 125K 152K 166960K 8708 0 UVM aobj 85 3K 3K 166960K 87 0 pinsyscall 31 62K 92K 166960K 1847 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 60 0 NDP 13 0K 2K 166960K 60 0 temp 53 8634K 8713K 166960K 47166 0 kqueue 9 16K 34K 166960K 173 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 134 0 133 2 1 1 2 0 8 0 rtentry 136 131 0 51 4 0 4 4 0 8 0 unpcb 144 605 0 589 4 3 1 3 0 8 0 syncache 336 8 0 8 3 2 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 736 248 0 241 5 4 1 4 0 8 0 arp 88 17 0 5 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 8 0 3 1 0 1 1 0 8 0 inpcb 328 1028 0 1015 17 10 7 7 0 8 5 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 104 24 0 8 1 0 1 1 0 8 0 pkpcb 40 7 0 7 3 2 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 47 0 45 1 0 1 1 0 8 0 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 130 0 128 1 0 1 1 0 8 0 pfstate 384 65 0 64 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 639 0 242 35 7 28 31 0 8 2 art_table 40 641 0 242 5 0 5 5 0 8 0 art_node 32 129 0 62 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 2 1 0 1 1 0 8 0 semupl 112 2 0 2 2 1 1 1 0 8 1 semapl 112 90 0 80 1 0 1 1 0 8 0 shmpl 112 84 0 2 3 0 3 3 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2854 0 1357 95 0 95 95 0 8 0 ffsino 256 2854 0 1357 95 0 95 95 0 8 0 nchpl 144 3992 0 2309 63 0 63 63 0 8 0 rtmask 32 9 0 9 3 2 1 1 0 8 1 uvmvnodes 80 3283 0 0 67 0 67 67 0 8 0 vnodes 216 3283 0 0 183 0 183 183 0 8 0 namei 1024 13831 0 13830 5 3 2 2 0 8 1 kstatmem 264 86 0 59 4 1 3 3 0 8 1 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 14964 0 14964 15 7 8 8 1 8 8 plimitpl 152 286 0 270 1 0 1 1 0 8 0 sigapl 424 1102 0 1034 9 0 9 9 0 8 0 knotepl 120 57538 0 57267 40 30 10 16 0 8 1 kqueuepl 184 380 0 372 6 3 3 4 0 8 2 pipepl 304 161 0 133 3 0 3 3 0 8 0 fdescpl 448 1060 0 1035 5 1 4 5 0 8 0 filepl 120 6724 0 6511 13 3 10 11 0 8 2 lockfpl 104 374 0 372 1 0 1 1 0 8 0 lockfspl 48 108 0 106 1 0 1 1 0 8 0 sessionpl 144 26 0 19 1 0 1 1 0 8 0 pgrppl 48 46 0 31 1 0 1 1 0 8 0 ucredpl 104 993 0 983 1 0 1 1 0 8 0 zombiepl 144 1155 0 1151 2 1 1 1 0 8 0 processpl 1152 1102 0 1034 6 0 6 6 0 8 0 procpl 664 2167 0 2094 8 0 8 8 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 552 1795 0 1765 17 9 8 8 0 8 5 mcl64k 65536 39 6 39 2 2 0 1 0 8 0 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 9 3 9 2 2 0 1 0 8 0 mcl4k 4096 3361 0 3310 14 6 8 13 0 8 1 mcl2k 2048 1361 0 1355 4 2 2 2 0 8 1 mtagpl 96 5 0 5 1 1 0 1 0 8 0 mbufpl 256 11698 0 11545 17 4 13 15 0 8 0 bufpl 280 6021 0 123 422 0 422 422 0 8 0 anonpl 24 163668 0 160536 58 12 46 46 0 187 17 amapchunkpl 152 28815 0 28380 49 21 28 34 0 158 7 amappl16 200 2796 0 2769 18 7 11 15 0 8 8 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 113 0 106 1 0 1 1 0 8 0 amappl13 176 25 0 25 1 1 0 1 0 8 0 amappl12 168 1676 0 1651 3 1 2 3 0 8 0 amappl11 160 46 0 42 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 256 0 256 1 1 0 1 0 8 0 amappl8 136 23 0 21 1 0 1 1 0 8 0 amappl7 128 119 0 112 1 0 1 1 0 8 0 amappl6 120 189 0 184 1 0 1 1 0 8 0 amappl5 112 130 0 127 1 0 1 1 0 8 0 amappl4 104 283 0 266 1 0 1 1 0 8 0 amappl3 96 5606 0 5517 4 0 4 4 0 8 0 amappl2 88 649 0 609 2 0 2 2 0 8 0 amappl1 80 11384 0 10931 14 2 12 14 0 8 0 amappl 88 7925 0 7781 5 0 5 5 0 92 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 7 0 7 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 86 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1060 0 1035 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1060 0 1035 1 0 1 1 0 8 0 vmmpekpl 168 9933 0 9898 2 0 2 2 0 8 0 vmmpepl 168 71848 0 70349 97 14 83 89 0 357 8 vmsppl 368 1059 0 1035 4 1 3 4 0 8 0 rwobjpl 40 23597 0 19536 43 0 43 43 0 8 1 pdppl 4096 2126 0 2070 100 40 60 78 0 8 4 pvpl 32 462445 0 454054 149 37 112 115 0 265 33 pmappl 216 1059 0 1035 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 395 0 77 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000015f2f00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80003c996a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c996a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c96b870) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e49ad80,1,fffffd8007bfb820,ffff80003c996a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a3ff800,ffff80003c996a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a3ff800,ffff80003c996a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a3ff800,ffff80003c996a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806a3ff800,ffff80003c996a98) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c996a98) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c996a98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c996a98,ffff80003c96bbd0,ffff80003c96bb20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c96bbd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96bbd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74d790017b00, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000015f2f00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80003c996a98) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c996a98) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c96b870) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805e49ad80,1,fffffd8007bfb820,ffff80003c996a98) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a3ff800,ffff80003c996a98) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a3ff800,ffff80003c996a98) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a3ff800,ffff80003c996a98) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806a3ff800,ffff80003c996a98) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c996a98) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c996a98,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c996a98,ffff80003c96bbd0,ffff80003c96bb20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c96bbd0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c96bbd0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74d790017b00, count: -12