uvm_fault(0xfffffd805d9b1218, 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(ffff80000148e000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(21e5f,81,2000,ffff80003ac1aa78) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003ac1aa78) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000337f2e40) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805c3597c8,81,fffffd80097fb410,ffff80003ac1aa78) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b6fd400,ffff80003ac1aa78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b6fd400,ffff80003ac1aa78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b6fd400,ffff80003ac1aa78) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b6fd400,ffff80003ac1aa78) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff80003ac1aa78) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff80003ac1aa78,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003ac1aa78,ffff8000337f31b0,ffff8000337f3100) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000337f31b0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000337f31b0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x734acfce6280, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd805d9b1218, 0x0, 0, 1) -> e ddb{0}> trace dt_ioctl_record_stop(ffff80000148e000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(21e5f,81,2000,ffff80003ac1aa78) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003ac1aa78) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000337f2e40) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805c3597c8,81,fffffd80097fb410,ffff80003ac1aa78) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b6fd400,ffff80003ac1aa78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b6fd400,ffff80003ac1aa78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b6fd400,ffff80003ac1aa78) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b6fd400,ffff80003ac1aa78) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff80003ac1aa78) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff80003ac1aa78,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003ac1aa78,ffff8000337f31b0,ffff8000337f3100) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000337f31b0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000337f31b0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x734acfce6280, count: -12 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff8000337f2d70 rbx 0xffffffff82806290 dtclose rdx 0 rcx 0xffff80003ac1aa78 rax 0xffffffff83878e68 dt_prov_syscall r8 0xffffffffffffffff r9 0 r10 0xe4a5ed2f54f7b622 r11 0x1cfc4baf88db5145 r12 0xffff80000006ca80 r13 0 r14 0 r15 0xffff800001649100 rip 0xffffffff82806670 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff8000337f2d40 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb{0}> show proc PROC (syz-executor) tid=202858 pid=31066 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003ac1aa78 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003ac1a558,0xffff80003ac1ad18 process=0xffff80002a2970d0 user=0xffff8000337ee000, vmspace=0xfffffd805d9b1218 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 92541 188140 78832 0 2 0 syz-executor 92541 98681 78832 0 2 0x4000000 syz-executor 4227 265186 64407 60929 2 0x10 syz-executor 4227 179965 64407 60929 3 0x4000090 fsleep syz-executor 3830 266804 85674 0 2 0 syz-executor 3830 119519 85674 0 3 0x4000080 fsleep syz-executor 85840 362761 1 0 3 0x100083 ttyin getty 20359 43659 0 0 3 0x14200 acct acct 81500 309367 0 0 3 0x14200 bored sosplice 58914 178722 65222 0 2 0x2 syz-executor 64407 13627 65222 0 3 0x82 nanoslp syz-executor 3920 133212 65222 0 3 0x82 nanoslp syz-executor 85674 402750 65222 0 3 0x82 nanoslp syz-executor 1672 382090 65222 0 3 0x82 nanoslp syz-executor 55066 1493 65222 0 3 0x82 nanoslp syz-executor 23880 422224 65222 0 3 0x82 wait syz-executor 78832 359651 65222 0 3 0x82 nanoslp syz-executor 65222 29744 85085 0 3 0x82 kqread syz-executor 85085 174041 38768 0 3 0x10008a sigsusp ksh 38768 296189 81706 0 3 0x98 kqread sshd-session 81706 186962 68695 0 3 0x92 kqread sshd-session 68695 203228 1 0 3 0x88 kqread sshd 1566 135548 94309 74 3 0x1100092 bpf pflogd 94309 102980 1 0 3 0x80 sbwait pflogd 97082 229194 76616 73 3 0x1100090 kqread syslogd 76616 349865 1 0 3 0x100082 sbwait syslogd 19611 517276 1 0 3 0x100080 kqread resolvd 11453 520049 13556 77 3 0x100092 kqread dhcpleased 42953 517415 13556 77 3 0x100092 kqread dhcpleased 13556 312537 1 0 3 0x80 kqread dhcpleased 77251 317506 0 0 3 0x14200 bored smr 30757 265237 0 0 2 0x14200 zerothread 40440 60714 0 0 3 0x14200 aiodoned aiodoned 13012 213334 0 0 3 0x14200 syncer update 8835 467739 0 0 3 0x14200 cleaner cleaner 85580 363524 0 0 3 0x14200 reaper reaper 26469 172299 0 0 3 0x14200 pgdaemon pagedaemon 59684 332679 0 0 3 0x14200 bored viomb 77552 357870 0 0 3 0x40014200 acpi0 acpi0 24773 495286 0 0 7 0x40014200 idle1 88260 99423 0 0 3 0x14200 bored softnet7 65875 470255 0 0 3 0x14200 bored softnet6 99435 383331 0 0 3 0x14200 bored softnet5 15268 456330 0 0 3 0x14200 bored softnet4 72279 373948 0 0 3 0x14200 bored softnet3 40026 419140 0 0 3 0x14200 bored softnet2 87208 463802 0 0 3 0x14200 bored softnet1 61523 463608 0 0 3 0x14200 bored softnet0 34844 410155 0 0 3 0x14200 bored systqmp 36842 241179 0 0 3 0x14200 bored systq 52650 291722 0 0 3 0x14200 tmoslp softclockmp 73567 328465 0 0 3 0x40014200 tmoslp softclock 47971 49992 0 0 3 0x40014200 idle0 1 435265 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10273 11225K 12593K 166960K 14655 0 pcb 19 14K 29K 166960K 459 0 rtable 222 11K 11K 166960K 423 0 pf 46 20K 23K 166960K 179 0 ifaddr 43 7K 8K 166960K 103 0 ifgroup 61 2K 2K 166960K 191 0 sysctl 4 1K 9K 166960K 21 0 counters 72 37K 37K 166960K 216 0 ioctlops 0 0K 4K 166960K 1758 0 iov 0 0K 24K 166960K 372 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1695 107K 107K 166960K 3312 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 13K 166960K 39 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 159 0 dirhash 12 2K 2K 166960K 48 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1522 0 sigio 0 0K 0K 166960K 82 0 proc 72 115K 180K 166960K 698 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 301 0 in_multi 84 6K 7K 166960K 147 0 ether_multi 1 0K 0K 166960K 8 0 mrt 0 0K 0K 166960K 11 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 253 1129K 1129K 166960K 253 0 exec 0 0K 1K 166960K 654 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 253 169K 184K 166960K 15631 0 UVM aobj 18 4K 4K 166960K 22 0 pinsyscall 42 84K 108K 166960K 2625 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 57 0 NDP 15 0K 2K 166960K 76 0 temp 78 8684K 8756K 166960K 67134 0 kqueue 13 20K 32K 166960K 332 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 297 0 294 5 4 1 3 0 8 0 rtentry 176 138 0 49 5 0 5 5 0 8 0 unpcb 144 873 0 854 6 5 1 4 0 8 0 syncache 336 7 0 7 3 3 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 404 0 398 7 6 1 7 0 8 0 arp 128 16 0 3 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 328 1647 0 1633 16 12 4 7 0 8 2 nd6 144 29 0 9 1 0 1 1 0 8 0 pkpcb 40 40 0 40 5 5 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 3 0 3 1 1 0 1 0 8 0 ppxss 1192 60 0 59 4 3 1 1 0 8 0 pppxif 1504 1 0 1 1 1 0 1 0 8 0 pfstscr 40 7 0 4 1 0 1 1 0 8 0 pffrag 232 7 0 3 1 0 1 1 0 482 0 pffrnode 88 7 0 3 1 0 1 1 0 8 0 pffrent 40 43 0 38 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 107 0 61 1 0 1 1 0 8 0 pfstkey 128 110 0 65 3 0 3 3 0 8 0 pfstate 384 106 0 63 7 1 6 7 0 8 0 pfrule 1344 31 0 22 2 1 1 2 0 8 0 rttmr 136 4 0 4 3 3 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 655 0 288 30 6 24 30 0 8 0 art_table 40 658 0 288 5 0 5 5 0 8 0 art_node 32 137 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 151 0 141 1 0 1 1 0 8 0 shmpl 112 19 0 4 1 0 1 1 0 8 0 dirhash 1024 42 0 25 3 0 3 3 0 8 0 dino2pl 256 4476 0 2967 96 0 96 96 0 8 0 ffsino 296 4476 0 2967 117 0 117 117 0 8 0 nchpl 144 6627 0 4935 64 0 64 64 0 8 0 rtmask 32 15 0 15 3 3 0 1 0 8 0 uvmvnodes 80 5739 0 0 118 0 118 118 0 8 0 vnodes 216 5739 0 0 319 0 319 319 0 8 0 namei 1024 23948 0 23948 3 2 1 2 0 8 1 percpumem 16 123 0 72 1 0 1 1 0 8 0 kstatmem 264 122 0 90 3 0 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 6 0 6 3 3 0 1 0 8 0 scxspl 216 44269 0 44269 14 13 1 8 1 8 1 plimitpl 152 419 0 401 1 0 1 1 0 8 0 sigapl 424 1846 0 1791 9 1 8 9 0 8 0 knotepl 120 784 0 0 24 0 24 24 0 8 0 kqueuepl 224 821 0 812 15 14 1 7 0 8 0 pipepl 344 440 0 412 13 10 3 9 0 8 0 fdescpl 528 1798 0 1767 3 0 3 3 0 8 0 filepl 160 13271 0 13046 29 18 11 20 0 8 0 lockfpl 104 779 0 777 2 1 1 2 0 8 0 lockfspl 48 286 0 284 1 0 1 1 0 8 0 sessionpl 144 28 0 19 1 0 1 1 0 8 0 pgrppl 48 59 0 42 1 0 1 1 0 8 0 ucredpl 104 2286 0 2271 1 0 1 1 0 8 0 zombiepl 144 2121 0 2117 1 0 1 1 0 8 0 processpl 1248 1846 0 1791 6 1 5 6 0 8 0 procpl 656 4120 0 4062 9 2 7 9 0 8 0 sosppl 168 8 0 8 4 4 0 1 0 8 0 sockpl 752 2967 0 2931 23 16 7 11 0 8 3 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 118 0 0 15 0 15 15 0 8 0 mcl2k 2048 84 0 0 11 1 10 11 0 8 0 mtagpl 96 91 0 0 3 0 3 3 0 8 0 mbufpl 256 1314 0 0 83 0 83 83 0 8 0 bufpl 280 18968 0 12826 440 0 440 440 0 8 0 anonpl 32 19504 0 0 158 0 158 158 0 246 0 amapchunkpl 152 53150 0 52576 49 21 28 36 0 158 1 amappl16 200 8615 0 8511 90 70 20 49 0 8 9 amappl15 192 7 0 7 2 2 0 1 0 8 0 amappl14 184 121 0 108 1 0 1 1 0 8 0 amappl13 176 6 0 6 3 3 0 1 0 8 0 amappl12 168 2453 0 2422 3 1 2 2 0 8 0 amappl11 160 53 0 38 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 244 0 244 2 2 0 1 0 8 0 amappl8 136 37 0 34 1 0 1 1 0 8 0 amappl7 128 129 0 116 1 0 1 1 0 8 0 amappl6 120 175 0 171 1 0 1 1 0 8 0 amappl5 112 130 0 120 1 0 1 1 0 8 0 amappl4 104 341 0 322 1 0 1 1 0 8 0 amappl3 96 10712 0 10598 4 0 4 4 0 8 0 amappl2 88 739 0 675 2 0 2 2 0 8 0 amappl1 80 14639 0 14032 15 0 15 15 0 8 0 amappl 88 14664 0 14485 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 3 0 2 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 255 0 255 2 2 0 1 0 8 0 dma64 64 7 0 7 2 2 0 1 0 8 0 dma32 32 9 0 9 3 3 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 21 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1798 0 1767 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1798 0 1767 1 0 1 1 0 8 0 vmmpekpl 168 16502 0 16463 3 0 3 3 0 8 0 vmmpepl 168 120821 0 118718 137 31 106 130 0 357 0 vmsppl 488 1797 0 1767 7 2 5 5 0 8 0 rwobjpl 80 40072 0 33285 146 2 144 144 0 8 0 pdppl 4096 3603 0 3534 113 42 71 87 0 8 2 pvpl 32 28475 0 0 230 0 230 230 0 265 0 pmappl 256 1797 0 1767 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 379 0 65 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace dt_ioctl_record_stop(ffff80000148e000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(21e5f,81,2000,ffff80003ac1aa78) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(21e5f,81,2000,ffff80003ac1aa78) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff8000337f2e40) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd805c3597c8,81,fffffd80097fb410,ffff80003ac1aa78) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b6fd400,ffff80003ac1aa78) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b6fd400,ffff80003ac1aa78) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b6fd400,ffff80003ac1aa78) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806b6fd400,ffff80003ac1aa78) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff80003ac1aa78) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff80003ac1aa78,0,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff80003ac1aa78,ffff8000337f31b0,ffff8000337f3100) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000337f31b0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000337f31b0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x734acfce6280, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu_x86.c:1218 sched_idle(ffff8000299ddff0) at sched_idle+0x4d8 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299ddff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu_x86.c:1218 sched_idle(ffff8000299ddff0) at sched_idle+0x4d8 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5