login: uvm_fault(0xfffffd806ba4da20, 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(ffff8000014bab80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003614ea88) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003614ea88) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800036140e70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a07bc08,81,fffffd8007bfb680,ffff80003614ea88) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a585b50,ffff80003614ea88) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a585b50,ffff80003614ea88) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a585b50,ffff80003614ea88) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806a585b50,ffff80003614ea88) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003614ea88) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003614ea88,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003614ea88,ffff8000361411d0,ffff800036141120) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000361411d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000361411d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ce04d786250, 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(0xfffffd806ba4da20, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff8000014bab80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003614ea88) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003614ea88) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800036140e70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a07bc08,81,fffffd8007bfb680,ffff80003614ea88) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a585b50,ffff80003614ea88) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a585b50,ffff80003614ea88) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a585b50,ffff80003614ea88) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806a585b50,ffff80003614ea88) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003614ea88) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003614ea88,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003614ea88,ffff8000361411d0,ffff800036141120) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000361411d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000361411d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ce04d786250, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800036140da0 rbx 0x1 rdx 0 rcx 0xffff80003614ea88 rax 0xffffffff837f6f68 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0x974a93b192ac6884 r11 0x39447498276375e0 r12 0 r13 0 r14 0 r15 0xffff800001491b00 rip 0xffffffff81aae3d8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff800036140d70 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=447612 pid=81713 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003614ea88 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7f5248,0xffffffff83835970 process=0xffff8000ffffa418 user=0xffff80003613c000, vmspace=0xfffffd806ba4da20 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 18383 42274 86765 60929 3 0x90 nanoslp syz-executor 18383 57627 86765 60929 3 0x4000090 kqread syz-executor 18383 365651 86765 60929 3 0x4000090 fsleep syz-executor 18383 341229 86765 60929 3 0x4000090 fsleep syz-executor 65910 323239 56341 0 2 0 syz-executor 65910 287484 56341 0 2 0x4000000 syz-executor 65910 108942 56341 0 3 0x4000000 fltagain2 syz-executor 65910 368635 56341 0 3 0x4000080 pipeiolk syz-executor 83670 473737 47896 0 3 0x80 nanoslp syz-executor 83670 303536 47896 0 3 0x4000080 kqsel syz-executor 83670 10054 47896 0 3 0x4000080 fsleep syz-executor 42101 2154 71113 0 3 0x80 nanoslp syz-executor 42101 352324 71113 0 3 0x4000080 kqpoll syz-executor 42101 514276 71113 0 3 0x4000080 fsleep syz-executor 95593 197475 99761 0 3 0x80 nanoslp syz-executor 95593 4357 99761 0 3 0x4000080 kqread syz-executor 95593 393263 99761 0 3 0x4000080 fsleep syz-executor 25061 324847 55479 0 3 0x80 nanoslp syz-executor 25061 396412 55479 0 3 0x4000080 lockf syz-executor 25061 55660 55479 0 3 0x4000080 fsleep syz-executor 5026 62613 46002 0 3 0x80 nanoslp syz-executor 5026 66565 46002 0 3 0x4000080 lockf syz-executor 5026 206003 46002 0 3 0x4000080 fsleep syz-executor 48343 308982 1 0 3 0x100083 ttyin getty 15624 40663 0 0 3 0x14200 acct acct 24783 78551 0 0 3 0x14200 bored sosplice 46002 118177 42256 0 3 0x82 nanoslp syz-executor 55479 401522 42256 0 3 0x82 nanoslp syz-executor 56341 272407 42256 0 3 0x82 nanoslp syz-executor 35650 2806 42256 0 3 0x82 nanoslp syz-executor 71113 422068 42256 0 3 0x82 nanoslp syz-executor 47896 221091 42256 0 3 0x82 nanoslp syz-executor 86765 492955 42256 0 3 0x82 nanoslp syz-executor 99761 504046 42256 0 3 0x82 nanoslp syz-executor 42256 446651 39251 0 3 0x82 kqread syz-executor 39251 223776 50732 0 3 0x10008a sigsusp ksh 50732 190254 66610 0 3 0x98 kqread sshd-session 66610 377121 62512 0 3 0x92 kqread sshd-session 62512 80773 1 0 3 0x88 kqread sshd 26755 146389 55069 73 3 0x1100090 kqread syslogd 55069 214304 1 0 3 0x100082 sbwait syslogd 7803 22114 1 0 3 0x100080 kqread resolvd 65702 236131 27008 77 3 0x100092 kqread dhcpleased 14794 44183 27008 77 3 0x100092 kqread dhcpleased 27008 68653 1 0 3 0x80 kqread dhcpleased 86492 364625 0 0 3 0x14200 bored smr 20232 334722 0 0 2 0x14200 zerothread 5465 325130 0 0 3 0x14200 aiodoned aiodoned 53118 239987 0 0 3 0x14200 syncer update 24501 441169 0 0 3 0x14200 cleaner cleaner 3335 490696 0 0 3 0x14200 reaper reaper 21409 163779 0 0 3 0x14200 pgdaemon pagedaemon 47633 175090 0 0 3 0x14200 bored viomb 74730 208068 0 0 3 0x40014200 acpi0 acpi0 24662 33678 0 0 3 0x14200 bored softnet7 46507 331688 0 0 3 0x14200 bored softnet6 36663 226333 0 0 3 0x14200 bored softnet5 62308 347120 0 0 3 0x14200 bored softnet4 26892 73182 0 0 3 0x14200 bored softnet3 24620 294425 0 0 3 0x14200 bored softnet2 22341 457595 0 0 3 0x14200 bored softnet1 4089 278397 0 0 3 0x14200 bored softnet0 79111 149709 0 0 3 0x14200 bored systqmp 52040 117760 0 0 3 0x14200 bored systq 29340 512345 0 0 3 0x40014200 tmoslp softclock 59142 60017 0 0 3 0x40014200 idle0 1 282553 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 10194 11076K 11112K 166960K 11316 0 pcb 17 12K 12K 166960K 27 0 rtable 205 5K 5K 166960K 264 0 pf 30 12K 15K 166960K 39 0 ifaddr 42 7K 7K 166960K 48 0 ifgroup 50 2K 2K 166960K 62 0 sysctl 3 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 36 0 ioctlops 0 0K 4K 166960K 36 0 iov 0 0K 16K 166960K 2 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1341 84K 84K 166960K 1395 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 5 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 213 0 sigio 0 0K 0K 166960K 3 0 proc 62 67K 124K 166960K 489 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 1 0K 0K 166960K 5 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 361 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 246 151K 158K 166960K 3591 0 UVM aobj 9 2K 2K 166960K 9 0 pinsyscall 39 78K 96K 166960K 1249 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 11 0K 2K 166960K 31 0 temp 38 8632K 8697K 166960K 4047 0 kqueue 16 24K 26K 166960K 33 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 40 0 37 1 0 1 1 0 8 0 rtentry 136 95 0 1 4 0 4 4 0 8 0 unpcb 144 80 0 65 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 95 0 88 7 0 7 7 0 8 6 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 328 238 0 226 12 3 9 12 0 8 8 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 16 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 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 436 0 0 28 0 28 28 0 8 0 art_table 40 437 0 0 5 0 5 5 0 8 0 art_node 32 95 0 11 1 0 1 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1680 0 172 95 0 95 95 0 8 0 ffsino 256 1680 0 172 95 0 95 95 0 8 0 nchpl 144 1976 0 289 63 0 63 63 0 8 0 uvmvnodes 80 1783 0 0 37 0 37 37 0 8 0 vnodes 216 1783 0 0 100 0 100 100 0 8 0 namei 1024 5794 0 5794 2 0 2 2 0 8 2 kstatmem 264 30 0 8 2 0 2 2 0 8 0 scxspl 216 7670 0 7670 8 0 8 8 1 8 8 plimitpl 152 43 0 22 1 0 1 1 0 8 0 sigapl 424 500 0 448 7 0 7 7 0 8 1 knotepl 120 6342 0 6039 10 0 10 10 0 8 0 kqueuepl 184 39 0 26 1 0 1 1 0 8 0 pipepl 304 110 0 81 3 0 3 3 0 8 0 fdescpl 448 478 0 448 5 0 5 5 0 8 1 filepl 120 1833 0 1604 11 0 11 11 0 8 3 lockfpl 104 38 0 31 1 0 1 1 0 8 0 lockfspl 48 18 0 14 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 33 0 17 1 0 1 1 0 8 0 ucredpl 104 172 0 160 1 0 1 1 0 8 0 zombiepl 144 449 0 448 1 0 1 1 0 8 0 processpl 1152 500 0 448 5 0 5 5 0 8 1 procpl 664 626 0 558 6 0 6 6 0 8 0 sockpl 552 358 0 327 12 2 10 12 0 8 7 mcl64k 65536 5 0 5 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 2550 0 2497 13 0 13 13 0 8 6 mcl2k 2048 260 0 259 1 0 1 1 0 8 0 mtagpl 96 6 0 6 1 0 1 1 0 8 1 mbufpl 256 4502 0 4348 12 0 12 12 0 8 0 bufpl 280 3247 0 118 224 0 224 224 0 8 0 anonpl 24 106151 0 101780 27 0 27 27 0 187 0 amapchunkpl 152 10577 0 10047 22 0 22 22 0 158 1 amappl16 200 2088 0 1998 5 0 5 5 0 8 0 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 105 0 95 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 0 1 1 0 8 1 amappl12 168 1090 0 1060 3 0 3 3 0 8 1 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 21 0 21 1 0 1 1 0 8 1 amappl9 144 254 0 254 1 0 1 1 0 8 1 amappl8 136 29 0 28 1 0 1 1 0 8 0 amappl7 128 98 0 88 1 0 1 1 0 8 0 amappl6 120 184 0 181 1 0 1 1 0 8 0 amappl5 112 112 0 105 1 0 1 1 0 8 0 amappl4 104 265 0 250 1 0 1 1 0 8 0 amappl3 96 1706 0 1588 3 0 3 3 0 8 0 amappl2 88 608 0 553 2 0 2 2 0 8 0 amappl1 80 8116 0 7558 13 0 13 13 0 8 0 amappl 88 2937 0 2757 5 0 5 5 0 92 1 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 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 478 0 448 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 478 0 448 1 0 1 1 0 8 0 vmmpekpl 168 5343 0 5318 2 0 2 2 0 8 0 vmmpepl 168 36784 0 34811 86 0 86 86 0 357 0 vmsppl 368 477 0 448 4 0 4 4 0 8 1 rwobjpl 40 14710 0 11992 28 0 28 28 0 8 0 pdppl 4096 962 0 896 98 32 66 82 0 8 0 pvpl 32 238874 0 227773 90 0 90 90 0 265 0 pmappl 216 477 0 448 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 370 0 32 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff8000014bab80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003614ea88) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003614ea88) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800036140e70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a07bc08,81,fffffd8007bfb680,ffff80003614ea88) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a585b50,ffff80003614ea88) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a585b50,ffff80003614ea88) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a585b50,ffff80003614ea88) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806a585b50,ffff80003614ea88) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003614ea88) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003614ea88,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003614ea88,ffff8000361411d0,ffff800036141120) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000361411d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000361411d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ce04d786250, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff8000014bab80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80003614ea88) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003614ea88) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff800036140e70) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806a07bc08,81,fffffd8007bfb680,ffff80003614ea88) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806a585b50,ffff80003614ea88) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806a585b50,ffff80003614ea88) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806a585b50,ffff80003614ea88) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806a585b50,ffff80003614ea88) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003614ea88) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003614ea88,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003614ea88,ffff8000361411d0,ffff800036141120) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000361411d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000361411d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ce04d786250, count: -12