uvm_fault(0xfffffd806c29a9e8, 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(ffff800001498280) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,1,2000,ffff80003c93b4a0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c93b4a0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c9417f0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80660e7550,1,fffffd8007bfb750,ffff80003c93b4a0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069c2da60,ffff80003c93b4a0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069c2da60,ffff80003c93b4a0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069c2da60,ffff80003c93b4a0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8069c2da60,ffff80003c93b4a0) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80003c93b4a0) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003c93b4a0,0,0,1) at exit1+0x5a0 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b4a0,ffff80003c941b60,ffff80003c941ab0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c941b60) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c941b60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bf32c2a2250, 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(0xfffffd806c29a9e8, 0x0, 0, 1) -> e ddb> trace dt_ioctl_record_stop(ffff800001498280) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,1,2000,ffff80003c93b4a0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c93b4a0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c9417f0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80660e7550,1,fffffd8007bfb750,ffff80003c93b4a0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069c2da60,ffff80003c93b4a0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069c2da60,ffff80003c93b4a0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069c2da60,ffff80003c93b4a0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8069c2da60,ffff80003c93b4a0) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80003c93b4a0) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003c93b4a0,0,0,1) at exit1+0x5a0 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b4a0,ffff80003c941b60,ffff80003c941ab0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c941b60) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c941b60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bf32c2a2250, count: -12 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c941720 rbx 0xffffffff81a3a890 dtclose rdx 0 rcx 0xffff80003c93b4a0 rax 0xffffffff837ebf30 dt_prov_syscall r8 0 r9 0 r10 0xcee042412f4d1303 r11 0x410603a8216ae799 r12 0xffff80000006ad80 r13 0 r14 0 r15 0xffff800001499b00 rip 0xffffffff81a3ac10 dt_ioctl_record_stop+0xf0 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80003c9416f0 ss 0x10 dt_ioctl_record_stop+0xf0: movq 0(%r14),%r12 ddb> show proc PROC (syz-executor) tid=148340 pid=48691 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003c93b4a0 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a8d9c48,0xffff80002a8d8a68 process=0xffff8000ffff8928 user=0xffff80003c93c000, vmspace=0xfffffd806c29a9e8 estcpu=0, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 72964 421643 42558 0 2 0 syz-executor 92330 459141 58815 0 2 0 syz-executor 22323 425371 51526 0 3 0x80 nanoslp syz-executor 22323 306205 51526 0 3 0x4000080 kqread syz-executor 22323 467646 51526 0 3 0x4000080 fsleep syz-executor 17995 219818 89948 60929 2 0x10 syz-executor 17995 487421 89948 60929 3 0x4000090 fsleep syz-executor 17995 468988 89948 60929 3 0x4000090 fsleep syz-executor 67281 295705 0 0 3 0x14200 acct acct 47761 464930 11787 0 2 0x2 syz-executor 51526 275486 11787 0 3 0x82 nanoslp syz-executor 31709 136724 11787 0 3 0x82 nanoslp syz-executor 62976 393596 11787 0 3 0x82 nanoslp syz-executor 89948 325921 11787 0 3 0x82 nanoslp syz-executor 42558 30156 11787 0 3 0x82 nanoslp syz-executor 58815 32379 11787 0 3 0x82 nanoslp syz-executor 77837 367237 11787 0 2 0x10000082 syz-executor 11787 392226 8239 0 2 0x2 syz-executor 8239 21314 27595 0 3 0x10008a sigsusp ksh 27595 438874 63117 0 3 0x98 kqread sshd-session 63117 332563 66462 0 3 0x92 kqread sshd-session 16466 240066 1 0 3 0x100083 ttyin getty 66462 446271 1 0 3 0x88 kqread sshd 10193 32807 45920 73 3 0x1100090 kqread syslogd 45920 124982 1 0 3 0x100082 sbwait syslogd 4791 359051 1 0 3 0x100080 kqread resolvd 845 65862 48287 77 3 0x100092 kqread dhcpleased 38898 50542 48287 77 3 0x100092 kqread dhcpleased 48287 384672 1 0 3 0x80 kqread dhcpleased 4593 302167 0 0 3 0x14200 bored smr 6973 402007 0 0 2 0x14200 zerothread 84519 261788 0 0 3 0x14200 aiodoned aiodoned 9655 193565 0 0 3 0x14200 syncer update 45305 105696 0 0 3 0x14200 cleaner cleaner 33585 210900 0 0 3 0x14200 reaper reaper 68126 58555 0 0 3 0x14200 pgdaemon pagedaemon 81198 246809 0 0 3 0x14200 bored viomb 53712 488213 0 0 3 0x40014200 acpi0 acpi0 57477 423259 0 0 3 0x14200 bored softnet3 98024 499907 0 0 3 0x14200 bored softnet2 34264 168410 0 0 3 0x14200 bored softnet1 96352 362922 0 0 2 0x14200 softnet0 81700 248949 0 0 3 0x14200 bored systqmp 45556 384088 0 0 3 0x14200 bored systq 10346 463329 0 0 3 0x40014200 tmoslp softclock 41011 320330 0 0 3 0x40014200 idle0 1 113124 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 10193 11122K 11362K 166960K 11518 0 pcb 18 12K 12K 166960K 36 0 rtable 243 7K 8K 166960K 376 0 pf 30 12K 14K 166960K 37 0 ifaddr 42 7K 7K 166960K 47 0 ifgroup 50 2K 2K 166960K 60 0 sysctl 4 1K 9K 166960K 10 0 counters 32 17K 17K 166960K 35 0 ioctlops 0 0K 2K 166960K 43 0 iov 0 0K 1K 166960K 2 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1347 85K 85K 166960K 1424 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 203 0 sigio 0 0K 0K 166960K 5 0 proc 59 59K 124K 166960K 481 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 16 0 in_multi 99 7K 7K 166960K 105 0 ether_multi 1 0K 0K 166960K 3 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 348 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 195 142K 156K 166960K 3377 0 UVM aobj 5 2K 2K 166960K 6 0 pinsyscall 37 74K 96K 166960K 1235 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 11 0K 2K 166960K 30 0 temp 35 8674K 8738K 166960K 4012 0 kqueue 14 22K 24K 166960K 31 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 43 0 40 1 0 1 1 0 8 0 rtentry 136 115 0 3 4 0 4 4 0 8 0 unpcb 144 56 0 40 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 808 52 0 48 4 0 4 4 0 8 3 arp 88 18 0 0 1 0 1 1 0 8 0 inpcb 344 145 0 133 4 0 4 4 0 8 2 nd6 104 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 471 0 6 30 0 30 30 0 8 0 art_table 32 473 0 6 4 0 4 4 0 8 0 art_node 16 113 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 112 1 0 1 1 0 1 1 0 8 1 shmpl 112 3 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1679 0 179 95 0 95 95 0 8 0 ffsino 248 1679 0 179 95 0 95 95 0 8 0 nchpl 144 1953 0 271 63 0 63 63 0 8 0 uvmvnodes 80 1803 0 0 37 0 37 37 0 8 0 vnodes 216 1803 0 0 101 0 101 101 0 8 0 namei 1024 5783 0 5783 2 0 2 2 0 8 2 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scxspl 216 6155 0 6155 3 0 3 3 1 8 3 plimitpl 152 34 0 18 1 0 1 1 0 8 0 sigapl 424 484 0 438 7 0 7 7 0 8 1 knotepl 120 5057 0 5009 2 0 2 2 0 8 0 kqueuepl 184 38 0 28 1 0 1 1 0 8 0 pipepl 296 105 0 78 3 0 3 3 0 8 0 fdescpl 440 467 0 439 5 0 5 5 0 8 1 filepl 120 1749 0 1524 8 0 8 8 0 8 0 lockfpl 104 25 0 22 1 0 1 1 0 8 0 lockfspl 48 13 0 10 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 125 0 113 1 0 1 1 0 8 0 zombiepl 144 441 0 438 1 0 1 1 0 8 0 processpl 1160 484 0 438 4 0 4 4 0 8 0 procpl 656 581 0 531 5 0 5 5 0 8 0 sockpl 528 247 0 216 5 0 5 5 0 8 2 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2496 0 2444 14 0 14 14 0 8 7 mcl2k 2048 181 0 180 1 0 1 1 0 8 0 mtagpl 96 8 0 6 1 0 1 1 0 8 0 mbufpl 256 4736 0 4589 10 0 10 10 0 8 0 bufpl 280 2314 0 118 157 0 157 157 0 8 0 anonpl 24 89281 0 86397 22 0 22 22 0 187 1 amapchunkpl 152 9499 0 9122 20 0 20 20 0 158 1 amappl16 200 1426 0 1406 4 0 4 4 0 8 2 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 120 0 110 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 0 1 1 0 8 1 amappl12 168 1078 0 1051 3 0 3 3 0 8 1 amappl11 160 58 0 48 1 0 1 1 0 8 0 amappl10 152 7 0 6 1 0 1 1 0 8 0 amappl9 144 246 0 246 1 0 1 1 0 8 1 amappl8 136 25 0 24 1 0 1 1 0 8 0 amappl7 128 98 0 88 1 0 1 1 0 8 0 amappl6 120 167 0 164 1 0 1 1 0 8 0 amappl5 112 113 0 106 1 0 1 1 0 8 0 amappl4 104 294 0 280 1 0 1 1 0 8 0 amappl3 96 1618 0 1533 3 0 3 3 0 8 0 amappl2 88 609 0 555 2 0 2 2 0 8 0 amappl1 80 8034 0 7496 13 0 13 13 0 8 1 amappl 88 2724 0 2591 4 0 4 4 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 5 0 1 1 0 1 1 0 8 0 uaddrrnd 24 467 0 439 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 467 0 439 1 0 1 1 0 8 0 vmmpekpl 168 5337 0 5305 2 0 2 2 0 8 0 vmmpepl 168 35706 0 33977 84 0 84 84 0 357 3 vmsppl 360 466 0 439 4 0 4 4 0 8 1 rwobjpl 32 13825 0 11226 22 0 22 22 0 8 0 pdppl 4096 940 0 878 96 28 68 82 0 8 6 pvpl 32 217195 0 209408 88 0 88 88 0 265 8 pmappl 216 466 0 439 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 263 0 28 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace dt_ioctl_record_stop(ffff800001498280) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,1,2000,ffff80003c93b4a0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c93b4a0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c9417f0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80660e7550,1,fffffd8007bfb750,ffff80003c93b4a0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069c2da60,ffff80003c93b4a0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069c2da60,ffff80003c93b4a0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069c2da60,ffff80003c93b4a0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8069c2da60,ffff80003c93b4a0) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80003c93b4a0) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003c93b4a0,0,0,1) at exit1+0x5a0 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b4a0,ffff80003c941b60,ffff80003c941ab0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c941b60) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c941b60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bf32c2a2250, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace dt_ioctl_record_stop(ffff800001498280) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,1,2000,ffff80003c93b4a0) at dtclose+0xd5 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c93b4a0) at dtclose+0xd5 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c9417f0) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80660e7550,1,fffffd8007bfb750,ffff80003c93b4a0) at VOP_CLOSE+0x12a sys/kern/vfs_vops.c:156 vn_closefile(fffffd8069c2da60,ffff80003c93b4a0) at vn_closefile+0x11d vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd8069c2da60,ffff80003c93b4a0) at vn_closefile+0x11d sys/kern/vfs_vnops.c:615 fdrop(fffffd8069c2da60,ffff80003c93b4a0) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd8069c2da60,ffff80003c93b4a0) at closef+0x18d sys/kern/kern_descrip.c:1251 fdfree(ffff80003c93b4a0) at fdfree+0x115 sys/kern/kern_descrip.c:1182 exit1(ffff80003c93b4a0,0,0,1) at exit1+0x5a0 sys/kern/kern_exit.c:215 sys_exit(ffff80003c93b4a0,ffff80003c941b60,ffff80003c941ab0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c941b60) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c941b60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bf32c2a2250, count: -12