uvm_fault(0xfffffd8079a10a28, 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(ffff800001496400) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(31e5f,1,2000,ffff80002a7e8f80) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,1,2000,ffff80002a7e8f80) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c963920) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bf9a568,1,fffffd8007bfb7b8,ffff80002a7e8f80) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd805cc7e618,ffff80002a7e8f80) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805cc7e618,ffff80002a7e8f80) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd805cc7e618,ffff80002a7e8f80) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd805cc7e618,ffff80002a7e8f80) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7e8f80) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7e8f80,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7e8f80,ffff80003c963c90,ffff80003c963be0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c963c90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963c90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x704533084b50, 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(0xfffffd8079a10a28, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001496400) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(31e5f,1,2000,ffff80002a7e8f80) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,1,2000,ffff80002a7e8f80) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c963920) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bf9a568,1,fffffd8007bfb7b8,ffff80002a7e8f80) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd805cc7e618,ffff80002a7e8f80) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805cc7e618,ffff80002a7e8f80) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd805cc7e618,ffff80002a7e8f80) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd805cc7e618,ffff80002a7e8f80) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7e8f80) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7e8f80,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7e8f80,ffff80003c963c90,ffff80003c963be0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c963c90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963c90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x704533084b50, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c963850 rbx 0xffffffff825c84a0 dtclose rdx 0 rcx 0xffff80002a7e8f80 rax 0xffffffff83861598 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0x4c28cb113c8dd968 r11 0xd2e9a1a97d5f0391 r12 0xffff80000006c080 r13 0 r14 0 r15 0xffff8000014e9900 rip 0xffffffff825c8820 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c963820 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb> show proc PROC (syz-executor) tid=465999 pid=74074 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7e8f80 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a813728,0xffff80002a7e9c60 process=0xffff80002cd1e018 user=0xffff80003c95e000, vmspace=0xfffffd8079a10a28 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 28956 296138 16234 0 2 0 syz-executor 89038 161050 89014 0 2 0 syz-executor 89038 114250 89014 0 2 0x4000000 syz-executor 52131 480328 50332 0 3 0x80 nanoslp syz-executor 52131 475706 50332 0 3 0x4000080 kqread syz-executor 52131 132078 50332 0 3 0x4000080 fsleep syz-executor 2481 472677 31680 0 3 0x80 nanoslp syz-executor 2481 123523 31680 0 3 0x4000080 dtread syz-executor 2481 138475 31680 0 3 0x4000080 kqpoll syz-executor 97456 446695 6868 0 3 0x80 nanoslp syz-executor 97456 245543 6868 0 3 0x4000080 ttyin syz-executor 97456 298450 6868 0 3 0x4000080 fsleep syz-executor 97456 510877 6868 0 3 0x4000080 fsleep syz-executor 50332 318049 32975 0 3 0x82 nanoslp syz-executor 72327 478138 32975 0 3 0x82 nanoslp syz-executor 31680 463991 32975 0 3 0x82 nanoslp syz-executor 89014 39063 32975 0 3 0x82 nanoslp syz-executor 31575 175848 32975 0 2 0x2 syz-executor 78809 51080 32975 0 3 0x82 nanoslp syz-executor 16234 462255 32975 0 3 0x82 nanoslp syz-executor 6868 860 32975 0 3 0x82 nanoslp syz-executor 32975 460007 70625 0 3 0x82 kqread syz-executor 70625 21522 58967 0 3 0x10008a sigsusp ksh 58967 354042 51108 0 3 0x98 kqread sshd-session 51108 245483 26319 0 3 0x92 kqread sshd-session 84305 67404 1 0 3 0x100083 ttyin getty 26319 84058 1 0 3 0x88 kqread sshd 82583 243786 6503 73 3 0x1100090 kqread syslogd 6503 394300 1 0 3 0x100082 sbwait syslogd 27035 35625 1 0 3 0x100080 kqread resolvd 68608 404189 57712 77 3 0x100092 kqread dhcpleased 13040 243848 57712 77 3 0x100092 kqread dhcpleased 57712 158897 1 0 3 0x80 kqread dhcpleased 78802 109008 0 0 3 0x14200 bored smr 82720 372724 0 0 2 0x14200 zerothread 6343 136143 0 0 3 0x14200 aiodoned aiodoned 52241 241242 0 0 3 0x14200 syncer update 53484 52387 0 0 3 0x14200 cleaner cleaner 87034 148241 0 0 3 0x14200 reaper reaper 17529 182560 0 0 3 0x14200 pgdaemon pagedaemon 70367 171843 0 0 3 0x14200 bored viomb 64200 182176 0 0 3 0x40014200 acpi0 acpi0 7919 523741 0 0 3 0x14200 bored softnet7 64483 523574 0 0 3 0x14200 bored softnet6 88289 32268 0 0 3 0x14200 bored softnet5 49934 403262 0 0 3 0x14200 bored softnet4 41775 45704 0 0 3 0x14200 bored softnet3 56489 44986 0 0 3 0x14200 bored softnet2 89914 496626 0 0 3 0x14200 bored softnet1 66433 468139 0 0 3 0x14200 bored softnet0 14428 450192 0 0 3 0x14200 bored systqmp 4584 187911 0 0 3 0x14200 bored systq 43017 490191 0 0 3 0x40014200 tmoslp softclock 13962 352593 0 0 3 0x40014200 idle0 1 97581 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 10205 11174K 11545K 166960K 11426 0 pcb 20 12K 12K 166960K 40 0 rtable 203 7K 7K 166960K 286 0 pf 29 12K 13K 166960K 41 0 ifaddr 38 6K 7K 166960K 51 0 ifgroup 46 2K 2K 166960K 60 0 sysctl 3 1K 9K 166960K 7 0 counters 31 17K 18K 166960K 39 0 ioctlops 0 0K 4K 166960K 44 0 iov 0 0K 12K 166960K 3 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1343 85K 85K 166960K 1456 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 9 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 85K 166960K 232 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 100K 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 16 0 in_multi 88 6K 7K 166960K 103 0 ether_multi 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 348 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 214 151K 169K 166960K 3531 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 38 76K 90K 166960K 1249 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 10 0K 1K 166960K 32 0 temp 37 8662K 8726K 166960K 4219 0 kqueue 16 26K 32K 166960K 49 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 74 0 70 2 0 2 2 0 8 1 rtentry 136 99 0 11 4 0 4 4 0 8 0 unpcb 144 120 0 103 2 0 2 2 0 8 1 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 28 0 21 1 0 1 1 0 8 0 arp 88 10 0 1 1 0 1 1 0 8 0 inpcb 328 115 0 102 2 0 2 2 0 8 0 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 104 19 0 3 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 7 0 7 1 0 1 1 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 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 462 0 51 28 0 28 28 0 8 2 art_table 40 464 0 51 5 0 5 5 0 8 0 art_node 32 99 0 20 1 0 1 1 0 8 0 semapl 112 5 0 1 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1750 0 251 95 0 95 95 0 8 0 ffsino 256 1750 0 251 95 0 95 95 0 8 0 nchpl 144 2066 0 383 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 1888 0 0 39 0 39 39 0 8 0 vnodes 216 1888 0 0 105 0 105 105 0 8 0 namei 1024 6619 0 6618 2 0 2 2 0 8 1 kstatmem 264 32 0 12 2 0 2 2 0 8 0 scxspl 216 7059 0 7059 8 0 8 8 1 8 8 plimitpl 152 37 0 19 1 0 1 1 0 8 0 sigapl 424 511 0 462 7 0 7 7 0 8 1 knotepl 120 7685 0 7398 16 0 16 16 0 8 7 kqueuepl 184 58 0 45 1 0 1 1 0 8 0 pipepl 304 101 0 74 3 0 3 3 0 8 0 fdescpl 448 491 0 462 4 0 4 4 0 8 0 filepl 120 2111 0 1879 9 0 9 9 0 8 1 lockfpl 104 82 0 80 1 0 1 1 0 8 0 lockfspl 48 41 0 39 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 214 0 203 1 0 1 1 0 8 0 zombiepl 144 464 0 462 1 0 1 1 0 8 0 processpl 1168 511 0 462 4 0 4 4 0 8 0 procpl 656 655 0 598 6 0 6 6 0 8 0 sockpl 552 314 0 280 7 0 7 7 0 8 4 mcl64k 65536 9 0 9 1 0 1 1 0 8 1 mcl16k 16384 6 0 6 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 2562 0 2512 12 0 12 12 0 8 5 mcl2k 2048 284 0 280 2 0 2 2 0 8 1 mtagpl 96 9 0 7 1 0 1 1 0 8 0 mbufpl 256 5113 0 4957 11 0 11 11 0 8 0 bufpl 280 3013 0 117 207 0 207 207 0 8 0 anonpl 24 107408 0 104369 32 0 32 32 0 187 9 amapchunkpl 152 10803 0 10376 27 0 27 27 0 158 7 amappl16 200 2042 0 2018 6 0 6 6 0 8 4 amappl15 192 6 0 6 1 0 1 1 0 8 1 amappl14 184 104 0 93 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 0 1 1 0 8 1 amappl12 168 1098 0 1069 2 0 2 2 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 0 1 1 0 8 1 amappl9 144 252 0 252 1 0 1 1 0 8 1 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 95 0 85 1 0 1 1 0 8 0 amappl6 120 170 0 167 1 0 1 1 0 8 0 amappl5 112 110 0 104 1 0 1 1 0 8 0 amappl4 104 259 0 245 1 0 1 1 0 8 0 amappl3 96 1773 0 1676 3 0 3 3 0 8 0 amappl2 88 615 0 561 2 0 2 2 0 8 0 amappl1 80 8354 0 7812 13 0 13 13 0 8 0 amappl 88 2891 0 2741 4 0 4 4 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 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 491 0 462 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 491 0 462 1 0 1 1 0 8 0 vmmpekpl 168 5424 0 5398 2 0 2 2 0 8 0 vmmpepl 168 37541 0 35741 89 0 89 89 0 357 7 vmsppl 368 490 0 462 4 0 4 4 0 8 1 rwobjpl 40 14941 0 12241 29 0 29 29 0 8 1 pdppl 4096 989 0 924 93 24 69 77 0 8 4 pvpl 32 243349 0 234882 94 0 94 94 0 265 13 pmappl 216 490 0 462 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 363 0 24 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001496400) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(31e5f,1,2000,ffff80002a7e8f80) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,1,2000,ffff80002a7e8f80) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c963920) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bf9a568,1,fffffd8007bfb7b8,ffff80002a7e8f80) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd805cc7e618,ffff80002a7e8f80) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805cc7e618,ffff80002a7e8f80) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd805cc7e618,ffff80002a7e8f80) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd805cc7e618,ffff80002a7e8f80) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7e8f80) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7e8f80,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7e8f80,ffff80003c963c90,ffff80003c963be0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c963c90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963c90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x704533084b50, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001496400) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(31e5f,1,2000,ffff80002a7e8f80) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(31e5f,1,2000,ffff80002a7e8f80) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c963920) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bf9a568,1,fffffd8007bfb7b8,ffff80002a7e8f80) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd805cc7e618,ffff80002a7e8f80) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd805cc7e618,ffff80002a7e8f80) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd805cc7e618,ffff80002a7e8f80) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd805cc7e618,ffff80002a7e8f80) at closef+0x190 sys/kern/kern_descrip.c:1251 fdfree(ffff80002a7e8f80) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80002a7e8f80,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80002a7e8f80,ffff80003c963c90,ffff80003c963be0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c963c90) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963c90) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x704533084b50, count: -12