uvm_fault(0xfffffd806ba415d0, 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(ffff800001597900) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800033937250) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033937250) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003b570d70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067b84038,81,fffffd8007bfb8f0,ffff800033937250) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806414ad38,ffff800033937250) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806414ad38,ffff800033937250) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806414ad38,ffff800033937250) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806414ad38,ffff800033937250) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033937250) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033937250,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033937250,ffff80003b5710d0,ffff80003b571020) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003b5710d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003b5710d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77fd17799ab0, 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(0xfffffd806ba415d0, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001597900) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800033937250) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033937250) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003b570d70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067b84038,81,fffffd8007bfb8f0,ffff800033937250) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806414ad38,ffff800033937250) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806414ad38,ffff800033937250) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806414ad38,ffff800033937250) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806414ad38,ffff800033937250) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033937250) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033937250,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033937250,ffff80003b5710d0,ffff80003b571020) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003b5710d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003b5710d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77fd17799ab0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003b570ca0 rbx 0x1 rdx 0 rcx 0xffff800033937250 rax 0xffff800033937250 r8 0xffffffffffffffff r9 0 r10 0x25e794096acedc29 r11 0x3740799bddc175bf r12 0 r13 0 r14 0 r15 0xffff8000015a0300 rip 0xffffffff82a4e988 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003b570c70 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=511960 pid=63813 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800033937250 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a86f790,0xffffffff8392d368 process=0xffff80002a8afaa8 user=0xffff80003b56c000, vmspace=0xfffffd806ba415d0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 53525 223979 96912 0 2 0 syz-executor 53525 121964 96912 0 3 0x4000000 smrbar syz-executor 43725 67462 26939 0 3 0x80 nanoslp syz-executor 43725 214692 26939 0 3 0x4000080 ttyin syz-executor 43725 471017 26939 0 3 0x4000080 fsleep syz-executor 53418 120035 51993 0 3 0x80 nanoslp syz-executor 53418 331656 51993 0 3 0x4000080 piperd syz-executor 53418 43714 51993 0 3 0x4000080 fsleep syz-executor 66340 96137 48868 0 3 0x80 nanoslp syz-executor 66340 242406 48868 0 3 0x4000080 sbwait syz-executor 66340 396820 48868 0 3 0x4000080 fsleep syz-executor 26939 149313 4700 0 3 0x82 nanoslp syz-executor 51993 225533 4700 0 3 0x82 nanoslp syz-executor 33875 494585 4700 0 3 0x82 wait syz-executor 68882 44362 0 0 3 0x14280 nfsidl nfsio 65516 403706 0 0 3 0x14280 nfsidl nfsio 84196 339867 0 0 3 0x14280 nfsidl nfsio 95308 255482 0 0 3 0x14280 nfsidl nfsio 79634 303258 0 0 3 0x14280 nfsidl nfsio 4146 219444 0 0 3 0x14280 nfsidl nfsio 3395 100633 0 0 3 0x14280 nfsidl nfsio 26714 430620 0 0 3 0x14280 nfsidl nfsio 72507 355816 0 0 3 0x14280 nfsidl nfsio 33753 88456 0 0 3 0x14280 nfsidl nfsio 19066 247464 0 0 3 0x14280 nfsidl nfsio 94414 462645 0 0 3 0x14280 nfsidl nfsio 40024 486019 0 0 3 0x14280 nfsidl nfsio 8960 312823 0 0 3 0x14280 nfsidl nfsio 87883 376159 0 0 3 0x14280 nfsidl nfsio 59270 440595 0 0 3 0x14280 nfsidl nfsio 6794 328478 0 0 3 0x14280 nfsidl nfsio 98910 71876 0 0 3 0x14280 nfsidl nfsio 34812 136593 0 0 3 0x14280 nfsidl nfsio 66162 473370 0 0 3 0x14280 nfsidl nfsio 19520 127927 4700 0 3 0x82 wait syz-executor 96527 504490 0 0 3 0x14200 acct acct 92129 433771 0 0 3 0x14200 bored sosplice 96912 233451 4700 0 3 0x82 nanoslp syz-executor 89822 254600 4700 0 3 0x82 nanoslp syz-executor 48868 352275 4700 0 3 0x82 nanoslp syz-executor 57341 285340 4700 0 3 0x82 wait syz-executor 4700 72731 25631 0 3 0x82 kqread syz-executor 25631 265936 75115 0 3 0x10008a sigsusp ksh 75115 343399 23734 0 3 0x98 kqread sshd-session 23734 119944 14951 0 3 0x92 kqread sshd-session 26768 436678 1 0 3 0x100083 ttyopn getty 14951 324141 1 0 3 0x88 kqread sshd 3794 51840 37171 73 3 0x1100090 kqread syslogd 37171 508288 1 0 3 0x100082 sbwait syslogd 80838 274350 1 0 3 0x100080 kqread resolvd 21271 326136 92478 77 3 0x100092 kqread dhcpleased 9178 143369 92478 77 3 0x100092 kqread dhcpleased 92478 382941 1 0 3 0x80 kqread dhcpleased 92406 333915 0 0 3 0x14200 bored smr 49323 475318 0 0 2 0x14200 zerothread 97189 389715 0 0 3 0x14200 aiodoned aiodoned 2290 205342 0 0 3 0x14200 syncer update 69487 117172 0 0 3 0x14200 cleaner cleaner 62662 126785 0 0 3 0x14200 reaper reaper 90378 313587 0 0 3 0x14200 pgdaemon pagedaemon 61986 496452 0 0 3 0x14200 bored viomb 14579 22809 0 0 3 0x40014200 acpi0 acpi0 37604 207600 0 0 3 0x14200 bored softnet7 73992 457785 0 0 3 0x14200 bored softnet6 77954 520654 0 0 3 0x14200 bored softnet5 50503 81470 0 0 3 0x14200 bored softnet4 57977 191814 0 0 3 0x14200 bored softnet3 32231 171238 0 0 3 0x14200 bored softnet2 93185 26481 0 0 3 0x14200 bored softnet1 95224 21421 0 0 3 0x14200 bored softnet0 10612 129198 0 0 3 0x14200 smrbar systqmp 98087 129869 0 0 3 0x14200 bored systq 94512 146609 0 0 3 0x40014200 tmoslp softclock 45668 110379 0 0 3 0x40014200 idle0 1 435161 0 0 3 0x80082 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 10232 11199K 11243K 166960K 11991 0 pcb 17 15K 16K 166960K 204 0 rtable 204 9K 9K 166960K 436 0 pf 34 13K 16K 166960K 93 0 ifaddr 43 7K 8K 166960K 94 0 ifgroup 52 2K 2K 166960K 120 0 sysctl 3 1K 9K 166960K 10 0 counters 33 17K 18K 166960K 132 0 ioctlops 0 0K 4K 166960K 488 0 iov 1 2K 28K 166960K 111 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1342 84K 85K 166960K 1913 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 25 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 797 0 sigio 0 0K 0K 166960K 82 0 proc 64 67K 124K 166960K 689 0 subproc 72 4K 4K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 93 0 in_multi 98 7K 7K 166960K 178 0 ether_multi 1 0K 0K 166960K 2 0 mrt 2 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 459 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 254 152K 165K 166960K 8355 0 UVM aobj 28 4K 4K 166960K 29 0 pinsyscall 39 78K 96K 166960K 1984 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 46 0 NDP 12 0K 2K 166960K 62 0 temp 58 8639K 8703K 166960K 34441 0 kqueue 14 22K 31K 166960K 162 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 146 0 143 3 0 3 3 0 8 2 rtentry 136 158 0 76 4 0 4 4 0 8 0 unpcb 144 818 0 794 4 0 4 4 0 8 3 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpqe 32 4 0 4 1 0 1 1 0 8 1 tcpcb 736 362 0 352 7 0 7 7 0 8 5 arp 88 15 0 6 1 0 1 1 0 8 0 inpcb 328 939 0 923 10 0 10 10 0 8 8 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 7 0 3 1 0 1 1 0 8 0 nd6 104 32 0 14 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 0 1 1 0 8 1 kcovpl 48 13 0 5 1 0 1 1 0 8 0 ppxss 1072 91 0 90 1 0 1 1 0 8 0 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfstscr 40 3 0 3 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 12 0 10 1 0 1 1 0 8 0 pfstate 384 7 0 6 1 0 1 1 0 8 0 pfrule 1344 5 0 4 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 808 0 396 28 0 28 28 0 8 2 art_table 40 810 0 396 5 0 5 5 0 8 0 art_node 32 156 0 84 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 23 0 13 1 0 1 1 0 8 0 shmpl 112 26 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2794 0 1284 95 0 95 95 0 8 0 ffsino 256 2794 0 1284 95 0 95 95 0 8 0 nchpl 144 3796 0 2093 64 0 64 64 0 8 0 rtmask 32 9 0 9 1 0 1 1 0 8 1 uvmvnodes 80 3184 0 0 65 0 65 65 0 8 0 vnodes 216 3184 0 0 177 0 177 177 0 8 0 namei 1024 13313 0 13313 2 0 2 2 0 8 2 kstatmem 264 70 0 46 2 0 2 2 0 8 0 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 15434 0 15434 8 0 8 8 1 8 8 plimitpl 152 164 0 146 1 0 1 1 0 8 0 sigapl 424 1098 0 1026 9 0 9 9 0 8 0 knotepl 120 36142 0 36093 19 8 11 15 0 8 7 kqueuepl 184 425 0 414 4 0 4 4 0 8 3 pipepl 304 303 0 275 8 0 8 8 0 8 5 fdescpl 448 1056 0 1026 5 0 5 5 0 8 1 filepl 120 6606 0 6366 14 0 14 14 0 8 5 lockfpl 104 347 0 343 2 0 2 2 0 8 1 lockfspl 48 98 0 95 1 0 1 1 0 8 0 sessionpl 144 31 0 23 1 0 1 1 0 8 0 pgrppl 48 50 0 34 1 0 1 1 0 8 0 ucredpl 104 802 0 789 1 0 1 1 0 8 0 zombiepl 144 1030 0 1026 1 0 1 1 0 8 0 processpl 1152 1098 0 1026 6 0 6 6 0 8 0 procpl 664 2011 0 1932 8 0 8 8 0 8 0 sosppl 168 5 0 5 1 0 1 1 0 8 1 sockpl 552 1923 0 1880 13 1 12 13 0 8 8 mcl64k 65536 32 0 31 1 0 1 1 0 8 0 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 8 0 8 1 0 1 1 0 8 1 mcl4k 4096 3250 0 3198 13 0 13 13 0 8 6 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1107 0 1103 3 0 3 3 0 8 2 mtagpl 96 5 0 5 1 0 1 1 0 8 1 mbufpl 256 11049 0 10888 25 7 18 25 0 8 7 bufpl 280 6612 0 384 445 0 445 445 0 8 0 anonpl 24 182423 0 179033 51 0 51 51 0 187 20 amapchunkpl 152 27660 0 27091 29 0 29 29 0 158 7 amappl16 200 3114 0 3084 16 5 11 15 0 8 8 amappl15 192 7 0 7 1 0 1 1 0 8 1 amappl14 184 124 0 114 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 0 1 1 0 8 1 amappl12 168 1754 0 1724 3 0 3 3 0 8 1 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 17 0 17 1 0 1 1 0 8 1 amappl9 144 249 0 249 1 0 1 1 0 8 1 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 185 0 175 1 0 1 1 0 8 0 amappl6 120 229 0 226 1 0 1 1 0 8 0 amappl5 112 137 0 130 1 0 1 1 0 8 0 amappl4 104 296 0 281 1 0 1 1 0 8 0 amappl3 96 4629 0 4518 3 0 3 3 0 8 0 amappl2 88 1335 0 1261 2 0 2 2 0 8 0 amappl1 80 12022 0 11467 14 0 14 14 0 8 0 amappl 88 7490 0 7301 5 0 5 5 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 255 0 255 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 28 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1056 0 1026 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1056 0 1026 1 0 1 1 0 8 0 vmmpekpl 168 10214 0 10174 2 0 2 2 0 8 0 vmmpepl 168 72165 0 70225 93 0 93 93 0 357 7 vmsppl 368 1055 0 1026 4 0 4 4 0 8 1 rwobjpl 40 24255 0 20153 42 0 42 42 0 8 0 pdppl 4096 2118 0 2052 108 42 66 82 0 8 0 pvpl 32 477141 0 467286 125 0 125 125 0 265 34 pmappl 216 1055 0 1026 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 396 0 49 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001597900) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800033937250) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033937250) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003b570d70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067b84038,81,fffffd8007bfb8f0,ffff800033937250) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806414ad38,ffff800033937250) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806414ad38,ffff800033937250) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806414ad38,ffff800033937250) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806414ad38,ffff800033937250) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033937250) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033937250,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033937250,ffff80003b5710d0,ffff80003b571020) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003b5710d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003b5710d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77fd17799ab0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001597900) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff800033937250) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff800033937250) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003b570d70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8067b84038,81,fffffd8007bfb8f0,ffff800033937250) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806414ad38,ffff800033937250) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806414ad38,ffff800033937250) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806414ad38,ffff800033937250) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806414ad38,ffff800033937250) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff800033937250) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff800033937250,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800033937250,ffff80003b5710d0,ffff80003b571020) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003b5710d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003b5710d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77fd17799ab0, count: -12