uvm_fault(0xfffffd806a5068b8, 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(ffff800001489c80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff800038142d30) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff800038142d30) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f92f3b0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8068723888,81,fffffd8007bfb548,ffff800038142d30) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068ff05b8,ffff800038142d30) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068ff05b8,ffff800038142d30) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068ff05b8,ffff800038142d30) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068ff05b8,ffff800038142d30) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800038142d30) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800038142d30,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800038142d30,ffff80002f92f710,ffff80002f92f660) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f92f710) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f92f710) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e1f4798a520, 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(0xfffffd806a5068b8, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001489c80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff800038142d30) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff800038142d30) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f92f3b0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8068723888,81,fffffd8007bfb548,ffff800038142d30) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068ff05b8,ffff800038142d30) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068ff05b8,ffff800038142d30) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068ff05b8,ffff800038142d30) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068ff05b8,ffff800038142d30) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800038142d30) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800038142d30,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800038142d30,ffff80002f92f710,ffff80002f92f660) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f92f710) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f92f710) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e1f4798a520, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002f92f2e0 rbx 0x1 rdx 0 rcx 0xffff800038142d30 rax 0xffffffff83750978 dt_prov_syscall r8 0 r9 0 r10 0xc452f52e74ea4bd0 r11 0xaf84af26b4ffd61a r12 0 r13 0 r14 0 r15 0xffff800001488c00 rip 0xffffffff8121d088 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002f92f2b0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=459078 pid=33813 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800038142d30 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff800038143790,0xffffffff83922148 process=0xffff800038144028 user=0xffff80002f92a000, vmspace=0xfffffd806a5068b8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 76429 179447 26543 -1 2 0x400010 syz-executor 76429 225591 26543 -1 3 0x4400090 fsleep syz-executor 55699 152154 93222 0 3 0x3000 suspend syz-executor 55699 228077 93222 0 2 0x4081000 syz-executor 55699 323878 93222 0 3 0x4081000 inode syz-executor 2116 248345 30567 0 2 0 syz-executor 2116 142662 30567 0 3 0x4000080 fsleep syz-executor 2116 164360 30567 0 3 0x4000080 fsleep syz-executor 98465 386114 0 0 3 0x14200 bored sosplice 72888 202322 67597 60928 2 0x10 syz-executor 72888 414626 67597 60928 3 0x4000090 fsleep syz-executor 72888 268995 67597 60928 3 0x4000090 fsleep syz-executor 72790 161558 0 0 3 0x14280 nfsidl nfsio 75356 63439 0 0 3 0x14280 nfsidl nfsio 10675 245408 0 0 3 0x14280 nfsidl nfsio 93111 408134 0 0 3 0x14280 nfsidl nfsio 26409 115689 0 0 3 0x14280 nfsidl nfsio 9288 337816 0 0 3 0x14280 nfsidl nfsio 45959 376673 0 0 3 0x14280 nfsidl nfsio 47217 163522 0 0 3 0x14280 nfsidl nfsio 99467 13463 0 0 3 0x14280 nfsidl nfsio 27998 451079 0 0 3 0x14280 nfsidl nfsio 98179 381921 0 0 3 0x14280 nfsidl nfsio 51895 474890 0 0 3 0x14280 nfsidl nfsio 92861 51593 0 0 3 0x14280 nfsidl nfsio 75727 45592 0 0 3 0x14280 nfsidl nfsio 12485 28247 0 0 3 0x14280 nfsidl nfsio 90817 269383 0 0 3 0x14280 nfsidl nfsio 92666 387220 0 0 3 0x14280 nfsidl nfsio 1808 408619 0 0 3 0x14280 nfsidl nfsio 47482 125874 0 0 3 0x14280 nfsidl nfsio 44338 474805 0 0 3 0x14280 nfsidl nfsio 5644 508405 26581 0 2 0 syz-executor 5644 408548 26581 0 3 0x4000080 fsleep syz-executor 25929 127214 57423 0 3 0x82 nanoslp syz-executor 48194 397849 57423 0 3 0x82 nanoslp syz-executor 26581 98976 57423 0 3 0x82 nanoslp syz-executor 85505 97500 57423 0 2 0x2 syz-executor 67597 236984 57423 0 3 0x82 nanoslp syz-executor 30567 204553 57423 0 3 0x82 nanoslp syz-executor 93222 315502 57423 0 3 0x82 nanoslp syz-executor 26543 135884 57423 0 3 0x82 nanoslp syz-executor 57423 499537 5199 0 3 0x82 kqread syz-executor 5199 186455 81838 0 3 0x10008a sigsusp ksh 81838 274198 53377 0 3 0x98 kqread sshd-session 53377 85628 45755 0 3 0x92 kqread sshd-session 97503 502567 1 0 3 0x100083 ttyin getty 45755 180263 1 0 3 0x88 kqread sshd 62415 501748 19515 73 3 0x1100090 kqread syslogd 19515 129883 1 0 3 0x100082 sbwait syslogd 34784 343232 1 0 3 0x100080 kqread resolvd 30124 412997 3920 77 3 0x100092 kqread dhcpleased 64710 509923 3920 77 3 0x100092 kqread dhcpleased 3920 152493 1 0 3 0x80 kqread dhcpleased 7483 27644 0 0 3 0x14200 bored smr 94492 106007 0 0 2 0x14200 zerothread 28622 421612 0 0 3 0x14200 aiodoned aiodoned 92313 236910 0 0 3 0x14200 syncer update 79166 367547 0 0 3 0x14200 cleaner cleaner 89996 402911 0 0 3 0x14200 reaper reaper 16287 261898 0 0 3 0x14200 pgdaemon pagedaemon 33035 135570 0 0 3 0x14200 bored viomb 31769 413053 0 0 3 0x40014200 acpi0 acpi0 14860 163604 0 0 3 0x14200 bored softnet7 2584 222876 0 0 3 0x14200 bored softnet6 9823 328321 0 0 3 0x14200 bored softnet5 94681 469636 0 0 3 0x14200 bored softnet4 80052 468724 0 0 3 0x14200 bored softnet3 74049 147502 0 0 3 0x14200 bored softnet2 40077 250283 0 0 3 0x14200 bored softnet1 57240 16554 0 0 3 0x14200 bored softnet0 88129 422322 0 0 3 0x14200 smrbar systqmp 92034 361865 0 0 3 0x14200 bored systq 55937 160622 0 0 3 0x40014200 tmoslp softclock 4641 444595 0 0 3 0x40014200 idle0 1 433196 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 10202 11223K 11239K 166960K 11296 0 pcb 17 12K 12K 166960K 18 0 rtable 209 6K 6K 166960K 263 0 pf 32 13K 13K 166960K 38 0 ifaddr 43 7K 7K 166960K 48 0 ifgroup 52 2K 2K 166960K 59 0 sysctl 1 1K 9K 166960K 5 0 counters 33 17K 17K 166960K 36 0 ioctlops 0 0K 4K 166960K 34 0 iov 0 0K 1K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1347 85K 85K 166960K 1377 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 3K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 85K 166960K 159 0 sigio 0 0K 0K 166960K 3 0 proc 61 67K 100K 166960K 482 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 6 0 in_multi 99 7K 7K 166960K 100 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 43 201K 201K 166960K 43 0 exec 0 0K 1K 166960K 348 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 224 152K 160K 166960K 2890 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 38 76K 90K 166960K 1181 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 1 0 NDP 12 0K 2K 166960K 30 0 temp 35 8634K 8890K 166960K 9553 0 kqueue 15 22K 24K 166960K 26 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 36 0 33 1 0 1 1 0 8 0 rtentry 136 97 0 2 4 0 4 4 0 8 0 unpcb 144 57 0 34 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 12 0 6 1 0 1 1 0 8 0 arp 88 11 0 0 1 0 1 1 0 8 0 inpcb 328 70 0 58 2 0 2 2 0 8 1 nd6 104 16 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 3 0 2 1 0 1 1 0 8 0 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 443 0 6 28 0 28 28 0 8 0 art_table 40 444 0 6 5 0 5 5 0 8 0 art_node 32 97 0 11 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 2 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1607 0 95 95 0 95 95 0 8 0 ffsino 256 1607 0 95 95 0 95 95 0 8 0 nchpl 144 1824 0 135 63 0 63 63 0 8 0 uvmvnodes 80 1701 0 0 35 0 35 35 0 8 0 vnodes 216 1701 0 0 95 0 95 95 0 8 0 namei 1024 5317 0 5316 2 0 2 2 0 8 1 kstatmem 264 28 0 4 2 0 2 2 0 8 0 scxspl 216 6618 0 6618 8 0 8 8 1 8 8 plimitpl 152 33 0 16 1 0 1 1 0 8 0 sigapl 424 461 0 391 8 0 8 8 0 8 0 knotepl 120 4497 0 4445 17 0 17 17 0 8 14 kqueuepl 184 27 0 16 1 0 1 1 0 8 0 pipepl 304 101 0 73 3 0 3 3 0 8 0 fdescpl 448 420 0 391 4 0 4 4 0 8 0 filepl 120 1409 0 1175 8 0 8 8 0 8 0 lockfpl 104 19 0 16 1 0 1 1 0 8 0 lockfspl 48 10 0 7 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 96 0 82 1 0 1 1 0 8 0 zombiepl 144 394 0 391 1 0 1 1 0 8 0 processpl 1152 461 0 391 6 0 6 6 0 8 0 procpl 664 508 0 430 8 0 8 8 0 8 0 sosppl 168 2 0 1 1 0 1 1 0 8 0 sockpl 552 163 0 125 3 0 3 3 0 8 0 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2472 0 2418 14 0 14 14 0 8 6 mcl2k 2048 188 0 187 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 4137 0 3975 11 0 11 11 0 8 0 bufpl 280 3001 0 116 207 0 207 207 0 8 0 anonpl 24 103876 0 98518 33 0 33 33 0 187 0 amapchunkpl 152 8645 0 8058 24 0 24 24 0 158 0 amappl16 200 1986 0 1950 5 0 5 5 0 8 3 amappl15 192 7 0 7 1 0 1 1 0 8 1 amappl14 184 103 0 93 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 0 1 1 0 8 1 amappl12 168 1026 0 997 3 0 3 3 0 8 1 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 0 1 1 0 8 1 amappl9 144 254 0 254 1 0 1 1 0 8 1 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 102 0 92 1 0 1 1 0 8 0 amappl6 120 175 0 172 1 0 1 1 0 8 0 amappl5 112 111 0 105 1 0 1 1 0 8 0 amappl4 104 258 0 243 1 0 1 1 0 8 0 amappl3 96 1310 0 1209 3 0 3 3 0 8 0 amappl2 88 604 0 551 2 0 2 2 0 8 0 amappl1 80 7899 0 7348 13 0 13 13 0 8 1 amappl 88 2256 0 2097 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 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 420 0 391 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 420 0 391 1 0 1 1 0 8 0 vmmpekpl 168 4908 0 4878 2 0 2 2 0 8 0 vmmpepl 168 33182 0 31351 82 0 82 82 0 357 0 vmsppl 368 419 0 391 4 0 4 4 0 8 1 rwobjpl 40 13905 0 11360 26 0 26 26 0 8 0 pdppl 4096 846 0 782 92 26 66 76 0 8 2 pvpl 32 218957 0 207098 97 0 97 97 0 265 0 pmappl 216 419 0 391 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 358 0 26 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001489c80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff800038142d30) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff800038142d30) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f92f3b0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8068723888,81,fffffd8007bfb548,ffff800038142d30) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068ff05b8,ffff800038142d30) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068ff05b8,ffff800038142d30) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068ff05b8,ffff800038142d30) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068ff05b8,ffff800038142d30) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800038142d30) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800038142d30,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800038142d30,ffff80002f92f710,ffff80002f92f660) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f92f710) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f92f710) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e1f4798a520, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001489c80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(21e5f,81,2000,ffff800038142d30) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff800038142d30) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f92f3b0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8068723888,81,fffffd8007bfb548,ffff800038142d30) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8068ff05b8,ffff800038142d30) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8068ff05b8,ffff800038142d30) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8068ff05b8,ffff800038142d30) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8068ff05b8,ffff800038142d30) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800038142d30) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800038142d30,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800038142d30,ffff80002f92f710,ffff80002f92f660) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f92f710) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f92f710) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e1f4798a520, count: -12