uvm_fault(0xfffffd80710bee68, 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(ffff800001443b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c93b4e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c93b4e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a7953f0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806855c488,81,fffffd8007bfd5b0,ffff80003c93b4e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80692a29d8,ffff80003c93b4e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80692a29d8,ffff80003c93b4e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80692a29d8,ffff80003c93b4e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80692a29d8,ffff80003c93b4e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93b4e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93b4e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b4e0,ffff80002a795750,ffff80002a7956a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a795750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a795750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e03602fb380, 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(0xfffffd80710bee68, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001443b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c93b4e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c93b4e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a7953f0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806855c488,81,fffffd8007bfd5b0,ffff80003c93b4e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80692a29d8,ffff80003c93b4e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80692a29d8,ffff80003c93b4e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80692a29d8,ffff80003c93b4e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80692a29d8,ffff80003c93b4e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93b4e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93b4e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b4e0,ffff80002a795750,ffff80002a7956a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a795750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a795750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e03602fb380, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a795320 rbx 0x1 rdx 0 rcx 0xffff80003c93b4e0 rax 0xffffffff83794780 dt_prov_static r8 0xffffffffffffffff r9 0 r10 0xeae6e4bba93477ff r11 0x5b73b08abf3b9539 r12 0 r13 0 r14 0 r15 0xffff8000015e3b00 rip 0xffffffff8193c398 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80002a7952f0 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=16900 pid=58747 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c93b4e0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c9367f0,0xffff80003c93a7f8 process=0xffff8000ffff9b18 user=0xffff80002a790000, vmspace=0xfffffd80710bee68 estcpu=36, cpticks=5, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 50005 427645 61615 0 2 0 syz-executor 50005 83934 61615 0 3 0x4000080 fsleep syz-executor 50005 440806 61615 0 3 0x4000080 fsleep syz-executor 52801 360924 11296 0 2 0 syz-executor 52801 107937 11296 0 3 0x4000080 fsleep syz-executor 59992 270407 50768 0 2 0 syz-executor 59992 145550 50768 0 3 0x4000080 fsleep syz-executor 36959 500205 89496 0 2 0x2 syz-executor 38728 206343 89464 0 3 0x80 nanoslp syz-executor 38728 317215 89464 0 3 0x4000080 fsleep syz-executor 38728 137589 89464 0 3 0x4000080 fsleep syz-executor 38728 199357 89464 0 3 0x4000080 lockf syz-executor 38728 446287 89464 0 3 0x4000080 fsleep syz-executor 11296 365203 89496 0 3 0x82 nanoslp syz-executor 97545 101260 89496 0 3 0x82 nanoslp syz-executor 55169 437235 1 0 3 0x100083 ttyin getty 14671 316770 89496 0 3 0x82 wait syz-executor 69477 477925 89496 0 3 0x82 wait syz-executor 50768 143124 89496 0 3 0x82 nanoslp syz-executor 61615 170561 89496 0 3 0x82 nanoslp syz-executor 89464 242552 89496 0 3 0x82 nanoslp syz-executor 89496 492572 57362 0 3 0x82 kqread syz-executor 57362 509808 45051 0 3 0x10008a sigsusp ksh 45051 251577 81822 0 3 0x98 kqread sshd-session 81822 17352 25080 0 3 0x92 kqread sshd-session 25080 4190 1 0 3 0x88 kqread sshd 20487 373955 2399 73 3 0x1100090 kqread syslogd 2399 521148 1 0 3 0x100082 sbwait syslogd 68725 501265 1 0 3 0x100080 kqread resolvd 53231 122627 44607 77 3 0x100092 kqread dhcpleased 80443 397431 44607 77 3 0x100092 kqread dhcpleased 44607 99590 1 0 3 0x80 kqread dhcpleased 32450 4155 0 0 3 0x14200 bored smr 66015 37982 0 0 2 0x14200 zerothread 62301 252773 0 0 3 0x14200 aiodoned aiodoned 41258 271549 0 0 3 0x14200 syncer update 66093 68237 0 0 3 0x14200 cleaner cleaner 86102 155702 0 0 2 0x14200 reaper 32350 10239 0 0 3 0x14200 pgdaemon pagedaemon 72898 226252 0 0 3 0x14200 bored viomb 69836 477230 0 0 3 0x40014200 acpi0 acpi0 55332 217304 0 0 3 0x14200 bored softnet0 28934 433829 0 0 3 0x14200 smrbar systqmp 73702 471528 0 0 3 0x14200 bored systq 83119 168977 0 0 3 0x40014200 tmoslp softclock 94266 397612 0 0 3 0x40014200 idle0 1 49983 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 10224 11111K 12226K 166960K 13296 0 pcb 17 12K 12K 166960K 191 0 rtable 242 11K 11K 166960K 590 0 pf 36 14K 20K 166960K 134 0 ifaddr 41 7K 8K 166960K 104 0 ifgroup 59 2K 2K 166960K 161 0 sysctl 4 1K 9K 166960K 16 0 counters 35 18K 18K 166960K 82 0 ioctlops 0 0K 4K 166960K 189 0 iov 0 0K 12K 166960K 85 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1561 98K 98K 166960K 2406 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 35 0 dirhash 12 2K 3K 166960K 30 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 998 0 sigio 0 0K 0K 166960K 18 0 proc 61 59K 124K 166960K 649 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 109 0 in_multi 88 6K 7K 166960K 166 0 ether_multi 1 0K 0K 166960K 4 0 mrt 2 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 564 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 245 160K 171K 166960K 10879 0 UVM aobj 20 4K 6K 166960K 22 0 pinsyscall 38 76K 96K 166960K 2152 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 80 0 NDP 15 0K 2K 166960K 71 0 temp 68 8669K 8794K 166960K 59067 0 kqueue 13 20K 33K 166960K 206 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 105 0 102 1 0 1 1 0 8 0 rtentry 136 171 0 75 4 0 4 4 0 8 0 unpcb 144 671 0 655 7 5 2 6 0 8 1 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 365 0 359 13 4 9 10 0 8 8 arp 96 26 0 7 1 0 1 1 0 8 0 ipq 40 9 0 5 2 1 1 1 0 8 0 ipqe 40 15 0 11 2 1 1 1 0 8 0 inpcb 328 946 0 935 12 2 10 10 0 8 8 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 3 0 0 1 0 1 1 0 8 0 nd6 112 36 0 14 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1072 36 0 36 2 1 1 1 0 8 1 pppxif 1384 6 0 6 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 6 1 0 1 1 0 8 0 pfstate 384 4 0 3 1 0 1 1 0 8 0 pfrule 1344 3 0 3 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 728 0 321 31 2 29 31 0 8 3 art_table 40 732 0 321 5 0 5 5 0 8 0 art_node 32 169 0 82 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 11 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 32 0 22 1 0 1 1 0 8 0 shmpl 112 17 0 1 1 0 1 1 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 3177 0 1672 95 0 95 95 0 8 0 ffsino 256 3177 0 1672 95 0 95 95 0 8 0 nchpl 144 4540 0 2836 65 1 64 64 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 vnodes 216 3970 0 0 221 0 221 221 0 8 0 namei 1024 16164 0 16163 4 2 2 2 0 8 1 vcpupl 3904 1 0 0 1 0 1 1 0 8 0 vmpool 800 2 0 1 1 0 1 1 0 8 0 kstatmem 264 92 0 66 3 1 2 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 16115 0 16115 10 2 8 8 1 8 8 plimitpl 152 166 0 150 1 0 1 1 0 8 0 sigapl 424 1301 0 1259 8 3 5 8 0 8 0 knotepl 120 314590 0 314543 17 7 10 10 0 8 7 kqueuepl 184 324 0 315 3 1 2 2 0 8 1 pipepl 304 177 0 150 3 0 3 3 0 8 0 fdescpl 448 1267 0 1238 5 1 4 5 0 8 0 filepl 120 7655 0 7437 14 4 10 12 0 8 1 lockfpl 104 493 0 488 2 1 1 2 0 8 0 lockfspl 48 155 0 152 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 52 0 36 1 0 1 1 0 8 0 ucredpl 104 1037 0 1026 1 0 1 1 0 8 0 zombiepl 144 1660 0 1657 1 0 1 1 0 8 0 processpl 1152 1301 0 1259 5 0 5 5 0 8 1 procpl 664 2713 0 2662 7 1 6 7 0 8 1 sosppl 176 2 0 2 1 0 1 1 0 8 1 sockpl 552 1743 0 1713 19 9 10 12 0 8 6 mcl64k 65536 155 0 154 2 1 1 1 0 8 0 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 34 0 34 2 1 1 1 0 8 1 mcl8k 8192 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 3600 0 3549 14 6 8 13 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 1479 0 1473 6 3 3 3 0 8 2 mtagpl 96 93 0 74 3 0 3 3 0 8 1 mbufpl 256 15345 0 15156 94 70 24 92 0 8 8 bufpl 280 5166 0 124 361 0 361 361 0 8 0 anonpl 24 233606 0 225392 95 0 95 95 0 187 14 amapchunkpl 152 36483 0 35910 40 4 36 36 0 158 9 amappl16 200 5366 0 5109 59 25 34 34 0 8 6 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 5 0 5 2 1 1 1 0 8 1 amappl13 176 440 0 439 1 0 1 1 0 8 0 amappl12 168 1629 0 1591 2 0 2 2 0 8 0 amappl11 160 10 0 9 2 1 1 1 0 8 0 amappl10 152 49 0 38 1 0 1 1 0 8 0 amappl9 144 250 0 250 1 1 0 1 0 8 0 amappl8 136 18 0 16 1 0 1 1 0 8 0 amappl7 128 133 0 132 1 0 1 1 0 8 0 amappl6 120 307 0 296 1 0 1 1 0 8 0 amappl5 112 70 0 63 1 0 1 1 0 8 0 amappl4 104 406 0 383 1 0 1 1 0 8 0 amappl3 96 7136 0 7032 4 0 4 4 0 8 1 amappl2 88 538 0 483 2 0 2 2 0 8 0 amappl1 80 12464 0 11928 13 1 12 13 0 8 0 amappl 88 9995 0 9819 5 0 5 5 0 92 0 uvmvnodes 80 117 0 0 3 0 3 3 0 8 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 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 7 0 7 2 1 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 21 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1267 0 1238 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1267 0 1238 1 0 1 1 0 8 0 vmmpekpl 168 11233 0 11195 2 0 2 2 0 8 0 vmmpepl 168 87552 0 85529 108 1 107 107 0 357 2 vmsppl 368 1266 0 1238 4 1 3 4 0 8 0 rwobjpl 40 25999 0 24786 17 0 17 17 0 8 0 pdppl 4096 2544 0 2479 107 38 69 82 0 8 4 pvpl 32 596068 0 582514 184 0 184 184 0 265 18 pmappl 216 1268 0 1239 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 486 0 132 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001443b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c93b4e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c93b4e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a7953f0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806855c488,81,fffffd8007bfd5b0,ffff80003c93b4e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80692a29d8,ffff80003c93b4e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80692a29d8,ffff80003c93b4e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80692a29d8,ffff80003c93b4e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80692a29d8,ffff80003c93b4e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93b4e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93b4e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b4e0,ffff80002a795750,ffff80002a7956a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a795750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a795750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e03602fb380, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001443b80) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c93b4e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c93b4e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a7953f0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806855c488,81,fffffd8007bfd5b0,ffff80003c93b4e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80692a29d8,ffff80003c93b4e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80692a29d8,ffff80003c93b4e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd80692a29d8,ffff80003c93b4e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd80692a29d8,ffff80003c93b4e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c93b4e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80003c93b4e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b4e0,ffff80002a795750,ffff80002a7956a0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a795750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a795750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e03602fb380, count: -12