uvm_fault(0xfffffd806ba84740, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 TID PID UID PRFLAGS PFLAGS CPU COMMAND dt_ioctl_record_stop(ffff80000149cc80) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a862a70) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a862a70) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f526e20) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f2336d8,81,fffffd8007bfb680,ffff80002a862a70) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b945b58,ffff80002a862a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b945b58,ffff80002a862a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b945b58,ffff80002a862a70) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b945b58,ffff80002a862a70) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a862a70) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a862a70,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a862a70,ffff80002f527190,ffff80002f5270e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f527190) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f527190) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d78346339d0, 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(0xfffffd806ba84740, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000149cc80) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a862a70) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a862a70) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f526e20) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f2336d8,81,fffffd8007bfb680,ffff80002a862a70) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b945b58,ffff80002a862a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b945b58,ffff80002a862a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b945b58,ffff80002a862a70) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b945b58,ffff80002a862a70) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a862a70) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a862a70,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a862a70,ffff80002f527190,ffff80002f5270e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f527190) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f527190) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d78346339d0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002f526d50 rbx 0xffffffff81a6e1a0 dtclose rdx 0 rcx 0xffff80002a862a70 rax 0xffff80002a862a70 r8 0xef097f28 r9 0 r10 0xf29ab852ba7997eb r11 0xd855701d20884d6 r12 0 r13 0 r14 0 r15 0xffff8000014ffa00 rip 0xffffffff81a6e520 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002f526d20 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb> show proc PROC (syz-executor) tid=21654 pid=73800 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a862a70 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a862550,0xffff80002a862d10 process=0xffff80002a855b50 user=0xffff80002f522000, vmspace=0xfffffd806ba84740 estcpu=30, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 73924 166310 97167 0 2 0 syz-executor 73924 24025 97167 0 3 0x4000080 fsleep syz-executor 85701 478952 76679 0 2 0 syz-executor 85701 466521 76679 0 2 0x4000000 syz-executor 6997 335811 0 0 3 0x14280 nfsidl nfsio 37609 200713 0 0 3 0x14280 nfsidl nfsio 1677 259469 0 0 3 0x14280 nfsidl nfsio 12036 458205 0 0 3 0x14280 nfsidl nfsio 60470 495237 0 0 3 0x14280 nfsidl nfsio 87859 494756 0 0 3 0x14280 nfsidl nfsio 94378 98737 0 0 3 0x14280 nfsidl nfsio 8337 22336 0 0 3 0x14280 nfsidl nfsio 45789 168900 0 0 3 0x14280 nfsidl nfsio 74486 65194 0 0 3 0x14280 nfsidl nfsio 19901 124080 0 0 3 0x14280 nfsidl nfsio 5504 211153 0 0 3 0x14280 nfsidl nfsio 21278 299558 0 0 3 0x14280 nfsidl nfsio 15410 33459 0 0 3 0x14280 nfsidl nfsio 4226 94820 0 0 3 0x14280 nfsidl nfsio 72840 460281 0 0 3 0x14280 nfsidl nfsio 35548 109638 0 0 3 0x14280 nfsidl nfsio 12283 173344 0 0 3 0x14280 nfsidl nfsio 6685 397241 0 0 3 0x14280 nfsidl nfsio 79733 384055 0 0 3 0x14280 nfsidl nfsio 90424 329728 12223 60928 2 0x10 syz-executor 90424 44815 12223 60928 3 0x4000090 fsleep syz-executor 90424 471776 12223 60928 3 0x4000090 fsleep syz-executor 75889 517156 54214 0 3 0x82 nanoslp syz-executor 97167 346855 54214 0 3 0x82 nanoslp syz-executor 91021 140271 0 0 3 0x14200 acct acct 18630 79604 0 0 3 0x14200 bored sosplice 87276 174320 54214 0 3 0x82 wait syz-executor 52462 206442 54214 0 2 0x2 syz-executor 91380 448187 54214 0 2 0x2 syz-executor 76679 118294 54214 0 3 0x82 nanoslp syz-executor 12223 248459 54214 0 3 0x82 nanoslp syz-executor 30664 226875 54214 0 2 0x10000082 syz-executor 54214 80664 47926 0 3 0x82 kqread syz-executor 47926 374298 43291 0 3 0x10008a sigsusp ksh 43291 202987 64995 0 3 0x98 kqread sshd-session 64995 394179 11869 0 3 0x92 kqread sshd-session 51209 408696 1 0 3 0x100083 ttyin getty 11869 355568 1 0 3 0x88 kqread sshd 63332 163731 40443 73 3 0x1100090 kqread syslogd 40443 92234 1 0 3 0x100082 sbwait syslogd 97781 176862 1 0 3 0x100080 kqread resolvd 63642 373143 24365 77 3 0x100092 kqread dhcpleased 71357 242207 24365 77 3 0x100092 kqread dhcpleased 24365 360396 1 0 3 0x80 kqread dhcpleased 25808 360103 0 0 3 0x14200 bored smr 71166 304692 0 0 2 0x14200 zerothread 51857 125413 0 0 3 0x14200 aiodoned aiodoned 75064 233492 0 0 3 0x14200 syncer update 2512 315941 0 0 3 0x14200 cleaner cleaner 34575 234257 0 0 3 0x14200 reaper reaper 2771 250980 0 0 3 0x14200 pgdaemon pagedaemon 54090 293603 0 0 3 0x14200 bored viomb 62047 218437 0 0 3 0x40014200 acpi0 acpi0 73801 89099 0 0 3 0x14200 bored softnet7 3509 424039 0 0 3 0x14200 bored softnet6 38332 288964 0 0 3 0x14200 bored softnet5 86423 225471 0 0 3 0x14200 bored softnet4 48608 361383 0 0 3 0x14200 bored softnet3 59179 276857 0 0 3 0x14200 bored softnet2 27644 385178 0 0 3 0x14200 bored softnet1 87603 380477 0 0 3 0x14200 bored softnet0 46974 138853 0 0 3 0x14200 smrbar systqmp 67186 21675 0 0 3 0x14200 bored systq 10180 7163 0 0 2 0x40014200 softclock 57734 332018 0 0 3 0x40014200 idle0 1 97035 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10226 11379K 11521K 166960K 12188 0 pcb 19 14K 16K 166960K 195 0 rtable 193 5K 6K 166960K 336 0 pf 32 13K 17K 166960K 203 0 ifaddr 42 7K 8K 166960K 73 0 ifgroup 50 2K 2K 166960K 98 0 sysctl 3 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 52 0 ioctlops 0 0K 4K 166960K 123 0 iov 0 0K 20K 166960K 58 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1400 88K 88K 166960K 1843 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 12 0K 0K 166960K 80 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 93K 166960K 498 0 sigio 0 0K 0K 166960K 6 0 proc 63 67K 116K 166960K 576 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 52 0 in_multi 99 7K 7K 166960K 139 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 410 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 211 152K 160K 166960K 5846 0 UVM aobj 17 2K 2K 166960K 18 0 pinsyscall 36 72K 94K 166960K 1582 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 41 0 NDP 11 0K 2K 166960K 45 0 temp 45 8668K 8746K 166960K 18099 0 kqueue 13 20K 34K 166960K 93 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 61 0 58 1 0 1 1 0 8 0 rtentry 136 131 0 44 4 0 4 4 0 8 0 unpcb 144 414 0 395 6 0 6 6 0 8 5 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 192 0 186 7 0 7 7 0 8 6 arp 88 14 0 3 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 98 0 0 1 0 1 1 0 8 0 inpcb 328 669 0 656 10 0 10 10 0 8 8 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 104 25 0 7 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1072 12 0 12 1 0 1 1 0 8 1 pppxif 1384 6 0 6 1 0 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 0 1 0 1 1 0 8 0 pfstate 384 2 0 0 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 0 1 1 0 8 1 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 655 0 218 30 0 30 30 0 8 2 art_table 40 656 0 218 5 0 5 5 0 8 0 art_node 32 131 0 53 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 76 0 66 1 0 1 1 0 8 0 shmpl 112 15 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2287 0 781 95 0 95 95 0 8 0 ffsino 256 2287 0 781 95 0 95 95 0 8 0 nchpl 144 2980 0 1291 63 0 63 63 0 8 0 uvmvnodes 80 2641 0 0 54 0 54 54 0 8 0 vnodes 216 2641 0 0 147 0 147 147 0 8 0 namei 1024 10309 0 10307 2 0 2 2 0 8 1 kstatmem 264 50 0 28 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 9878 0 9878 8 0 8 8 1 8 8 plimitpl 152 273 0 257 1 0 1 1 0 8 0 sigapl 424 800 0 730 9 0 9 9 0 8 0 knotepl 120 17177 0 17130 20 10 10 15 0 8 7 kqueuepl 184 180 0 171 3 0 3 3 0 8 2 pipepl 304 140 0 113 3 0 3 3 0 8 0 fdescpl 448 757 0 730 5 0 5 5 0 8 1 filepl 120 4737 0 4519 13 0 13 13 0 8 5 lockfpl 104 272 0 270 2 0 2 2 0 8 1 lockfspl 48 129 0 127 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 44 0 28 1 0 1 1 0 8 0 ucredpl 104 827 0 814 1 0 1 1 0 8 0 zombiepl 144 733 0 730 1 0 1 1 0 8 0 processpl 1168 800 0 730 6 0 6 6 0 8 0 procpl 656 1303 0 1229 7 0 7 7 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 552 1151 0 1116 12 1 11 12 0 8 8 mcl64k 65536 19 0 19 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 2864 0 2812 15 0 15 15 0 8 8 mcl2k 2048 693 0 690 2 0 2 2 0 8 1 mtagpl 96 18 0 7 1 0 1 1 0 8 0 mbufpl 256 7845 0 7564 19 0 19 19 0 8 0 bufpl 280 3631 0 117 251 0 251 251 0 8 0 anonpl 24 140542 0 135497 45 0 45 45 0 187 13 amapchunkpl 152 18469 0 17917 25 0 25 25 0 158 2 amappl16 200 2674 0 2646 16 6 10 15 0 8 7 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 109 0 99 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 0 1 1 0 8 1 amappl12 168 1409 0 1382 3 0 3 3 0 8 1 amappl11 160 43 0 32 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 0 1 1 0 8 1 amappl9 144 247 0 247 1 0 1 1 0 8 1 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 119 0 109 1 0 1 1 0 8 0 amappl6 120 199 0 195 1 0 1 1 0 8 0 amappl5 112 132 0 126 1 0 1 1 0 8 0 amappl4 104 274 0 258 1 0 1 1 0 8 0 amappl3 96 3468 0 3371 4 0 4 4 0 8 0 amappl2 88 656 0 601 2 0 2 2 0 8 0 amappl1 80 9840 0 9306 13 0 13 13 0 8 0 amappl 88 5120 0 4972 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 254 0 254 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 17 0 1 1 0 1 1 0 8 0 uaddrrnd 24 757 0 730 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 757 0 730 1 0 1 1 0 8 0 vmmpekpl 168 7154 0 7119 2 0 2 2 0 8 0 vmmpepl 168 53834 0 52117 94 0 94 94 0 357 10 vmsppl 368 756 0 730 4 0 4 4 0 8 1 rwobjpl 40 19317 0 15835 36 0 36 36 0 8 0 pdppl 4096 1520 0 1460 96 30 66 80 0 8 6 pvpl 32 350348 0 340137 117 0 117 117 0 265 31 pmappl 216 756 0 730 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 387 0 30 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000149cc80) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a862a70) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a862a70) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f526e20) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f2336d8,81,fffffd8007bfb680,ffff80002a862a70) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b945b58,ffff80002a862a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b945b58,ffff80002a862a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b945b58,ffff80002a862a70) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b945b58,ffff80002a862a70) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a862a70) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a862a70,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a862a70,ffff80002f527190,ffff80002f5270e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f527190) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f527190) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d78346339d0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000149cc80) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff80002a862a70) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a862a70) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002f526e20) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805f2336d8,81,fffffd8007bfb680,ffff80002a862a70) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b945b58,ffff80002a862a70) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b945b58,ffff80002a862a70) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b945b58,ffff80002a862a70) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b945b58,ffff80002a862a70) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a862a70) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a862a70,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a862a70,ffff80002f527190,ffff80002f5270e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f527190) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f527190) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d78346339d0, count: -12