uvm_fault(0xfffffd806ccf75d0, 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(ffff80000158ed00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,2,2000,ffff8000318c0018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,2,2000,ffff8000318c0018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c919b70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806d76a298,2,fffffd8007ffd4e0,ffff8000318c0018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cfde108,ffff8000318c0018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cfde108,ffff8000318c0018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cfde108,ffff8000318c0018) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cfde108,ffff8000318c0018) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff8000318c0018) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff8000318c0018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000318c0018,ffff80003c919ed0,ffff80003c919e20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c919ed0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c919ed0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fca1da5e180, 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(0xfffffd806ccf75d0, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000158ed00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,2,2000,ffff8000318c0018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,2,2000,ffff8000318c0018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c919b70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806d76a298,2,fffffd8007ffd4e0,ffff8000318c0018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cfde108,ffff8000318c0018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cfde108,ffff8000318c0018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cfde108,ffff8000318c0018) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cfde108,ffff8000318c0018) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff8000318c0018) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff8000318c0018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000318c0018,ffff80003c919ed0,ffff80003c919e20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c919ed0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c919ed0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fca1da5e180, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c919aa0 rbx 0x1 rdx 0 rcx 0xffff8000318c0018 rax 0xffffffff8382f598 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0x42ebc64fffdcf817 r11 0x8d18fc51d77e07a4 r12 0 r13 0 r14 0 r15 0xffff80000160fb00 rip 0xffffffff82efc1c8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c919a70 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=98614 pid=38539 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff8000318c0018 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000318c1240,0xffff80003a8f3a28 process=0xffff8000ffff9f98 user=0xffff80003c914000, vmspace=0xfffffd806ccf75d0 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 34901 464068 8497 0 2 0 syz-executor 34901 445975 8497 0 2 0x4000000 syz-executor 43728 494378 39121 0 3 0x80 nanoslp syz-executor 43728 380384 39121 0 3 0x4000080 msgwait syz-executor 43728 275216 39121 0 3 0x4000080 fsleep syz-executor 60292 76923 8250 0 3 0x80 nanoslp syz-executor 60292 448418 8250 0 3 0x4000080 sbwait syz-executor 60292 114528 8250 0 3 0x4000080 fsleep syz-executor 39121 407277 65330 0 3 0x82 nanoslp syz-executor 92693 347273 65330 0 3 0x82 nanoslp syz-executor 32819 127451 65330 0 3 0x82 nanoslp syz-executor 43115 156676 65330 0 3 0x82 wait syz-executor 88040 480870 65330 0 3 0x82 nanoslp syz-executor 8497 314244 65330 0 3 0x82 nanoslp syz-executor 8250 448658 65330 0 3 0x82 nanoslp syz-executor 34916 396305 65330 0 3 0x82 nanoslp syz-executor 65330 220546 36351 0 3 0x82 kqread syz-executor 36351 318162 82183 0 3 0x10008a sigsusp ksh 82183 267228 3794 0 3 0x98 kqread sshd-session 3794 93440 67964 0 3 0x92 kqread sshd-session 24693 252780 1 0 3 0x100083 ttyin getty 67964 107689 1 0 3 0x88 kqread sshd 19796 196415 69867 73 3 0x1100090 kqread syslogd 69867 282433 1 0 3 0x100082 sbwait syslogd 36318 171864 1 0 3 0x100080 kqread resolvd 93094 333508 86805 77 3 0x100092 kqread dhcpleased 55451 515561 86805 77 3 0x100092 kqread dhcpleased 86805 151392 1 0 3 0x80 kqread dhcpleased 26212 153540 0 0 3 0x14200 bored smr 32296 149980 0 0 2 0x14200 zerothread 81461 89370 0 0 3 0x14200 aiodoned aiodoned 25052 194640 0 0 3 0x14200 syncer update 23987 87386 0 0 3 0x14200 cleaner cleaner 77904 405268 0 0 3 0x14200 reaper reaper 28539 484518 0 0 3 0x14200 pgdaemon pagedaemon 86796 32810 0 0 3 0x14200 bored viomb 52683 337658 0 0 3 0x40014200 acpi0 acpi0 85275 81630 0 0 3 0x14200 bored softnet0 75142 253510 0 0 3 0x14200 bored systqmp 26941 389223 0 0 3 0x14200 bored systq 73264 433293 0 0 3 0x40014200 tmoslp softclock 69944 132144 0 0 3 0x40014200 idle0 1 76947 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 11045 12122K 12421K 166960K 12454 0 pcb 24 14K 16K 166960K 151 0 rtable 155 4K 7K 166960K 429 0 pf 31 13K 13K 166960K 59 0 ifaddr 34 5K 8K 166960K 67 0 ifgroup 44 1K 2K 166960K 81 0 sysctl 4 1K 9K 166960K 12 0 counters 33 17K 18K 166960K 46 0 ioctlops 0 0K 4K 166960K 70 0 iov 1 0K 12K 166960K 13 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1297 82K 82K 166960K 1591 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 376 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 124K 166960K 581 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 1 0K 0K 166960K 23 0 in_multi 69 4K 7K 166960K 136 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 405 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 235 159K 176K 166960K 4785 0 UVM aobj 14 8K 8K 166960K 15 0 pinsyscall 39 78K 96K 166960K 1506 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 19 0 NDP 13 0K 2K 166960K 42 0 temp 40 9067K 9131K 166960K 19524 0 kqueue 14 22K 26K 166960K 60 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 51 0 48 1 0 1 1 0 8 0 rtentry 136 137 0 69 4 0 4 4 0 8 0 unpcb 144 222 0 205 2 0 2 2 0 8 1 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 130 0 125 7 0 7 7 0 8 6 arp 96 22 0 10 1 0 1 1 0 8 0 inpcb 328 361 0 342 12 3 9 12 0 8 7 nd6 112 31 0 15 1 0 1 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 9 0 6 1 0 1 1 0 8 0 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1360 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 582 0 267 29 4 25 29 0 8 5 art_table 40 583 0 267 5 0 5 5 0 8 1 art_node 32 137 0 76 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 112 13 0 5 1 0 1 1 0 8 0 shmpl 112 9 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1994 0 535 92 0 92 92 0 8 0 ffsino 256 1994 0 535 92 0 92 92 0 8 0 nchpl 144 2479 0 775 64 0 64 64 0 8 0 vnodes 216 2191 0 0 122 0 122 122 0 8 0 namei 1024 7853 0 7853 2 0 2 2 0 8 2 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 44 0 22 2 0 2 2 0 8 0 scxspl 216 10470 0 10470 8 0 8 8 1 8 8 plimitpl 152 67 0 50 1 0 1 1 0 8 0 sigapl 424 671 0 628 8 0 8 8 0 8 3 knotepl 120 11817 0 11519 17 7 10 17 0 8 0 kqueuepl 184 87 0 77 1 0 1 1 0 8 0 pipepl 304 144 0 117 3 0 3 3 0 8 0 fdescpl 448 638 0 608 5 0 5 5 0 8 1 filepl 120 2995 0 2763 12 0 12 12 0 8 4 lockfpl 104 85 0 83 1 0 1 1 0 8 0 lockfspl 48 43 0 41 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 39 0 23 1 0 1 1 0 8 0 ucredpl 104 439 0 427 1 0 1 1 0 8 0 zombiepl 144 633 0 628 1 0 1 1 0 8 0 processpl 1152 671 0 628 5 0 5 5 0 8 0 procpl 664 991 0 943 7 0 7 7 0 8 2 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 552 744 0 705 15 5 10 15 0 8 6 mcl64k 65536 46 0 46 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 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 2754 0 2701 16 1 15 16 0 8 8 mcl2k 2048 357 0 356 2 0 2 2 0 8 1 mtagpl 96 8 0 6 1 0 1 1 0 8 0 mbufpl 256 6517 0 6409 15 0 15 15 0 8 5 bufpl 280 3825 0 102 266 0 266 266 0 8 0 anonpl 24 126581 0 123359 45 0 45 45 0 187 22 amapchunkpl 152 14452 0 13944 26 0 26 26 0 158 5 amappl16 200 2569 0 2543 15 4 11 14 0 8 8 amappl15 192 7 0 7 1 0 1 1 0 8 1 amappl14 184 437 0 436 1 0 1 1 0 8 0 amappl13 176 115 0 105 1 0 1 1 0 8 0 amappl12 168 916 0 887 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 0 1 1 0 8 1 amappl10 152 68 0 58 1 0 1 1 0 8 0 amappl9 144 314 0 314 1 0 1 1 0 8 1 amappl8 136 109 0 107 1 0 1 1 0 8 0 amappl7 128 147 0 136 1 0 1 1 0 8 0 amappl6 120 173 0 172 1 0 1 1 0 8 0 amappl5 112 93 0 84 1 0 1 1 0 8 0 amappl4 104 269 0 254 1 0 1 1 0 8 0 amappl3 96 2725 0 2608 3 0 3 3 0 8 0 amappl2 88 535 0 482 2 0 2 2 0 8 0 amappl1 80 10450 0 9890 16 0 16 16 0 8 3 amappl 88 4028 0 3856 4 0 4 4 0 92 0 uvmvnodes 80 104 0 0 3 0 3 3 0 8 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 7 0 7 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 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 638 0 608 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 638 0 608 1 0 1 1 0 8 0 vmmpekpl 168 6946 0 6910 2 0 2 2 0 8 0 vmmpepl 168 48869 0 47032 92 0 92 92 0 357 11 vmsppl 368 637 0 608 4 0 4 4 0 8 1 rwobjpl 40 16704 0 15725 12 0 12 12 0 8 0 pdppl 4096 1288 0 1219 108 37 71 82 0 8 2 pvpl 32 313577 0 304501 115 0 115 115 0 265 30 pmappl 216 640 0 608 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 385 0 42 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000158ed00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,2,2000,ffff8000318c0018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,2,2000,ffff8000318c0018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c919b70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806d76a298,2,fffffd8007ffd4e0,ffff8000318c0018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cfde108,ffff8000318c0018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cfde108,ffff8000318c0018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cfde108,ffff8000318c0018) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cfde108,ffff8000318c0018) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff8000318c0018) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff8000318c0018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000318c0018,ffff80003c919ed0,ffff80003c919e20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c919ed0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c919ed0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fca1da5e180, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000158ed00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,2,2000,ffff8000318c0018) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,2,2000,ffff8000318c0018) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003c919b70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806d76a298,2,fffffd8007ffd4e0,ffff8000318c0018) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806cfde108,ffff8000318c0018) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806cfde108,ffff8000318c0018) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806cfde108,ffff8000318c0018) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffffd806cfde108,ffff8000318c0018) at closef+0x190 sys/kern/kern_descrip.c:1265 fdfree(ffff8000318c0018) at fdfree+0x115 sys/kern/kern_descrip.c:1196 exit1(ffff8000318c0018,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000318c0018,ffff80003c919ed0,ffff80003c919e20) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c919ed0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c919ed0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fca1da5e180, count: -12