uvm_fault(0xffffffff834dfc38, 0xffff800022d82000, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x52: repe stosq %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *351708 72046 0 0 0x4000000 0 syz-executor.5 memset() at memset+0x52 VOP_WRITE(fffffd806a28f718,ffff80002a659ad0,5,fffffd807f7d77b8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8067f27ac8,ffff80002a659ad0,1) at vn_write+0x238 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a4c27c0,3,ffff80002a659ad0,1,ffff80002a659b90) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_pwritev(ffff80002a4c27c0,ffff80002a659c40,ffff80002a659b90) at sys_pwritev+0xe3 sys/kern/vfs_syscalls.c:3382 syscall(ffff80002a659c40) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x92ea3a82dc0, count: 8 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(0xffffffff834dfc38, 0xffff800022d82000, 0, 2) -> d ddb> trace memset() at memset+0x52 VOP_WRITE(fffffd806a28f718,ffff80002a659ad0,5,fffffd807f7d77b8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8067f27ac8,ffff80002a659ad0,1) at vn_write+0x238 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a4c27c0,3,ffff80002a659ad0,1,ffff80002a659b90) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_pwritev(ffff80002a4c27c0,ffff80002a659c40,ffff80002a659b90) at sys_pwritev+0xe3 sys/kern/vfs_syscalls.c:3382 syscall(ffff80002a659c40) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x92ea3a82dc0, count: -7 ddb> show registers rdi 0xffff800022d82000 rsi 0 rbp 0xffff80002a6598a0 rbx 0xe rdx 0 rcx 0x800 rax 0 r8 0x4000 __ALIGN_SIZE+0x3000 r9 0 r10 0x3cb72d6772a18eda r11 0xffff800022d82000 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0x4000 __ALIGN_SIZE+0x3000 r14 0xffff800022d82000 r15 0x4000 __ALIGN_SIZE+0x3000 rip 0xffffffff82b49372 memset+0x52 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80002a6597d8 ss 0x10 memset+0x52: repe stosq %es:(%rdi) ddb> show proc PROC (syz-executor.5) tid=351708 pid=72046 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=68, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4c36f0,0xffff80002a4c2038 process=0xffff80002a55e6a0 user=0xffff80002a654000, vmspace=0xfffffd806927bad0 estcpu=18, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90449 381470 53593 0 2 0 syz-executor.0 36541 62337 85093 0 2 0x2 sh 41596 352036 66676 0 2 0x100002 sh 72046 195698 1658 0 2 0 syz-executor.5 *72046 351708 1658 0 7 0x4000000 syz-executor.5 72046 239192 1658 0 3 0x4000000 inode syz-executor.5 44662 15196 95072 0 2 0 syz-executor.6 44662 110406 95072 0 2 0x4000000 syz-executor.6 44662 288630 95072 0 3 0x4000000 inode syz-executor.6 44662 66449 95072 0 2 0x4000000 syz-executor.6 34962 446070 10769 0 2 0 syz-executor.4 34962 288330 10769 0 2 0x4000000 syz-executor.4 34962 213604 10769 0 3 0x4000000 inode syz-executor.4 61686 96935 22476 0 2 0 syz-executor.1 61686 261305 22476 0 2 0x4000000 syz-executor.1 61686 337262 22476 0 3 0x4000000 inode syz-executor.1 85093 370565 30476 0 2 0x2 syz-executor.7 66676 378824 30476 0 3 0x82 wait syz-executor.2 5746 76444 30476 0 3 0x82 piperd syz-executor.3 95072 402157 30476 0 2 0x482 syz-executor.6 10769 234355 30476 0 2 0x482 syz-executor.4 1658 211528 30476 0 2 0x482 syz-executor.5 22476 69633 30476 0 2 0x482 syz-executor.1 53593 238275 30476 0 2 0x2 syz-executor.0 30476 221827 74013 0 3 0x82 wait syz-execprog 30476 208999 74013 0 2 0x4000482 syz-execprog 30476 208491 74013 0 3 0x4000082 wait syz-execprog 30476 16107 74013 0 3 0x4000082 wait syz-execprog 30476 345345 74013 0 3 0x4000082 wait syz-execprog 30476 99766 74013 0 3 0x4000082 thrsleep syz-execprog 30476 325772 74013 0 3 0x4000082 wait syz-execprog 30476 452172 74013 0 3 0x4000082 thrsleep syz-execprog 30476 279142 74013 0 3 0x4000082 thrsleep syz-execprog 30476 225875 74013 0 3 0x4000082 wait syz-execprog 30476 32607 74013 0 3 0x4000082 wait syz-execprog 30476 160399 74013 0 3 0x4000082 wait syz-execprog 30476 107600 74013 0 2 0x4000002 syz-execprog 74013 359205 36364 0 3 0x10008a sigsusp ksh 36364 254697 26794 0 3 0x98 kqread sshd-session 26794 133723 76143 0 3 0x92 kqread sshd-session 80850 424474 1 0 3 0x100083 ttyin getty 76143 224215 1 0 3 0x88 kqread sshd 63505 429771 65562 73 2 0x1100090 syslogd 65562 380664 1 0 3 0x100082 sbwait syslogd 40649 456416 1 0 3 0x100080 kqread resolvd 55860 514066 17924 77 3 0x100092 kqread dhcpleased 96936 20824 17924 77 3 0x100092 kqread dhcpleased 17924 503836 1 0 3 0x80 kqread dhcpleased 36299 518523 0 0 3 0x14200 bored smr 72119 214648 0 0 2 0x14200 zerothread 16073 208519 0 0 3 0x14200 aiodoned aiodoned 50439 241775 0 0 3 0x14200 syncer update 73195 380383 0 0 3 0x14200 cleaner cleaner 17091 269438 0 0 3 0x14200 reaper reaper 27675 205330 0 0 3 0x14200 pgdaemon pagedaemon 74676 23862 0 0 3 0x14200 bored viomb 14463 373940 0 0 3 0x40014200 acpi0 acpi0 29474 119606 0 0 3 0x14200 bored softnet3 85533 398825 0 0 3 0x14200 bored softnet2 16235 254044 0 0 3 0x14200 bored softnet1 90205 9839 0 0 3 0x14200 bored softnet0 84412 381161 0 0 3 0x14200 bored systqmp 28796 201405 0 0 3 0x14200 bored systq 85691 130537 0 0 3 0x40014200 tmoslp softclock 16278 86451 0 0 3 0x40014200 idle0 1 326229 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 10164 11040K 11052K 166960K 11245 0 pcb 17 12K 12K 166960K 17 0 rtable 198 5K 5K 166960K 332 0 pf 30 12K 12K 166960K 33 0 ifaddr 37 6K 6K 166960K 43 0 ifgroup 50 2K 2K 166960K 55 0 counters 30 17K 17K 166960K 31 0 ioctlops 0 0K 2K 166960K 28 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1260 79K 79K 166960K 1277 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 69K 166960K 140 0 proc 57 58K 75K 166960K 472 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 78 5K 5K 166960K 89 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 394 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 246 74K 74K 166960K 4148 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 39 78K 104K 166960K 1432 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 23 1K 1K 166960K 26 0 temp 1 6800K 6864K 166960K 4521 0 kqueue 13 20K 20K 166960K 46 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 35 0 32 1 0 1 1 0 8 0 rtentry 112 104 0 12 3 0 3 3 0 8 0 unpcb 144 67 0 52 1 0 1 1 0 8 0 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpcb 808 12 0 9 1 0 1 1 0 8 0 arp 88 18 0 2 1 0 1 1 0 8 0 inpcb 336 62 0 56 1 0 1 1 0 8 0 nd6 104 21 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 417 0 48 24 0 24 24 0 8 0 art_table 32 418 0 48 3 0 3 3 0 8 0 art_node 16 103 0 19 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1610 0 88 96 0 96 96 0 8 0 ffsino 240 1610 0 88 90 0 90 90 0 8 0 nchpl 144 1894 0 115 67 0 67 67 0 8 0 uvmvnodes 80 1620 0 0 34 0 34 34 0 8 0 vnodes 216 1620 0 0 90 0 90 90 0 8 0 namei 1024 7347 0 7347 2 0 2 2 0 8 2 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 8936 0 8936 8 0 8 8 1 8 8 plimitpl 152 58 0 42 1 0 1 1 0 8 0 sigapl 424 479 0 434 6 0 6 6 0 8 0 futexpl 64 13 0 13 1 0 1 1 0 8 1 knotepl 120 7402 0 7317 3 0 3 3 0 8 0 kqueuepl 184 42 0 33 1 0 1 1 0 8 0 pipepl 288 183 0 155 3 0 3 3 0 8 1 fdescpl 432 463 0 434 4 0 4 4 0 8 0 filepl 120 2015 0 1879 5 0 5 5 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 34 0 18 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 104 112 0 100 1 0 1 1 0 8 0 zombiepl 144 434 0 434 1 0 1 1 0 8 1 processpl 1096 479 0 434 4 0 4 4 0 8 0 procpl 648 514 0 448 6 0 6 6 0 8 0 sockpl 504 164 0 140 4 0 4 4 0 8 1 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 10805 0 10746 25 9 16 23 0 8 8 mcl2k 2048 143 0 143 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 14980 0 14856 12 0 12 12 0 8 4 bufpl 280 4654 0 155 322 0 322 322 0 8 0 anonpl 24 333476 0 328659 54 0 54 54 0 187 23 amapchunkpl 152 15645 0 15091 27 0 27 27 0 158 4 amappl16 200 9866 0 9754 7 0 7 7 0 8 0 amappl15 192 26 0 26 1 0 1 1 0 8 1 amappl14 184 217 0 204 2 0 2 2 0 8 1 amappl13 176 26 0 26 1 0 1 1 0 8 1 amappl12 168 1133 0 1103 2 0 2 2 0 8 0 amappl11 160 62 0 51 1 0 1 1 0 8 0 amappl10 152 182 0 170 1 0 1 1 0 8 0 amappl9 144 440 0 440 1 0 1 1 0 8 1 amappl8 136 141 0 116 1 0 1 1 0 8 0 amappl7 128 205 0 189 2 0 2 2 0 8 0 amappl6 120 346 0 340 1 0 1 1 0 8 0 amappl5 112 193 0 185 1 0 1 1 0 8 0 amappl4 104 498 0 478 2 0 2 2 0 8 1 amappl3 96 3947 0 3868 3 0 3 3 0 8 0 amappl2 88 1215 0 1140 4 0 4 4 0 8 1 amappl1 80 14362 0 13820 26 7 19 23 0 8 7 amappl 88 3426 0 3261 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 463 0 434 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 463 0 434 1 0 1 1 0 8 0 vmmpekpl 168 10787 0 10754 2 0 2 2 0 8 0 vmmpepl 168 67527 0 65763 119 0 119 119 0 357 39 vmsppl 344 462 0 434 3 0 3 3 0 8 0 rwobjpl 24 31548 0 28940 20 0 20 20 0 8 2 pdppl 4096 932 0 868 110 42 68 68 0 8 4 pvpl 32 670741 0 660456 399 101 298 399 0 265 210 pmappl 216 462 0 434 2 0 2 2 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 378 0 51 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x52 VOP_WRITE(fffffd806a28f718,ffff80002a659ad0,5,fffffd807f7d77b8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8067f27ac8,ffff80002a659ad0,1) at vn_write+0x238 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a4c27c0,3,ffff80002a659ad0,1,ffff80002a659b90) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_pwritev(ffff80002a4c27c0,ffff80002a659c40,ffff80002a659b90) at sys_pwritev+0xe3 sys/kern/vfs_syscalls.c:3382 syscall(ffff80002a659c40) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x92ea3a82dc0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x52 VOP_WRITE(fffffd806a28f718,ffff80002a659ad0,5,fffffd807f7d77b8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8067f27ac8,ffff80002a659ad0,1) at vn_write+0x238 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a4c27c0,3,ffff80002a659ad0,1,ffff80002a659b90) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_pwritev(ffff80002a4c27c0,ffff80002a659c40,ffff80002a659b90) at sys_pwritev+0xe3 sys/kern/vfs_syscalls.c:3382 syscall(ffff80002a659c40) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x92ea3a82dc0, count: -7