uvm_fault(0xfffffd806c23c180, 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(ffff800001517780) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c94a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c94a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003390d900) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8065b90438,81,fffffd8007bfb9c0,ffff80003c94a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8066f2f968,ffff80003c94a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8066f2f968,ffff80003c94a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8066f2f968,ffff80003c94a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8066f2f968,ffff80003c94a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c94a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c94a020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c94a020,ffff80003390dc60,ffff80003390dbb0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003390dc60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003390dc60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7639a358eda0, 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(0xfffffd806c23c180, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001517780) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c94a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c94a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003390d900) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8065b90438,81,fffffd8007bfb9c0,ffff80003c94a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8066f2f968,ffff80003c94a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8066f2f968,ffff80003c94a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8066f2f968,ffff80003c94a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8066f2f968,ffff80003c94a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c94a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c94a020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c94a020,ffff80003390dc60,ffff80003390dbb0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003390dc60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003390dc60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7639a358eda0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003390d830 rbx 0x1 rdx 0 rcx 0xffff80003c94a020 rax 0xffff80003c94a020 r8 0xffffffffffffffff r9 0 r10 0x3a485edd8c4b3020 r11 0xcfc2466f01ce8aa0 r12 0 r13 0 r14 0 r15 0xffff8000014ad500 rip 0xffffffff82199078 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003390d800 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=36523 pid=40858 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c94a020 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7cc2b0,0xffff80002a7ccfb8 process=0xffff8000ffff8d98 user=0xffff800033908000, vmspace=0xfffffd806c23c180 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 51179 51382 32221 0 2 0 syz-executor 58181 382524 64815 0 2 0 syz-executor 58181 311327 64815 0 2 0x4000000 syz-executor 90848 417927 99829 0 2 0 syz-executor 90848 121031 99829 0 3 0x4000080 fsleep syz-executor 36719 367534 91109 0 2 0 syz-executor 36719 384522 91109 0 3 0x4000080 kqpoll syz-executor 36719 131630 91109 0 3 0x4000080 fsleep syz-executor 75149 97514 74208 0 3 0x80 nanoslp syz-executor 75149 337102 74208 0 3 0x4000080 fsleep syz-executor 75149 408994 74208 0 3 0x4000080 fsleep syz-executor 97231 142857 66051 60929 3 0x90 nanoslp syz-executor 97231 300885 66051 60929 3 0x4000090 ttyin syz-executor 97231 335416 66051 60929 3 0x4000090 fsleep syz-executor 1469 442495 0 0 3 0x14200 bored sosplice 14029 194920 34658 0 3 0x82 nanoslp syz-executor 32221 306977 34658 0 3 0x82 nanoslp syz-executor 91109 443871 34658 0 3 0x82 nanoslp syz-executor 74208 237147 34658 0 3 0x82 nanoslp syz-executor 66051 193232 34658 0 3 0x82 nanoslp syz-executor 98790 405894 34658 0 3 0x82 nanoslp syz-executor 99829 112330 34658 0 3 0x82 nanoslp syz-executor 64815 177675 34658 0 3 0x82 nanoslp syz-executor 34658 308317 79931 0 3 0x82 kqread syz-executor 79931 303926 46569 0 3 0x10008a sigsusp ksh 46569 123056 28193 0 3 0x98 kqread sshd-session 28193 103333 48808 0 3 0x92 kqread sshd-session 2591 446102 1 0 3 0x100083 ttyin getty 48808 270634 1 0 3 0x88 kqread sshd 12993 482074 36828 73 3 0x1100090 kqread syslogd 36828 382918 1 0 3 0x100082 sbwait syslogd 58989 161302 1 0 3 0x100080 kqread resolvd 48454 420974 76251 77 3 0x100092 kqread dhcpleased 36071 507860 76251 77 3 0x100092 kqread dhcpleased 76251 213800 1 0 3 0x80 kqread dhcpleased 27952 482871 0 0 3 0x14200 bored smr 58799 13646 0 0 2 0x14200 zerothread 45098 473217 0 0 3 0x14200 aiodoned aiodoned 13165 205007 0 0 3 0x14200 syncer update 65187 460621 0 0 3 0x14200 cleaner cleaner 94500 82057 0 0 3 0x14200 reaper reaper 49416 397954 0 0 3 0x14200 pgdaemon pagedaemon 46423 345249 0 0 3 0x14200 bored viomb 55330 510308 0 0 3 0x40014200 acpi0 acpi0 76428 232923 0 0 3 0x14200 bored softnet0 86341 391094 0 0 3 0x14200 smrbar systqmp 99452 350395 0 0 3 0x14200 bored systq 59040 229528 0 0 3 0x40014200 tmoslp softclock 7681 389002 0 0 3 0x40014200 idle0 1 324032 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 10197 11125K 12222K 166960K 11744 0 pcb 17 14K 15K 166960K 76 0 rtable 257 9K 9K 166960K 404 0 pf 32 13K 14K 166960K 46 0 ifaddr 42 7K 8K 166960K 54 0 ifgroup 50 2K 2K 166960K 70 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 173 0 ioctlops 0 0K 4K 166960K 262 0 iov 0 0K 16K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1405 88K 89K 166960K 1603 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 6 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 297 0 sigio 0 0K 0K 166960K 8 0 proc 60 59K 124K 166960K 487 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 23 0 in_multi 99 7K 7K 166960K 101 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 371 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 65 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 231 151K 164K 166960K 4431 0 UVM aobj 7 2K 2K 166960K 7 0 pinsyscall 39 78K 96K 166960K 1375 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 11 0K 2K 166960K 34 0 temp 41 8635K 8699K 166960K 13150 0 kqueue 14 22K 30K 166960K 59 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 112 0 109 3 0 3 3 0 8 2 rtentry 136 116 0 4 4 0 4 4 0 8 0 unpcb 144 142 0 124 2 0 2 2 0 8 1 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 51 0 46 1 0 1 1 0 8 0 arp 96 18 0 0 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 316 0 307 7 0 7 7 0 8 6 ip6q 72 4 0 0 1 0 1 1 0 8 0 ip6af 40 4 0 0 1 0 1 1 0 8 0 nd6 112 26 0 1 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 139 0 139 1 0 1 1 0 8 1 pppxif 1384 130 0 130 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1344 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 483 0 15 30 0 30 30 0 8 0 art_table 40 485 0 15 5 0 5 5 0 8 0 art_node 32 116 0 13 1 0 1 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1907 0 404 95 0 95 95 0 8 0 ffsino 256 1907 0 404 95 0 95 95 0 8 0 nchpl 144 2316 0 627 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2118 0 0 118 0 118 118 0 8 0 namei 1024 7026 0 7026 2 0 2 2 0 8 2 kstatmem 264 34 0 12 2 0 2 2 0 8 0 scxspl 216 7058 0 7058 3 0 3 3 1 8 3 plimitpl 152 63 0 46 1 0 1 1 0 8 0 sigapl 424 587 0 543 6 0 6 6 0 8 1 knotepl 120 9516 0 9467 9 0 9 9 0 8 7 kqueuepl 184 82 0 69 1 0 1 1 0 8 0 pipepl 304 130 0 99 3 0 3 3 0 8 0 fdescpl 448 573 0 543 5 0 5 5 0 8 1 filepl 120 2830 0 2596 11 0 11 11 0 8 3 lockfpl 104 77 0 74 1 0 1 1 0 8 0 lockfspl 48 35 0 32 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 482 0 469 1 0 1 1 0 8 0 zombiepl 144 545 0 543 1 0 1 1 0 8 0 processpl 1152 587 0 543 4 0 4 4 0 8 0 procpl 664 831 0 779 6 0 6 6 0 8 1 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 552 579 0 549 12 1 11 12 0 8 8 mcl64k 65536 17 0 17 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2623 0 2574 14 0 14 14 0 8 7 mcl2k 2048 401 0 395 2 0 2 2 0 8 0 mtagpl 96 5 0 4 1 0 1 1 0 8 0 mbufpl 256 5691 0 5529 12 0 12 12 0 8 0 bufpl 280 2553 0 119 174 0 174 174 0 8 0 anonpl 24 119982 0 116929 32 0 32 32 0 187 11 amapchunkpl 152 13329 0 12855 26 0 26 26 0 158 6 amappl16 200 2233 0 2207 5 0 5 5 0 8 3 amappl15 192 2 0 2 1 0 1 1 0 8 1 amappl14 184 5 0 5 1 0 1 1 0 8 1 amappl13 176 423 0 422 1 0 1 1 0 8 0 amappl12 168 912 0 874 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 0 1 1 0 8 1 amappl10 152 42 0 32 1 0 1 1 0 8 0 amappl9 144 247 0 246 1 0 1 1 0 8 0 amappl8 136 84 0 83 1 0 1 1 0 8 0 amappl7 128 97 0 96 1 0 1 1 0 8 0 amappl6 120 266 0 255 1 0 1 1 0 8 0 amappl5 112 72 0 64 1 0 1 1 0 8 0 amappl4 104 384 0 359 1 0 1 1 0 8 0 amappl3 96 2139 0 2051 3 0 3 3 0 8 0 amappl2 88 685 0 617 2 0 2 2 0 8 0 amappl1 80 9545 0 9001 13 0 13 13 0 8 1 amappl 88 3696 0 3533 5 0 5 5 0 92 0 uvmvnodes 80 2118 0 0 44 0 44 44 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 573 0 543 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 573 0 543 1 0 1 1 0 8 0 vmmpekpl 168 6183 0 6147 2 0 2 2 0 8 0 vmmpepl 168 44068 0 42256 81 0 81 81 0 357 1 vmsppl 368 572 0 543 4 0 4 4 0 8 1 rwobjpl 40 17059 0 14103 30 0 30 30 0 8 0 pdppl 4096 1153 0 1086 97 30 67 83 0 8 0 pvpl 32 281967 0 273796 98 0 98 98 0 265 16 pmappl 216 572 0 543 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 368 0 30 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001517780) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c94a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c94a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003390d900) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8065b90438,81,fffffd8007bfb9c0,ffff80003c94a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8066f2f968,ffff80003c94a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8066f2f968,ffff80003c94a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8066f2f968,ffff80003c94a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8066f2f968,ffff80003c94a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c94a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c94a020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c94a020,ffff80003390dc60,ffff80003390dbb0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003390dc60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003390dc60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7639a358eda0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001517780) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c94a020) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c94a020) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80003390d900) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8065b90438,81,fffffd8007bfb9c0,ffff80003c94a020) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8066f2f968,ffff80003c94a020) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8066f2f968,ffff80003c94a020) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8066f2f968,ffff80003c94a020) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8066f2f968,ffff80003c94a020) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c94a020) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c94a020,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c94a020,ffff80003390dc60,ffff80003390dbb0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003390dc60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003390dc60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7639a358eda0, count: -12