uvm_fault(0xfffffd806bb922f0, 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(ffff800001438980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80003a56bcb0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003a56bcb0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a891ae0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806951a6c8,1,fffffd8007bfb820,ffff80003a56bcb0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8065655970,ffff80003a56bcb0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8065655970,ffff80003a56bcb0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8065655970,ffff80003a56bcb0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8065655970,ffff80003a56bcb0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003a56bcb0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003a56bcb0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003a56bcb0,ffff80002a891e40,ffff80002a891d90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a891e40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a891e40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7da324c0b460, 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(0xfffffd806bb922f0, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001438980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80003a56bcb0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003a56bcb0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a891ae0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806951a6c8,1,fffffd8007bfb820,ffff80003a56bcb0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8065655970,ffff80003a56bcb0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8065655970,ffff80003a56bcb0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8065655970,ffff80003a56bcb0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8065655970,ffff80003a56bcb0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003a56bcb0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003a56bcb0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003a56bcb0,ffff80002a891e40,ffff80002a891d90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a891e40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a891e40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7da324c0b460, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a891a10 rbx 0x1 rdx 0 rcx 0xffff80003a56bcb0 rax 0xffffffff8375fec0 dt_prov_static r8 0x120 r9 0 r10 0xefa60afa14a12e7c r11 0x4f9372fb1bb54eeb r12 0 r13 0 r14 0 r15 0xffff8000015a3c00 rip 0xffffffff8228d8f8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002a8919e0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=388984 pid=63058 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003a56bcb0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003a56afb8,0xffff80002a81fcb0 process=0xffff8000ffff7aa0 user=0xffff80002a88c000, vmspace=0xfffffd806bb922f0 estcpu=34, cpticks=5, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 8412 456435 90036 0 2 0 syz-executor 8412 376986 90036 0 3 0x4000080 fsleep syz-executor 11659 451404 51976 0 2 0 syz-executor 11659 319501 51976 0 3 0x4000080 fsleep syz-executor 56029 204596 44099 0 2 0 syz-executor 56029 494164 44099 0 3 0x4000080 fsleep syz-executor 56029 358753 44099 0 3 0x4000080 fsleep syz-executor 37141 131522 50189 0 2 0 syz-executor 37141 103045 50189 0 3 0x4000080 fsleep syz-executor 37141 418293 50189 0 3 0x4000080 fsleep syz-executor 37141 513511 50189 0 3 0x4000080 fsleep syz-executor 45054 316123 12773 -1 2 0x10 syz-executor 45054 412743 12773 -1 3 0x4000090 fsleep syz-executor 5790 167510 1 0 3 0x100083 ttyin getty 92176 391354 0 0 3 0x14200 acct acct 90036 290863 77648 0 3 0x82 nanoslp syz-executor 3094 195456 77648 0 3 0x82 nanoslp syz-executor 39939 53128 0 0 3 0x14200 bored sosplice 26783 342333 77648 0 2 0x2 syz-executor 51976 197160 77648 0 3 0x82 nanoslp syz-executor 50189 381967 77648 0 3 0x82 nanoslp syz-executor 44099 81088 77648 0 3 0x82 nanoslp syz-executor 12773 447638 77648 0 3 0x82 nanoslp syz-executor 2479 323996 77648 0 2 0x2 syz-executor 77648 383156 42305 0 3 0x82 kqread syz-executor 42305 347148 44827 0 3 0x10008a sigsusp ksh 44827 16883 12868 0 3 0x98 kqread sshd-session 12868 478822 80132 0 3 0x92 kqread sshd-session 80132 106068 1 0 3 0x88 kqread sshd 83622 299585 80528 73 3 0x1100090 kqread syslogd 80528 113705 1 0 3 0x100082 sbwait syslogd 61573 237828 1 0 3 0x100080 kqread resolvd 64296 60748 96259 77 3 0x100092 kqread dhcpleased 13226 55722 96259 77 3 0x100092 kqread dhcpleased 96259 8252 1 0 3 0x80 kqread dhcpleased 99551 166037 0 0 3 0x14200 bored smr 76362 356352 0 0 2 0x14200 zerothread 36796 495934 0 0 3 0x14200 aiodoned aiodoned 36724 48685 0 0 3 0x14200 syncer update 99070 381732 0 0 3 0x14200 cleaner cleaner 89191 364720 0 0 2 0x14200 reaper 80730 128896 0 0 3 0x14200 pgdaemon pagedaemon 16207 277121 0 0 3 0x14200 bored viomb 86955 455155 0 0 3 0x40014200 acpi0 acpi0 46528 416268 0 0 3 0x14200 bored softnet7 1218 253742 0 0 3 0x14200 bored softnet6 39789 138815 0 0 3 0x14200 bored softnet5 78954 211049 0 0 3 0x14200 bored softnet4 69569 269017 0 0 3 0x14200 bored softnet3 38884 497028 0 0 3 0x14200 bored softnet2 84453 71257 0 0 3 0x14200 bored softnet1 73734 100809 0 0 3 0x14200 bored softnet0 32040 264619 0 0 3 0x14200 bored systqmp 23227 165238 0 0 3 0x14200 bored systq 32202 440530 0 0 3 0x40014200 tmoslp softclock 32349 64576 0 0 3 0x40014200 idle0 1 242859 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 10230 11164K 11264K 166960K 11827 0 pcb 18 14K 16K 166960K 232 0 rtable 205 6K 7K 166960K 369 0 pf 34 13K 19K 166960K 78 0 ifaddr 43 7K 7K 166960K 67 0 ifgroup 54 2K 2K 166960K 88 0 sysctl 4 1K 9K 166960K 8 0 counters 33 17K 18K 166960K 45 0 ioctlops 0 0K 4K 166960K 87 0 iov 0 0K 28K 166960K 90 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1340 84K 85K 166960K 1730 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 21 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 560 0 sigio 1 0K 0K 166960K 70 0 proc 60 59K 116K 166960K 593 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 2 0K 0K 166960K 43 0 in_multi 100 7K 7K 166960K 147 0 ether_multi 1 0K 0K 166960K 7 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 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 463 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 220 163K 172K 166960K 6598 0 UVM aobj 15 2K 2K 166960K 16 0 pinsyscall 38 76K 95K 166960K 1638 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 40 0 NDP 12 0K 2K 166960K 44 0 temp 50 8637K 8759K 166960K 19899 0 kqueue 13 20K 28K 166960K 98 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 63 0 60 1 0 1 1 0 8 0 rtentry 136 127 0 42 4 0 4 4 0 8 0 unpcb 144 542 0 460 6 0 6 6 0 8 2 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 191 0 185 7 0 7 7 0 8 6 arp 88 14 0 4 1 0 1 1 0 8 0 ipq 40 3 0 1 1 0 1 1 0 8 0 ipqe 40 4 0 2 1 0 1 1 0 8 0 inpcb 328 622 0 610 8 1 7 7 0 8 5 ip6q 72 3 0 0 1 0 1 1 0 8 0 ip6af 40 3 0 0 1 0 1 1 0 8 0 nd6 104 24 0 8 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 8 0 8 1 0 1 1 0 8 1 pfstscr 40 3 0 3 2 1 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pfstkey 128 3 0 3 2 1 1 1 0 8 1 pfstate 384 3 0 3 2 1 1 1 0 8 1 pfrule 1344 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 585 0 182 30 0 30 30 0 8 3 art_table 40 588 0 182 5 0 5 5 0 8 0 art_node 32 126 0 53 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 2 1 1 1 0 8 0 semapl 112 19 0 9 1 0 1 1 0 8 0 shmpl 112 13 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2343 0 840 95 0 95 95 0 8 0 ffsino 256 2343 0 840 95 0 95 95 0 8 0 nchpl 144 3133 0 1446 63 0 63 63 0 8 0 uvmvnodes 80 2612 0 0 54 0 54 54 0 8 0 vnodes 216 2612 0 0 146 0 146 146 0 8 0 namei 1024 10239 0 10238 4 1 3 3 0 8 2 kstatmem 264 48 0 24 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 11342 0 11342 15 7 8 8 1 8 8 plimitpl 152 174 0 158 1 0 1 1 0 8 0 sigapl 424 840 0 789 7 1 6 7 0 8 0 knotepl 120 18608 0 18561 19 9 10 11 0 8 6 kqueuepl 184 196 0 186 3 0 3 3 0 8 2 pipepl 304 145 0 117 3 0 3 3 0 8 0 fdescpl 448 818 0 789 5 1 4 5 0 8 0 filepl 120 4943 0 4651 12 0 12 12 0 8 3 lockfpl 104 305 0 302 2 0 2 2 0 8 1 lockfspl 48 76 0 73 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 38 0 22 1 0 1 1 0 8 0 ucredpl 104 832 0 818 1 0 1 1 0 8 0 zombiepl 144 1063 0 1062 2 1 1 1 0 8 0 processpl 1152 840 0 789 5 1 4 5 0 8 0 procpl 664 1546 0 1486 6 0 6 6 0 8 0 sosppl 168 5 0 5 1 0 1 1 0 8 1 sockpl 552 1279 0 1181 12 2 10 12 0 8 2 mcl64k 65536 30 0 30 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 2988 0 2936 16 8 8 15 0 8 0 mcl2k 2048 887 0 882 2 0 2 2 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 8365 0 8210 18 1 17 17 0 8 5 bufpl 280 4816 0 118 336 0 336 336 0 8 0 anonpl 24 129169 0 126073 48 3 45 45 0 187 18 amapchunkpl 152 21276 0 20833 29 1 28 28 0 158 9 amappl16 200 1981 0 1948 20 5 15 15 0 8 12 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 105 0 95 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 1 0 1 0 8 0 amappl12 168 1461 0 1433 3 1 2 3 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 15 0 15 1 1 0 1 0 8 0 amappl9 144 257 0 257 1 1 0 1 0 8 0 amappl8 136 18 0 17 1 0 1 1 0 8 0 amappl7 128 100 0 90 1 0 1 1 0 8 0 amappl6 120 185 0 182 1 0 1 1 0 8 0 amappl5 112 131 0 125 1 0 1 1 0 8 0 amappl4 104 268 0 251 1 0 1 1 0 8 0 amappl3 96 3996 0 3896 4 0 4 4 0 8 0 amappl2 88 632 0 576 2 0 2 2 0 8 0 amappl1 80 9741 0 9201 13 1 12 13 0 8 0 amappl 88 5855 0 5702 5 0 5 5 0 92 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 254 0 254 2 1 1 1 0 8 1 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 15 0 1 1 0 1 1 0 8 0 uaddrrnd 24 818 0 789 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 818 0 789 1 0 1 1 0 8 0 vmmpekpl 168 7812 0 7774 3 0 3 3 0 8 0 vmmpepl 168 56290 0 54479 97 1 96 96 0 357 11 vmsppl 368 817 0 789 4 1 3 4 0 8 0 rwobjpl 40 19384 0 15926 37 0 37 37 0 8 0 pdppl 4096 1643 0 1578 107 40 67 83 0 8 2 pvpl 32 359535 0 351241 115 2 113 113 0 265 27 pmappl 216 817 0 789 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 397 0 57 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001438980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80003a56bcb0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003a56bcb0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a891ae0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806951a6c8,1,fffffd8007bfb820,ffff80003a56bcb0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8065655970,ffff80003a56bcb0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8065655970,ffff80003a56bcb0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8065655970,ffff80003a56bcb0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8065655970,ffff80003a56bcb0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003a56bcb0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003a56bcb0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003a56bcb0,ffff80002a891e40,ffff80002a891d90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a891e40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a891e40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7da324c0b460, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001438980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80003a56bcb0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003a56bcb0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a891ae0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806951a6c8,1,fffffd8007bfb820,ffff80003a56bcb0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8065655970,ffff80003a56bcb0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8065655970,ffff80003a56bcb0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8065655970,ffff80003a56bcb0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8065655970,ffff80003a56bcb0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003a56bcb0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003a56bcb0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003a56bcb0,ffff80002a891e40,ffff80002a891d90) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a891e40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a891e40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7da324c0b460, count: -12