uvm_fault(0xfffffd8072602468, 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(ffff80000159a980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002f4f14e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002f4f14e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800031d03a50) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806d057cc8,1,fffffd8007bfd820,ffff80002f4f14e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060a09798,ffff80002f4f14e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060a09798,ffff80002f4f14e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8060a09798,ffff80002f4f14e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060a09798,ffff80002f4f14e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f4f14e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f4f14e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f4f14e0,ffff800031d03db0,ffff800031d03d00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031d03db0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031d03db0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f327b82bf20, 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(0xfffffd8072602468, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff80000159a980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002f4f14e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002f4f14e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800031d03a50) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806d057cc8,1,fffffd8007bfd820,ffff80002f4f14e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060a09798,ffff80002f4f14e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060a09798,ffff80002f4f14e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8060a09798,ffff80002f4f14e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060a09798,ffff80002f4f14e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f4f14e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f4f14e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f4f14e0,ffff800031d03db0,ffff800031d03d00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031d03db0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031d03db0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f327b82bf20, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff800031d03980 rbx 0x1 rdx 0 rcx 0xffff80002f4f14e0 rax 0xffffffff837be940 dt_prov_static r8 0x9 r9 0 r10 0x3b4ee74af5557974 r11 0xea7ca3afbdd724da r12 0 r13 0 r14 0 r15 0xffff800001599d00 rip 0xffffffff827537c8 dt_ioctl_record_stop+0x108 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff800031d03950 ss 0x10 dt_ioctl_record_stop+0x108: movq 0(%r14),%r14 ddb> show proc PROC (syz-executor) tid=474120 pid=18397 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002f4f14e0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002f4f0020,0xffffffff839c5040 process=0xffff80002f4ed218 user=0xffff800031cfe000, vmspace=0xfffffd8072602468 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 70439 504143 46906 0 3 0x80 fsleep syz-executor 70439 261771 46906 0 3 0x4000080 ttyout syz-executor 63330 178518 91959 0 3 0x80 fsleep syz-executor 63330 438945 91959 0 3 0x4000080 lockf syz-executor 68871 3967 34020 0 3 0x80 fsleep syz-executor 68871 351269 34020 0 3 0x4000080 kqread syz-executor 56797 186468 99779 -1 3 0x90 fsleep syz-executor 56797 269292 99779 -1 3 0x4000090 netcon syz-executor 99779 86640 78566 0 3 0x82 nanoslp syz-executor 34020 43111 78566 0 3 0x82 nanoslp syz-executor 77113 353156 78566 0 3 0x82 nanoslp syz-executor 49526 289054 78566 0 3 0x82 wait syz-executor 46906 316786 78566 0 3 0x82 nanoslp syz-executor 46270 380633 78566 0 3 0x82 wait syz-executor 30051 332302 78566 0 3 0x82 wait syz-executor 91959 303505 78566 0 3 0x82 nanoslp syz-executor 78566 78291 82944 0 3 0x82 kqread syz-executor 82944 430598 40191 0 3 0x10008a sigsusp ksh 40191 31630 93662 0 3 0x98 kqread sshd-session 93662 36331 22881 0 3 0x92 kqread sshd-session 25731 398512 1 0 3 0x100083 ttyin getty 22881 258882 1 0 3 0x88 kqread sshd 31329 21154 33187 73 3 0x1100090 kqread syslogd 33187 287392 1 0 3 0x100082 sbwait syslogd 17125 7089 1 0 3 0x100080 kqread resolvd 35622 137317 44196 77 3 0x100092 kqread dhcpleased 73975 202846 44196 77 3 0x100092 kqread dhcpleased 44196 420640 1 0 3 0x80 kqread dhcpleased 41803 195536 0 0 3 0x14200 bored smr 49254 397248 0 0 3 0x14200 pgzero zerothread 51705 75713 0 0 3 0x14200 aiodoned aiodoned 62631 38375 0 0 3 0x14200 syncer update 56188 141118 0 0 3 0x14200 cleaner cleaner 26431 126644 0 0 2 0x14200 reaper 57912 212932 0 0 3 0x14200 pgdaemon pagedaemon 55319 107947 0 0 3 0x14200 bored viomb 33196 234552 0 0 3 0x40014200 acpi0 acpi0 65623 490563 0 0 3 0x14200 bored softnet0 47739 50741 0 0 3 0x14200 bored systqmp 82911 385231 0 0 3 0x14200 bored systq 45464 485793 0 0 3 0x40014200 tmoslp softclock 38713 468432 0 0 3 0x40014200 idle0 1 6042 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 11044 12210K 12513K 166960K 12415 0 pcb 17 12K 12K 166960K 56 0 rtable 209 7K 7K 166960K 395 0 pf 28 12K 13K 166960K 41 0 ifaddr 35 6K 7K 166960K 51 0 ifgroup 44 1K 2K 166960K 63 0 sysctl 2 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 40 0 ioctlops 0 0K 4K 166960K 113 0 iov 0 0K 12K 166960K 6 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1366 86K 86K 166960K 1494 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 13 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 260 0 sigio 0 0K 0K 166960K 6 0 proc 59 59K 83K 166960K 484 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 14 0 in_multi 77 5K 7K 166960K 102 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 4 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 372 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 235 151K 158K 166960K 4042 0 UVM aobj 7 2K 2K 166960K 7 0 pinsyscall 39 78K 94K 166960K 1338 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 16 0 NDP 10 0K 2K 166960K 32 0 temp 38 8670K 8734K 166960K 4412 0 kqueue 14 22K 28K 166960K 51 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 49 0 45 1 0 1 1 0 8 0 rtentry 136 111 0 23 4 0 4 4 0 8 0 unpcb 144 117 0 102 2 1 1 2 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 47 0 38 3 1 2 2 0 8 1 arp 96 18 0 4 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 166 0 152 2 0 2 2 0 8 0 nd6 112 24 0 6 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 6 0 5 2 1 1 1 0 8 0 pfrule 1360 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 88 29 5 24 29 0 8 0 art_table 40 454 0 88 5 0 5 5 0 8 0 art_node 32 111 0 31 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 112 11 0 5 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1801 0 295 95 0 95 95 0 8 0 ffsino 256 1801 0 295 95 0 95 95 0 8 0 nchpl 144 2163 0 469 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 1962 0 0 109 0 109 109 0 8 0 namei 1024 6230 0 6230 3 2 1 2 0 8 1 kstatmem 264 32 0 12 2 0 2 2 0 8 0 scxspl 216 6650 0 6650 4 3 1 4 1 8 1 plimitpl 152 40 0 22 1 0 1 1 0 8 0 sigapl 424 549 0 506 6 1 5 6 0 8 0 knotepl 120 9600 0 9549 24 15 9 17 0 8 7 kqueuepl 184 58 0 48 1 0 1 1 0 8 0 pipepl 304 124 0 97 3 0 3 3 0 8 0 fdescpl 448 536 0 506 5 1 4 5 0 8 0 filepl 120 2086 0 1853 8 0 8 8 0 8 0 lockfpl 104 49 0 43 1 0 1 1 0 8 0 lockfspl 48 23 0 19 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 209 0 197 1 0 1 1 0 8 0 zombiepl 144 522 0 518 2 1 1 1 0 8 0 processpl 1152 549 0 506 4 0 4 4 0 8 0 procpl 664 740 0 690 5 0 5 5 0 8 0 sosppl 176 1 0 1 1 1 0 1 0 8 0 sockpl 552 336 0 303 5 2 3 5 0 8 0 mcl64k 65536 4 0 4 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 2625 0 2571 15 7 8 14 0 8 0 mcl2k 2048 233 0 232 2 1 1 1 0 8 0 mtagpl 96 8 0 6 1 0 1 1 0 8 0 mbufpl 256 5438 0 5283 12 1 11 11 0 8 0 bufpl 280 2401 0 120 163 0 163 163 0 8 0 anonpl 24 109385 0 106199 48 4 44 44 0 187 23 amapchunkpl 152 11802 0 11306 26 6 20 25 0 158 0 amappl16 200 2148 0 2121 18 3 15 15 0 8 13 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 84 0 84 1 1 0 1 0 8 0 amappl13 176 411 0 410 1 0 1 1 0 8 0 amappl12 168 877 0 838 2 0 2 2 0 8 0 amappl11 160 10 0 10 1 1 0 1 0 8 0 amappl10 152 41 0 31 1 0 1 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 39 0 37 1 0 1 1 0 8 0 amappl7 128 84 0 83 1 0 1 1 0 8 0 amappl6 120 264 0 253 1 0 1 1 0 8 0 amappl5 112 108 0 100 1 0 1 1 0 8 0 amappl4 104 381 0 355 1 0 1 1 0 8 0 amappl3 96 1916 0 1825 3 0 3 3 0 8 0 amappl2 88 647 0 574 2 0 2 2 0 8 0 amappl1 80 9179 0 8637 13 1 12 13 0 8 0 amappl 88 3328 0 3161 4 0 4 4 0 92 0 uvmvnodes 80 99 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 253 0 253 1 1 0 1 0 8 0 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 536 0 506 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 536 0 506 1 0 1 1 0 8 0 vmmpekpl 168 5911 0 5886 2 0 2 2 0 8 0 vmmpepl 168 41589 0 39761 94 4 90 90 0 357 10 vmsppl 368 535 0 506 4 1 3 4 0 8 0 rwobjpl 40 14420 0 13472 12 0 12 12 0 8 2 pdppl 4096 1079 0 1012 101 34 67 81 0 8 0 pvpl 32 258429 0 249553 124 10 114 114 0 265 38 pmappl 216 535 0 506 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 377 0 58 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff80000159a980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002f4f14e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002f4f14e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800031d03a50) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806d057cc8,1,fffffd8007bfd820,ffff80002f4f14e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060a09798,ffff80002f4f14e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060a09798,ffff80002f4f14e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8060a09798,ffff80002f4f14e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060a09798,ffff80002f4f14e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f4f14e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f4f14e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f4f14e0,ffff800031d03db0,ffff800031d03d00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031d03db0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031d03db0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f327b82bf20, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff80000159a980) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,1,2000,ffff80002f4f14e0) at dtclose+0xd9 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80002f4f14e0) at dtclose+0xd9 sys/dev/dt/dt_dev.c:239 spec_close(ffff800031d03a50) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806d057cc8,1,fffffd8007bfd820,ffff80002f4f14e0) at VOP_CLOSE+0x129 sys/kern/vfs_vops.c:156 vn_closefile(fffffd8060a09798,ffff80002f4f14e0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8060a09798,ffff80002f4f14e0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8060a09798,ffff80002f4f14e0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd8060a09798,ffff80002f4f14e0) at closef+0x190 sys/kern/kern_descrip.c:1264 fdfree(ffff80002f4f14e0) at fdfree+0x115 sys/kern/kern_descrip.c:1195 exit1(ffff80002f4f14e0,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80002f4f14e0,ffff800031d03db0,ffff800031d03d00) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff800031d03db0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800031d03db0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f327b82bf20, count: -12