uvm_fault(0xfffffd806ba47d00, 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(ffff800001484c00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a7d5778) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7d5778) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a55b350) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805ddfce60,81,fffffd8007bfb478,ffff80002a7d5778) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba48078,ffff80002a7d5778) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba48078,ffff80002a7d5778) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba48078,ffff80002a7d5778) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ba48078,ffff80002a7d5778) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7d5778) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7d5778,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7d5778,ffff80003a55b6b0,ffff80003a55b600) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a55b6b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a55b6b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72bfb8405ee0, 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(0xfffffd806ba47d00, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001484c00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a7d5778) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7d5778) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a55b350) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805ddfce60,81,fffffd8007bfb478,ffff80002a7d5778) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba48078,ffff80002a7d5778) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba48078,ffff80002a7d5778) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba48078,ffff80002a7d5778) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ba48078,ffff80002a7d5778) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7d5778) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7d5778,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7d5778,ffff80003a55b6b0,ffff80003a55b600) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a55b6b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a55b6b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72bfb8405ee0, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003a55b280 rbx 0x1 rdx 0 rcx 0xffff80002a7d5778 rax 0xffff80002a7d5778 r8 0xffffffffffffffff r9 0 r10 0x45fa5adb67d807c7 r11 0x82fcabb0faf4001a r12 0 r13 0 r14 0 r15 0xffff800000b50200 rip 0xffffffff81193638 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003a55b250 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=171590 pid=89410 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a7d5778 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a7d5ca8,0xffff80002a7d4fc0 process=0xffff80002a8a2d30 user=0xffff80003a556000, vmspace=0xfffffd806ba47d00 estcpu=30, cpticks=1, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 68077 406372 837 0 2 0 syz-executor 53713 50857 51748 0 2 0 syz-executor 53713 160019 51748 0 3 0x4000080 fsleep syz-executor 17674 508910 81358 0 2 0x10 syz-executor 17674 235814 81358 0 3 0x4000090 fsleep syz-executor 65318 81341 29430 0 2 0xc80 syz-executor 65318 21698 29430 0 3 0x4000080 piperd syz-executor 65318 238076 29430 0 3 0x4000080 fsleep syz-executor 82332 22156 25091 0 3 0x3000 suspend syz-executor 82332 303024 25091 0 2 0x4081000 syz-executor 32646 404881 1921 0 2 0xc80 syz-executor 32646 262223 1921 0 3 0x4000080 kqsel syz-executor 92733 507302 0 0 3 0x14280 nfsidl nfsio 35932 474930 0 0 3 0x14280 nfsidl nfsio 19270 68857 0 0 3 0x14280 nfsidl nfsio 41270 504588 0 0 3 0x14280 nfsidl nfsio 12792 405091 0 0 3 0x14280 nfsidl nfsio 74046 433831 0 0 3 0x14280 nfsidl nfsio 94629 82535 0 0 3 0x14280 nfsidl nfsio 46641 440125 0 0 3 0x14280 nfsidl nfsio 30791 301794 0 0 3 0x14280 nfsidl nfsio 35418 299053 0 0 3 0x14280 nfsidl nfsio 28044 467561 0 0 3 0x14280 nfsidl nfsio 68444 473686 0 0 3 0x14280 nfsidl nfsio 46706 496195 0 0 3 0x14280 nfsidl nfsio 82290 318219 0 0 3 0x14280 nfsidl nfsio 33466 93080 0 0 3 0x14280 nfsidl nfsio 38821 32283 0 0 3 0x14280 nfsidl nfsio 49340 176753 0 0 3 0x14280 nfsidl nfsio 95055 170042 0 0 3 0x14280 nfsidl nfsio 85921 51808 0 0 3 0x14280 nfsidl nfsio 41551 430535 0 0 3 0x14280 nfsidl nfsio 45432 419202 0 0 3 0x14200 acct acct 29430 246033 66157 0 2 0xc82 syz-executor 364 415061 0 0 3 0x14200 bored sosplice 51748 136848 66157 0 3 0x82 nanoslp syz-executor 81358 110077 66157 0 3 0x82 nanoslp syz-executor 25091 302318 66157 0 2 0xc82 syz-executor 1921 383876 66157 0 2 0xc82 syz-executor 837 469339 66157 0 2 0xc82 syz-executor 47043 436654 66157 0 3 0x82 nanoslp syz-executor 66157 226906 35032 0 3 0x82 wait syz-executor 35032 133163 83064 0 3 0x10008a sigsusp ksh 83064 513447 91058 0 3 0x98 kqread sshd-session 91058 33957 6913 0 3 0x92 kqread sshd-session 65784 54465 1 0 3 0x100083 ttyin getty 6913 82391 1 0 3 0x88 kqread sshd 20232 232755 63262 73 3 0x1100090 kqread syslogd 63262 330621 1 0 3 0x100082 sbwait syslogd 27278 405522 1 0 3 0x100080 kqread resolvd 93271 223863 10960 77 3 0x100092 kqread dhcpleased 8327 266559 10960 77 3 0x100092 kqread dhcpleased 10960 228247 1 0 3 0x80 kqread dhcpleased 18468 121345 0 0 2 0x14200 smr 46793 241373 0 0 2 0x14200 zerothread 25795 65262 0 0 3 0x14200 aiodoned aiodoned 36147 211796 0 0 2 0x14e00 update 6715 439374 0 0 3 0x14200 cleaner cleaner 83964 507911 0 0 3 0x14200 reaper reaper 47428 272206 0 0 3 0x14200 pgdaemon pagedaemon 14061 461747 0 0 3 0x14200 bored viomb 74819 50777 0 0 3 0x40014200 acpi0 acpi0 13555 288345 0 0 3 0x14200 bored softnet7 27382 20509 0 0 3 0x14200 bored softnet6 69646 227445 0 0 3 0x14200 bored softnet5 49894 444301 0 0 3 0x14200 bored softnet4 52148 239656 0 0 3 0x14200 bored softnet3 79526 454948 0 0 3 0x14200 bored softnet2 84847 20260 0 0 3 0x14200 bored softnet1 4951 234160 0 0 3 0x14200 bored softnet0 50390 96709 0 0 3 0x14200 smrbar systqmp 40782 80125 0 0 3 0x14200 bored systq 75279 260215 0 0 2 0x40014200 softclock 37183 273809 0 0 3 0x40014200 idle0 1 379675 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 10192 11091K 11589K 166960K 11843 0 pcb 18 12K 12K 166960K 120 0 rtable 161 5K 8K 166960K 424 0 pf 28 12K 16K 166960K 87 0 ifaddr 35 6K 8K 166960K 79 0 ifgroup 46 2K 2K 166960K 106 0 sysctl 3 1K 9K 166960K 8 0 counters 31 17K 18K 166960K 56 0 ioctlops 0 0K 4K 166960K 103 0 iov 0 0K 16K 166960K 31 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1375 87K 87K 166960K 1707 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 17 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 602 0 sigio 0 0K 0K 166960K 10 0 proc 60 59K 83K 166960K 623 0 subproc 72 4K 4K 166960K 110 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 190 0 in_multi 74 5K 7K 166960K 161 0 ether_multi 1 0K 0K 166960K 3 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 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 465 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 217 143K 167K 166960K 6600 0 UVM aobj 20 2K 2K 166960K 22 0 pinsyscall 38 76K 92K 166960K 1723 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 26 0 NDP 12 0K 2K 166960K 53 0 temp 49 8637K 8710K 166960K 12998 0 kqueue 14 22K 28K 166960K 102 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 133 0 129 3 2 1 3 0 8 0 rtentry 136 158 0 92 4 0 4 4 0 8 0 unpcb 144 371 0 351 3 1 2 2 0 8 1 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 185 0 181 7 0 7 7 0 8 6 arp 88 22 0 12 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 1 1 0 1 1 0 8 0 inpcb 328 452 0 443 8 1 7 7 0 8 6 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 27 0 15 1 0 1 1 0 8 0 pkpcb 40 8 0 7 2 1 1 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1072 16 0 16 1 0 1 1 0 8 1 pppxif 1384 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 3 0 3 1 0 1 1 0 8 1 pfanchor 1288 1 0 1 1 0 1 1 0 8 1 pfrule 1344 5 0 5 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 694 0 299 30 1 29 29 0 8 3 art_table 40 695 0 299 5 0 5 5 0 8 0 art_node 32 157 0 83 1 0 1 1 0 8 0 sysvmsgpl 40 43 0 39 1 0 1 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 19 0 2 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2333 0 826 95 0 95 95 0 8 0 ffsino 256 2333 0 826 95 0 95 95 0 8 0 nchpl 144 3079 0 1385 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 uvmvnodes 80 2614 0 0 54 0 54 54 0 8 0 vnodes 216 2614 0 0 146 0 146 146 0 8 0 namei 1024 10278 0 10278 2 1 1 1 0 8 1 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 58 0 38 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 13285 0 13285 8 7 1 8 1 8 1 plimitpl 152 136 0 119 1 0 1 1 0 8 0 sigapl 424 887 0 816 10 1 9 9 0 8 0 knotepl 120 19645 0 19597 16 7 9 10 0 8 7 kqueuepl 184 283 0 271 4 3 1 4 0 8 0 pipepl 304 157 0 129 3 0 3 3 0 8 0 fdescpl 448 844 0 815 5 1 4 5 0 8 0 filepl 120 4435 0 4212 12 3 9 11 0 8 1 lockfpl 104 179 0 176 1 0 1 1 0 8 0 lockfspl 48 73 0 70 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 43 0 27 1 0 1 1 0 8 0 ucredpl 104 473 0 461 1 0 1 1 0 8 0 zombiepl 144 819 0 816 1 0 1 1 0 8 0 processpl 1152 887 0 816 7 1 6 6 0 8 0 procpl 664 1501 0 1424 8 0 8 8 0 8 0 sosppl 168 2 0 2 2 1 1 1 0 8 1 sockpl 552 1047 0 1013 11 4 7 7 0 8 4 mcl64k 65536 19 0 19 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 2 1 1 1 0 8 1 mcl4k 4096 2966 0 2911 15 7 8 15 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 886 0 856 7 3 4 4 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 8604 0 8376 16 1 15 15 0 8 0 bufpl 280 5755 0 137 402 0 402 402 0 8 0 anonpl 24 137051 0 132162 57 17 40 44 0 187 2 amapchunkpl 152 21387 0 20936 33 7 26 28 0 158 4 amappl16 200 1935 0 1794 18 10 8 13 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 112 0 102 1 0 1 1 0 8 0 amappl13 176 1 0 1 1 1 0 1 0 8 0 amappl12 168 1514 0 1486 2 0 2 2 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 23 0 23 1 1 0 1 0 8 0 amappl9 144 258 0 258 1 1 0 1 0 8 0 amappl8 136 31 0 30 1 0 1 1 0 8 0 amappl7 128 103 0 93 1 0 1 1 0 8 0 amappl6 120 214 0 210 1 0 1 1 0 8 0 amappl5 112 127 0 121 1 0 1 1 0 8 0 amappl4 104 280 0 263 1 0 1 1 0 8 0 amappl3 96 3916 0 3815 5 1 4 4 0 8 1 amappl2 88 668 0 613 2 0 2 2 0 8 0 amappl1 80 10203 0 9662 13 1 12 13 0 8 0 amappl 88 5826 0 5671 5 0 5 5 0 92 1 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 21 0 2 1 0 1 1 0 8 0 uaddrrnd 24 844 0 815 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 844 0 815 1 0 1 1 0 8 0 vmmpekpl 168 7985 0 7943 3 0 3 3 0 8 0 vmmpepl 168 57648 0 55695 92 6 86 89 0 357 0 vmsppl 368 843 0 815 4 1 3 4 0 8 0 rwobjpl 40 19534 0 15956 37 0 37 37 0 8 0 pdppl 4096 1694 0 1630 104 36 68 78 0 8 4 pvpl 32 375929 0 365399 134 32 102 112 0 265 11 pmappl 216 843 0 815 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 394 0 58 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001484c00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a7d5778) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7d5778) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a55b350) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805ddfce60,81,fffffd8007bfb478,ffff80002a7d5778) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba48078,ffff80002a7d5778) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba48078,ffff80002a7d5778) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba48078,ffff80002a7d5778) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ba48078,ffff80002a7d5778) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7d5778) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7d5778,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7d5778,ffff80003a55b6b0,ffff80003a55b600) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a55b6b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a55b6b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72bfb8405ee0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001484c00) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a7d5778) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a7d5778) at dtclose+0xd9 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a55b350) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805ddfce60,81,fffffd8007bfb478,ffff80002a7d5778) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ba48078,ffff80002a7d5778) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ba48078,ffff80002a7d5778) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd806ba48078,ffff80002a7d5778) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806ba48078,ffff80002a7d5778) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a7d5778) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002a7d5778,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a7d5778,ffff80003a55b6b0,ffff80003a55b600) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a55b6b0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003a55b6b0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x72bfb8405ee0, count: -12