login: uvm_fault(0xfffffd806c2368b0, 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(ffff800001455480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002ccf62d0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002ccf62d0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d13030) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071d811e0,81,fffffd8007bfb6e8,ffff80002ccf62d0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b861618,ffff80002ccf62d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b861618,ffff80002ccf62d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b861618,ffff80002ccf62d0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b861618,ffff80002ccf62d0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002ccf62d0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002ccf62d0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002ccf62d0,ffff800035d13390,ffff800035d132e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d13390) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d13390) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7129e39f1c90, 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(0xfffffd806c2368b0, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001455480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002ccf62d0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002ccf62d0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d13030) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071d811e0,81,fffffd8007bfb6e8,ffff80002ccf62d0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b861618,ffff80002ccf62d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b861618,ffff80002ccf62d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b861618,ffff80002ccf62d0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b861618,ffff80002ccf62d0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002ccf62d0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002ccf62d0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002ccf62d0,ffff800035d13390,ffff800035d132e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d13390) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d13390) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7129e39f1c90, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800035d12f60 rbx 0x1 rdx 0 rcx 0xffffffff8374fc80 cpu_info_full_primary+0x2c80 rax 0xffffffff837b2fc0 dt_prov_syscall r8 0 r9 0 r10 0x75fed1d0ee89f107 r11 0xcf7a9d45bb311872 r12 0 r13 0 r14 0 r15 0xffff8000014b3d00 rip 0xffffffff8304baf8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff800035d12f30 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=414351 pid=97348 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002ccf62d0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002ccf6568,0xffff80002ccf6810 process=0xffff80002a7ef610 user=0xffff800035d0e000, vmspace=0xfffffd806c2368b0 estcpu=33, cpticks=10, pctcpu=0.7, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 14342 255892 67748 0 2 0 syz-executor 14342 456248 67748 0 3 0x4000080 fsleep syz-executor 39081 431165 85678 0 2 0 syz-executor 39081 139210 85678 0 3 0x4000080 fsleep syz-executor 28749 106265 26036 0 2 0 syz-executor 28749 91366 26036 0 2 0x4000000 syz-executor 28749 499640 26036 0 2 0x4000000 syz-executor 32232 143671 72768 0 2 0 syz-executor 32232 523787 72768 0 3 0x4000080 fsleep syz-executor 32232 415926 72768 0 2 0x4000000 syz-executor 32232 166295 72768 0 2 0x4000000 syz-executor 38996 441002 7296 0 2 0 syz-executor 38996 369089 7296 0 3 0x4000080 fsleep syz-executor 38996 477741 7296 0 2 0x4000000 syz-executor 76196 349333 67030 0 3 0x10 vmmaplk syz-executor 76196 225471 67030 0 3 0x4000090 fsleep syz-executor 76196 381323 67030 0 2 0x4000010 syz-executor 76196 164165 67030 0 2 0x4000010 syz-executor 73613 120508 13073 0 2 0x10 syz-executor 73613 433322 13073 0 3 0x4000090 fsleep syz-executor 73613 154375 13073 0 2 0x4000010 syz-executor 73613 373455 13073 0 2 0x4000010 syz-executor 18211 200506 1 0 3 0x100083 ttyin getty 25968 390594 0 0 3 0x14280 nfsidl nfsio 58739 500698 0 0 3 0x14280 nfsidl nfsio 50761 430351 0 0 3 0x14280 nfsidl nfsio 52962 193963 0 0 3 0x14280 nfsidl nfsio 89833 5165 0 0 3 0x14280 nfsidl nfsio 5861 452183 0 0 3 0x14280 nfsidl nfsio 72307 473026 0 0 3 0x14280 nfsidl nfsio 51340 60242 0 0 3 0x14280 nfsidl nfsio 20360 388541 0 0 3 0x14280 nfsidl nfsio 3823 355990 0 0 3 0x14280 nfsidl nfsio 41117 108462 0 0 3 0x14280 nfsidl nfsio 60315 148648 0 0 3 0x14280 nfsidl nfsio 19402 473217 0 0 3 0x14280 nfsidl nfsio 81079 404686 0 0 3 0x14280 nfsidl nfsio 23203 74432 0 0 3 0x14280 nfsidl nfsio 91061 507267 0 0 3 0x14280 nfsidl nfsio 18542 39021 0 0 3 0x14280 nfsidl nfsio 55829 383694 0 0 3 0x14280 nfsidl nfsio 80406 363136 0 0 3 0x14280 nfsidl nfsio 21533 266224 0 0 3 0x14280 nfsidl nfsio 96417 478386 0 0 3 0x14200 bored sosplice 85678 124470 57831 0 3 0x82 nanoslp syz-executor 71981 430223 0 0 3 0x14200 acct acct 7296 415443 57831 0 3 0x82 nanoslp syz-executor 67030 346393 57831 0 3 0x82 nanoslp syz-executor 13073 359953 57831 0 3 0x82 nanoslp syz-executor 96153 267851 57831 0 3 0x82 nanoslp syz-executor 26036 105276 57831 0 3 0x82 nanoslp syz-executor 67748 64044 57831 0 3 0x82 nanoslp syz-executor 72768 248756 57831 0 3 0x82 nanoslp syz-executor 57831 272034 39475 0 3 0x82 kqread syz-executor 39475 32991 91289 0 3 0x10008a sigsusp ksh 91289 471662 21441 0 3 0x98 kqread sshd-session 21441 70047 24370 0 3 0x92 kqread sshd-session 24370 15425 1 0 3 0x88 kqread sshd 36090 513888 50027 73 3 0x1100090 kqread syslogd 50027 355947 1 0 3 0x100082 sbwait syslogd 57194 157217 1 0 3 0x100080 kqread resolvd 1336 470959 73138 77 3 0x100092 kqread dhcpleased 55648 468914 73138 77 3 0x100092 kqread dhcpleased 73138 156221 1 0 3 0x80 kqread dhcpleased 59969 144146 0 0 3 0x14200 bored smr 1228 229056 0 0 2 0x14200 zerothread 86452 329035 0 0 3 0x14200 aiodoned aiodoned 13543 159112 0 0 3 0x14200 syncer update 61663 316737 0 0 3 0x14200 cleaner cleaner 9110 383356 0 0 2 0x14200 reaper 3529 167138 0 0 3 0x14200 pgdaemon pagedaemon 72990 451516 0 0 3 0x14200 bored viomb 36487 466426 0 0 3 0x40014200 acpi0 acpi0 32207 433340 0 0 3 0x14200 bored softnet0 39062 374496 0 0 3 0x14200 bored systqmp 60683 493588 0 0 3 0x14200 bored systq 99418 134367 0 0 3 0x40014200 tmoslp softclock 302 195452 0 0 3 0x40014200 idle0 1 106198 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 10190 11071K 11236K 166960K 11682 0 pcb 17 14K 16K 166960K 196 0 rtable 208 7K 8K 166960K 466 0 pf 32 13K 17K 166960K 65 0 ifaddr 39 6K 7K 166960K 62 0 ifgroup 54 2K 2K 166960K 78 0 sysctl 4 1K 9K 166960K 10 0 counters 33 17K 18K 166960K 52 0 ioctlops 0 0K 4K 166960K 166 0 iov 0 0K 16K 166960K 23 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1401 88K 89K 166960K 1777 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 26 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 583 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 116K 166960K 555 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 45 0 in_multi 84 6K 7K 166960K 131 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 103 466K 466K 166960K 103 0 exec 0 0K 1K 166960K 577 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 248 161K 167K 166960K 7181 0 UVM aobj 10 2K 2K 166960K 11 0 pinsyscall 39 78K 94K 166960K 1701 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 33 0 NDP 12 0K 1K 166960K 40 0 temp 78 8648K 8747K 166960K 16467 0 kqueue 14 22K 28K 166960K 114 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 145 0 142 3 2 1 3 0 8 0 rtentry 136 133 0 47 4 0 4 4 0 8 0 unpcb 144 390 0 372 2 0 2 2 0 8 1 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpcb 736 296 0 289 10 1 9 10 0 8 8 arp 96 21 0 5 1 0 1 1 0 8 0 ipq 40 6 0 0 1 0 1 1 0 8 0 ipqe 40 40 0 34 1 0 1 1 0 8 0 inpcb 328 635 0 625 13 4 9 10 0 8 7 ip6q 72 4 0 3 2 1 1 1 0 8 0 ip6af 40 8 0 7 2 1 1 1 0 8 0 nd6 112 28 0 9 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 17 0 17 2 1 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfrule 1344 3 0 3 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 563 0 173 29 2 27 29 0 8 0 art_table 40 565 0 173 5 0 5 5 0 8 0 art_node 32 133 0 55 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 8 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2386 0 885 95 0 95 95 0 8 0 ffsino 256 2387 0 885 95 0 95 95 0 8 0 nchpl 144 3207 0 1510 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 0 1 1 0 8 1 vnodes 216 2705 0 0 151 0 151 151 0 8 0 namei 1024 11093 0 11091 3 2 1 2 0 8 0 kstatmem 264 44 0 20 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 12705 0 12705 9 1 8 8 1 8 8 plimitpl 152 165 0 149 1 0 1 1 0 8 0 sigapl 424 896 0 831 8 0 8 8 0 8 0 knotepl 120 25696 0 25643 44 20 24 24 0 8 21 kqueuepl 184 152 0 142 1 0 1 1 0 8 0 pipepl 304 155 0 127 3 0 3 3 0 8 0 fdescpl 448 860 0 830 5 1 4 5 0 8 0 filepl 120 5148 0 4928 13 1 12 12 0 8 3 lockfpl 104 284 0 280 2 1 1 2 0 8 0 lockfspl 48 73 0 70 1 0 1 1 0 8 0 sessionpl 144 25 0 17 1 0 1 1 0 8 0 pgrppl 48 43 0 27 1 0 1 1 0 8 0 ucredpl 104 669 0 656 1 0 1 1 0 8 0 zombiepl 144 1099 0 1098 1 0 1 1 0 8 0 processpl 1152 896 0 831 5 0 5 5 0 8 0 procpl 664 1693 0 1612 9 1 8 8 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 552 1325 0 1294 15 5 10 10 0 8 7 mcl64k 65536 112 0 112 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 3028 0 2978 14 6 8 13 0 8 1 mcl2k 2048 997 0 992 5 3 2 4 0 8 1 mtagpl 96 7 0 7 2 1 1 1 0 8 1 mbufpl 256 9442 0 9257 22 4 18 21 0 8 4 bufpl 280 3293 0 121 227 0 227 227 0 8 0 anonpl 24 149056 0 144879 44 0 44 44 0 187 12 amapchunkpl 152 23343 0 22760 36 3 33 33 0 158 7 amappl16 200 2439 0 2408 18 8 10 15 0 8 7 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 3 0 3 1 1 0 1 0 8 0 amappl13 176 426 0 425 1 0 1 1 0 8 0 amappl12 168 1241 0 1202 3 1 2 3 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 141 0 131 1 0 1 1 0 8 0 amappl9 144 242 0 242 1 1 0 1 0 8 0 amappl8 136 27 0 26 1 0 1 1 0 8 0 amappl7 128 84 0 83 1 0 1 1 0 8 0 amappl6 120 282 0 269 1 0 1 1 0 8 0 amappl5 112 75 0 67 1 0 1 1 0 8 0 amappl4 104 396 0 371 1 0 1 1 0 8 0 amappl3 96 3882 0 3784 3 0 3 3 0 8 0 amappl2 88 992 0 921 2 0 2 2 0 8 0 amappl1 80 11310 0 10758 15 1 14 14 0 8 1 amappl 88 6365 0 6188 5 0 5 5 0 92 0 uvmvnodes 80 2704 0 0 56 0 56 56 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 10 0 1 1 0 1 1 0 8 0 uaddrrnd 24 860 0 830 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 860 0 830 1 0 1 1 0 8 0 vmmpekpl 168 8837 0 8803 2 0 2 2 0 8 0 vmmpepl 168 61639 0 59771 91 0 91 91 0 357 8 vmsppl 368 859 0 830 4 1 3 4 0 8 0 rwobjpl 40 21763 0 18178 37 0 37 37 0 8 0 pdppl 4096 1727 0 1660 99 32 67 81 0 8 0 pvpl 32 386539 0 377198 118 5 113 113 0 265 28 pmappl 216 859 0 830 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 396 0 57 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001455480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002ccf62d0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002ccf62d0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d13030) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071d811e0,81,fffffd8007bfb6e8,ffff80002ccf62d0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b861618,ffff80002ccf62d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b861618,ffff80002ccf62d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b861618,ffff80002ccf62d0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b861618,ffff80002ccf62d0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002ccf62d0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002ccf62d0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002ccf62d0,ffff800035d13390,ffff800035d132e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d13390) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d13390) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7129e39f1c90, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001455480) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80002ccf62d0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002ccf62d0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800035d13030) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8071d811e0,81,fffffd8007bfb6e8,ffff80002ccf62d0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b861618,ffff80002ccf62d0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b861618,ffff80002ccf62d0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806b861618,ffff80002ccf62d0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b861618,ffff80002ccf62d0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002ccf62d0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002ccf62d0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002ccf62d0,ffff800035d13390,ffff800035d132e0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800035d13390) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035d13390) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7129e39f1c90, count: -12