uvm_fault(0xfffffd800b0273d0, 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(ffff8000015dd000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a2b6050) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a2b6050) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a3b7130) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e1797a8,81,fffffd80097fb4e0,ffff80002a2b6050) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b83f540,ffff80002a2b6050) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b83f540,ffff80002a2b6050) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b83f540,ffff80002a2b6050) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b83f540,ffff80002a2b6050) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a2b6050) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002a2b6050,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a2b6050,ffff80002a3b74a0,ffff80002a3b73f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a3b74a0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a3b74a0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e68934a3eb0, 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(0xfffffd800b0273d0, 0x0, 0, 1) -> e ddb{0}> trace dt_ioctl_record_stop(ffff8000015dd000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a2b6050) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a2b6050) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a3b7130) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e1797a8,81,fffffd80097fb4e0,ffff80002a2b6050) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b83f540,ffff80002a2b6050) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b83f540,ffff80002a2b6050) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b83f540,ffff80002a2b6050) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b83f540,ffff80002a2b6050) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a2b6050) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002a2b6050,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a2b6050,ffff80002a3b74a0,ffff80002a3b73f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a3b74a0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a3b74a0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e68934a3eb0, count: -12 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a3b7060 rbx 0x1 rdx 0 rcx 0xffff80002a2b6050 rax 0xffffffff83862f10 dt_prov_syscall r8 0 r9 0 r10 0xb22d005a7a241aa5 r11 0x823affa26857b378 r12 0 r13 0 r14 0 r15 0xffff8000014fc500 rip 0xffffffff825ce928 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002a3b7030 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb{0}> show proc PROC (syz-executor) tid=80542 pid=70436 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a2b6050 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a2b7510,0xffffffff838e6f38 process=0xffff80002a304e88 user=0xffff80002a3b2000, vmspace=0xfffffd800b0273d0 estcpu=36, cpticks=4, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 54563 484202 5759 0 3 0x80 nanoslp syz-executor 54563 356297 5759 0 3 0x4000080 sysctllk syz-executor 54563 163948 5759 0 3 0x4000080 sysctllk syz-executor 54563 323520 5759 0 3 0x4000080 sysctllk syz-executor 54998 318752 0 0 3 0x14200 acct acct 89587 177029 59932 0 3 0x82 sysctllk syz-executor 56337 451761 59932 0 3 0x82 sysctllk syz-executor 29086 112487 59932 0 3 0x82 sysctllk syz-executor 8156 493162 59932 0 3 0x82 sysctllk syz-executor 6325 460632 59932 0 3 0x82 sysctllk syz-executor 91255 248380 59932 0 3 0x82 sysctllk syz-executor 54522 31042 1 0 3 0x3000 suspend syz-executor 54522 402150 1 0 3 0x4081000 sysctllk syz-executor 20147 61080 1 0 3 0x81000 vmmapbsy syz-executor 20147 397092 1 0 3 0x4081000 vmmapbsy syz-executor 20147 414087 1 0 3 0x4081000 fltagain2 syz-executor 20147 196037 1 0 3 0x4003000 suspend syz-executor 71316 70752 1 0 3 0x100083 ttyin getty 50418 415111 59932 0 3 0x82 nanoslp syz-executor 55411 503183 0 0 3 0x14200 bored sosplice 5759 57984 59932 0 3 0x82 nanoslp syz-executor 59932 134325 4092 0 3 0x82 kqread syz-executor 4092 295529 45446 0 3 0x10008a sigsusp ksh 45446 295805 53560 0 3 0x98 kqread sshd-session 53560 432489 97497 0 3 0x92 kqread sshd-session 97497 394218 1 0 3 0x88 kqread sshd 86072 394029 46148 74 3 0x1100092 bpf pflogd 46148 327025 1 0 3 0x80 sbwait pflogd 83006 246077 75131 73 3 0x1100090 kqread syslogd 75131 429721 1 0 3 0x100082 sbwait syslogd 75182 521808 1 0 3 0x100080 kqread resolvd 64309 62369 85026 77 3 0x100092 sysctllk dhcpleased 43132 403392 85026 77 3 0x100092 kqread dhcpleased 85026 469346 1 0 3 0x80 kqread dhcpleased 92123 197496 0 0 3 0x14200 bored smr 19132 41351 0 0 3 0x14200 pgzero zerothread 34986 354789 0 0 3 0x14200 aiodoned aiodoned 60203 356303 0 0 3 0x14200 syncer update 35164 20063 0 0 3 0x14200 cleaner cleaner 70236 40807 0 0 3 0x14200 reaper reaper 36787 452235 0 0 3 0x14200 pgdaemon pagedaemon 45192 322112 0 0 3 0x14200 bored viomb 2966 10631 0 0 3 0x40014200 acpi0 acpi0 96255 269318 0 0 7 0x40014200 idle1 792 332608 0 0 3 0x14200 bored softnet7 99765 357937 0 0 3 0x14200 bored softnet6 74527 499341 0 0 3 0x14200 bored softnet5 67399 465643 0 0 3 0x14200 bored softnet4 44950 447146 0 0 3 0x14200 bored softnet3 26956 355097 0 0 3 0x14200 bored softnet2 23182 411264 0 0 3 0x14200 bored softnet1 84974 182723 0 0 2 0x14200 softnet0 27021 517304 0 0 3 0x14200 bored systqmp 82181 266172 0 0 3 0x14200 bored systq 41203 217701 0 0 3 0x14200 tmoslp softclockmp 50616 241565 0 0 3 0x40014200 tmoslp softclock 42835 405119 0 0 3 0x40014200 idle0 1 511366 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 20147 (syz-executor) thread 0xffff80003ac407f8 (397092) Process 20147 (syz-executor) thread 0xffff80003841cfb8 (414087) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10278 11091K 12451K 166960K 15038 0 pcb 17 16K 24K 166960K 1110 0 rtable 144 12K 14K 166960K 962 0 pf 32 17K 131091K 166960K 608 0 ifaddr 22 4K 9K 166960K 300 0 ifgroup 43 2K 2K 166960K 597 0 sysctl 3 1K 9K 166960K 29 0 counters 62 36K 38K 166960K 578 0 ioctlops 0 0K 4K 166960K 2583 0 iov 0 0K 32K 166960K 541 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1486 93K 94K 166960K 4962 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 46 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 166 0 dirhash 12 2K 2K 166960K 111 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 14 31K 240K 166960K 4526 0 sigio 0 0K 0K 166960K 184 0 proc 72 115K 164K 166960K 1324 0 subproc 36 2K 4K 166960K 164 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 583 0 in_multi 32 2K 7K 166960K 390 0 ether_multi 1 0K 0K 166960K 48 0 mrt 1 0K 0K 166960K 32 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 421 1871K 1871K 166960K 421 0 exec 0 0K 1K 166960K 1343 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 39 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 214 136K 183K 166960K 41691 0 UVM aobj 131 4K 4K 166960K 133 0 pinsyscall 39 78K 104K 166960K 5806 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 479 0 NDP 9 0K 2K 166960K 231 0 temp 67 8651K 8908K 166960K 264969 0 kqueue 13 20K 32K 166960K 898 0 SYN cache 2 8K 16K 166960K 3 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 862 0 859 11 10 1 3 0 8 0 rtentry 176 302 0 264 5 0 5 5 0 8 0 unpcb 144 3206 0 3187 28 27 1 5 0 8 0 syncache 336 8 0 8 5 5 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 1584 0 1578 29 26 3 7 0 8 2 arp 128 34 0 28 1 0 1 1 0 8 0 inpcb 328 5799 0 5789 65 62 3 12 0 8 1 nd6 144 48 0 43 1 0 1 1 0 8 0 pkpcb 40 56 0 56 16 15 1 1 0 8 1 kcovpl 48 18 0 14 1 0 1 1 0 8 0 mppekey 1024 3 0 3 3 3 0 1 0 8 0 ppxss 1192 187 0 187 10 9 1 1 0 8 1 pppxif 1504 15 0 15 11 11 0 1 0 8 0 pfstscr 40 31 0 31 3 3 0 1 0 8 0 pffrag 232 34 0 29 2 1 1 1 0 482 0 pffrnode 88 24 0 20 2 1 1 1 0 8 0 pffrent 40 52 0 47 2 1 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 pfrktable 1344 18 0 18 7 7 0 1 0 8 0 pfanchor 1288 5 0 3 3 2 1 1 0 8 0 pftag 88 2 0 1 2 1 1 1 0 8 0 pfstitem 24 324 0 283 1 0 1 1 0 8 0 pfstkey 128 446 0 403 4 0 4 4 0 8 0 pfstate 384 395 0 356 11 4 7 11 0 8 0 pfrule 1344 43 0 38 2 1 1 2 0 8 0 rttmr 136 7 0 7 6 6 0 1 0 8 0 art_heap8 4096 5 0 1 5 1 4 4 0 8 0 art_heap4 256 1497 0 1339 39 21 18 31 0 8 0 art_table 40 1502 0 1340 5 1 4 5 0 8 0 art_node 32 297 0 267 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 17 2 1 1 1 0 8 0 semapl 112 161 0 151 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 84 0 67 3 0 3 3 0 8 0 dino2pl 256 10182 0 8643 98 1 97 97 0 8 0 ffsino 296 10182 0 8643 121 2 119 119 0 8 0 nchpl 144 16330 0 14587 65 0 65 65 0 8 0 rtmask 32 36 0 36 11 11 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 59172 0 59172 6 5 1 2 0 8 1 percpumem 16 304 0 258 1 0 1 1 0 8 0 pfiaddrpl 120 4 0 4 3 3 0 1 0 8 0 kstatmem 264 394 0 370 3 0 3 3 0 8 0 scsiplug 72 25 0 25 15 15 0 1 0 8 0 scxspl 216 94786 0 94786 18 17 1 8 1 8 1 plimitpl 152 986 0 966 1 0 1 1 0 8 0 sigapl 424 4718 0 4666 7 0 7 7 0 8 0 knotepl 120 937 0 0 23 0 23 23 0 8 0 kqueuepl 224 1912 0 1902 22 21 1 5 0 8 0 pipepl 344 668 0 638 10 7 3 9 0 8 0 fdescpl 528 4687 0 4659 3 0 3 3 0 8 0 filepl 160 35603 0 35417 45 32 13 24 0 8 0 lockfpl 104 1787 0 1785 3 2 1 2 0 8 0 lockfspl 48 581 0 579 1 0 1 1 0 8 0 sessionpl 144 37 0 28 1 0 1 1 0 8 0 pgrppl 48 185 0 166 1 0 1 1 0 8 0 ucredpl 104 5901 0 5887 1 0 1 1 0 8 0 zombiepl 144 6099 0 6098 6 5 1 1 0 8 0 processpl 1232 4718 0 4666 5 0 5 5 0 8 0 procpl 664 11959 0 11900 11 4 7 7 0 8 0 sosppl 168 64 0 64 14 14 0 1 0 8 0 sockpl 752 10126 0 10094 115 106 9 23 0 8 4 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 135 0 0 17 0 17 17 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 80 1 0 6 1 5 6 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 760 134 0 33 0 33 33 0 8 0 bufpl 280 35747 0 29604 440 0 440 440 0 8 0 anonpl 32 16808 0 0 135 0 135 135 0 246 0 amapchunkpl 152 147328 0 146855 93 67 26 34 0 158 0 amappl16 200 14596 0 14248 121 90 31 39 0 8 3 amappl15 192 7 0 7 3 3 0 1 0 8 0 amappl14 184 181 0 169 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 5536 0 5514 3 1 2 2 0 8 0 amappl11 160 52 0 37 1 0 1 1 0 8 0 amappl10 152 9 0 8 1 0 1 1 0 8 0 amappl9 144 271 0 271 1 1 0 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 130 0 117 1 0 1 1 0 8 0 amappl6 120 273 0 269 1 0 1 1 0 8 0 amappl5 112 163 0 152 1 0 1 1 0 8 0 amappl4 104 337 0 315 1 0 1 1 0 8 0 amappl3 96 30280 0 30193 4 0 4 4 0 8 0 amappl2 88 827 0 763 2 0 2 2 0 8 0 amappl1 80 26974 0 26392 17 3 14 15 0 8 0 amappl 88 40225 0 40083 5 0 5 5 0 92 0 dma65536 65536 2 0 2 2 2 0 1 0 8 0 dma16384 16384 2 0 2 2 2 0 1 0 8 0 dma4096 4096 3 0 3 3 3 0 1 0 8 0 dma1024 1024 3 0 2 1 0 1 1 0 8 0 dma512 512 3 0 3 2 2 0 1 0 8 0 dma256 256 10 0 10 3 3 0 1 0 8 0 dma128 128 264 0 264 10 10 0 1 0 8 0 dma64 64 8 0 8 3 3 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 4687 0 4659 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4687 0 4659 1 0 1 1 0 8 0 vmmpekpl 168 33553 0 33493 4 1 3 4 0 8 0 vmmpepl 168 299949 0 297892 172 58 114 124 0 357 0 vmsppl 488 4686 0 4659 5 0 5 5 0 8 0 rwobjpl 80 78267 0 70984 164 8 156 158 0 8 0 pdppl 4096 9382 0 9318 124 60 64 86 0 8 0 pvpl 32 24968 0 0 200 0 200 200 0 265 0 pmappl 256 4686 0 4659 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 387 0 135 9 1 8 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace dt_ioctl_record_stop(ffff8000015dd000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff80002a2b6050) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80002a2b6050) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a3b7130) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806e1797a8,81,fffffd80097fb4e0,ffff80002a2b6050) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b83f540,ffff80002a2b6050) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b83f540,ffff80002a2b6050) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b83f540,ffff80002a2b6050) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b83f540,ffff80002a2b6050) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80002a2b6050) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80002a2b6050,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002a2b6050,ffff80002a3b74a0,ffff80002a3b73f0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a3b74a0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a3b74a0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e68934a3eb0, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) 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+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299edff0) 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+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5