uvm_fault(0xffffffff8358e6c8, 0xffff800028bb22fc, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x49: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND * 47677 96336 73 0x1100010 0 0 syslogd memset() at memset+0x49 ffs_write(ffff80002a4dcfa0) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd806e4c07e0,ffff80002a4dd1c0,3,fffffd807f7d7a90) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8079db3008,ffff80002a4dd1c0,0) at vn_write+0x1c3 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a4b1be8,e,ffff80002a4dd1c0,0,ffff80002a4dd280) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_writev(ffff80002a4b1be8,ffff80002a4dd330,ffff80002a4dd280) at sys_writev+0xd8 sys/kern/sys_generic.c:327 syscall(ffff80002a4dd330) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7461d8bd41f0, count: 7 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(0xffffffff8358e6c8, 0xffff800028bb22fc, 0, 2) -> d ddb> trace memset() at memset+0x49 ffs_write(ffff80002a4dcfa0) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd806e4c07e0,ffff80002a4dd1c0,3,fffffd807f7d7a90) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8079db3008,ffff80002a4dd1c0,0) at vn_write+0x1c3 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a4b1be8,e,ffff80002a4dd1c0,0,ffff80002a4dd280) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_writev(ffff80002a4b1be8,ffff80002a4dd330,ffff80002a4dd280) at sys_writev+0xd8 sys/kern/sys_generic.c:327 syscall(ffff80002a4dd330) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7461d8bd41f0, count: -8 ddb> show registers rdi 0xffff800028bb22fc rsi 0 rbp 0xffff80002a4dcec0 rbx 0x602fc acpi_pdirpa+0x4c16d rdx 0x4 rcx 0x4 rax 0 r8 0x3d00 __ALIGN_SIZE+0x2d00 r9 0xffff80002a4dce20 r10 0xe7f38b7861fc78f7 r11 0xffff800028bb22fc r12 0x4000 __ALIGN_SIZE+0x3000 r13 0x2fc r14 0xfffffd806e4c07e0 r15 0x1 rip 0xffffffff81caa209 memset+0x49 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80002a4dccb8 ss 0x10 memset+0x49: repe stosb %es:(%rdi) ddb> show proc PROC (syslogd) tid=47677 pid=96336 tcnt=1 stat=onproc flags process=1100010 proc=0 runpri=17, usrpri=56, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4b1450,0xffff80002a4b0530 process=0xffff8000ffff9130 user=0xffff80002a4d8000, vmspace=0xfffffd806ef4f6c0 estcpu=6, cpticks=15, pctcpu=0.9, user=2, sys=31, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 78270 57177 33624 0 2 0 syz-executor 78270 310261 33624 0 2 0x4000000 syz-executor 99440 338434 50485 0 2 0 syz-executor 99440 422071 50485 0 3 0x4000080 ttyin syz-executor 68235 498942 17169 0 2 0x480 syz-executor 68235 513294 17169 0 3 0x4000080 wsevent_read syz-executor 68235 274857 17169 0 3 0x4000080 fsleep syz-executor 61894 252635 86759 0 2 0x2 sh 6769 492519 21987 0 2 0 syz-executor 6769 425390 21987 0 3 0x4000080 fsleep syz-executor 49679 320667 32967 0 2 0 syz-executor 49679 478338 32967 0 3 0x4000080 fsleep syz-executor 19017 182440 58429 0 2 0 syz-executor 19017 313608 58429 0 3 0x4000080 fifor syz-executor 50485 323417 98167 0 2 0x482 syz-executor 74180 239579 28269 0 2 0x100002 sh 28269 498590 98167 0 3 0x82 wait syz-executor 86759 164426 98167 0 3 0x82 wait syz-executor 21987 442108 98167 0 2 0x482 syz-executor 32967 505097 98167 0 2 0x482 syz-executor 58429 265299 98167 0 2 0x482 syz-executor 33624 381948 98167 0 2 0x482 syz-executor 17169 2248 98167 0 2 0x482 syz-executor 97375 454632 0 0 3 0x14200 bored sosplice 98167 182086 82857 0 3 0x82 kqread syz-executor 82857 301718 35275 0 3 0x10008a sigsusp ksh 35275 158176 94038 0 3 0x98 kqread sshd-session 94038 207762 21004 0 3 0x92 kqread sshd-session 12111 84470 1 0 3 0x100083 ttyopn getty 21004 158684 1 0 3 0x88 kqread sshd *96336 47677 75870 73 7 0x1100010 syslogd 75870 199183 1 0 3 0x100082 sbwait syslogd 32483 198466 1 0 3 0x100080 kqread resolvd 25335 6022 46745 77 3 0x100092 kqread dhcpleased 36326 468021 46745 77 3 0x100092 kqread dhcpleased 46745 251226 1 0 3 0x80 kqread dhcpleased 2013 417896 0 0 3 0x14200 bored smr 9195 129931 0 0 2 0x14200 zerothread 36528 511363 0 0 3 0x14200 aiodoned aiodoned 40851 46641 0 0 3 0x14200 syncer update 75709 439788 0 0 3 0x14200 cleaner cleaner 69645 408543 0 0 3 0x14200 reaper reaper 19107 360314 0 0 3 0x14200 pgdaemon pagedaemon 42863 182232 0 0 3 0x14200 bored viomb 32884 391636 0 0 3 0x40014200 acpi0 acpi0 6107 406254 0 0 3 0x14200 bored softnet3 45424 298597 0 0 3 0x14200 bored softnet2 92783 332532 0 0 3 0x14200 bored softnet1 38199 115904 0 0 2 0x14200 softnet0 16511 365131 0 0 3 0x14200 bored systqmp 76794 488600 0 0 3 0x14200 bored systq 95941 66684 0 0 2 0x40014200 softclock 67047 480302 0 0 3 0x40014200 idle0 1 418036 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 10178 11113K 11362K 166960K 11575 0 pcb 18 15K 16K 166960K 133 0 rtable 193 6K 7K 166960K 1055 0 pf 33 13K 268K 166960K 107 0 ifaddr 37 6K 8K 166960K 150 0 ifgroup 54 2K 2K 166960K 181 0 sysctl 2 1K 1K 166960K 2 0 counters 31 17K 17K 166960K 63 0 ioctlops 0 0K 4K 166960K 76 0 iov 1 0K 12K 166960K 12 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1372 86K 86K 166960K 1883 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 97K 166960K 769 0 sigio 0 0K 0K 166960K 76 0 proc 60 59K 124K 166960K 1130 0 subproc 104 6K 6K 166960K 416 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 76 0 in_multi 77 5K 7K 166960K 352 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 709 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 216 74K 90K 166960K 7178 0 UVM aobj 15 2K 2K 166960K 18 0 pinsyscall 39 78K 96K 166960K 2366 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 14 0 NDP 20 1K 2K 166960K 104 0 temp 75 6816K 6880K 166960K 9182 0 kqueue 13 20K 30K 166960K 85 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 102 0 99 1 0 1 1 0 8 0 rtentry 112 366 0 278 4 0 4 4 0 8 1 unpcb 144 263 0 244 2 0 2 2 0 8 1 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 808 98 0 94 2 0 2 2 0 8 1 arp 88 65 0 51 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 89 0 89 1 0 1 1 0 8 1 inpcb 336 690 0 680 7 0 7 7 0 8 6 nd6 104 94 0 76 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 32 0 24 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 0 1 1 0 8 1 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 1 0 0 1 0 1 1 0 8 0 pfstate 344 1 0 0 1 0 1 1 0 8 0 pfrule 1344 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 1442 0 1074 30 0 30 30 0 8 6 art_table 32 1443 0 1074 4 0 4 4 0 8 0 art_node 16 365 0 285 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 4 1 0 1 1 0 8 0 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 15 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2118 0 572 97 0 97 97 0 8 0 ffsino 240 2118 0 572 91 0 91 91 0 8 0 nchpl 144 2725 0 1005 64 0 64 64 0 8 0 uvmvnodes 80 2647 0 0 55 0 55 55 0 8 0 vnodes 216 2647 0 0 148 0 148 148 0 8 0 namei 1024 10662 0 10662 2 0 2 2 0 8 2 kstatmem 264 88 0 64 2 0 2 2 0 8 0 scxspl 216 15068 0 15068 8 0 8 8 1 8 8 plimitpl 152 233 0 215 1 0 1 1 0 8 0 sigapl 424 1000 0 953 7 0 7 7 0 8 1 futexpl 64 5031 0 5028 1 0 1 1 0 8 0 knotepl 120 13892 0 13845 9 0 9 9 0 8 7 kqueuepl 184 136 0 127 3 0 3 3 0 8 2 pipepl 288 229 0 202 3 0 3 3 0 8 0 fdescpl 432 982 0 952 5 0 5 5 0 8 1 filepl 120 4382 0 4133 11 0 11 11 0 8 3 lockfpl 104 69 0 66 1 0 1 1 0 8 0 lockfspl 48 32 0 29 1 0 1 1 0 8 0 sessionpl 144 45 0 37 1 0 1 1 0 8 0 pgrppl 48 145 0 129 1 0 1 1 0 8 0 ucredpl 104 346 0 335 1 0 1 1 0 8 0 zombiepl 144 953 0 953 1 0 1 1 0 8 1 processpl 1096 1000 0 953 4 0 4 4 0 8 0 procpl 648 1454 0 1400 6 0 6 6 0 8 1 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 504 1061 0 1029 16 4 12 15 0 8 7 mcl64k 65536 7 0 7 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 3073 0 3020 16 1 15 16 0 8 8 mcl2k 2048 903 0 901 1 0 1 1 0 8 0 mtagpl 96 8 0 8 1 0 1 1 0 8 1 mbufpl 256 9857 0 9737 20 3 17 20 0 8 6 bufpl 280 6527 0 280 447 0 447 447 0 8 0 anonpl 24 235737 0 227777 77 0 77 77 0 187 29 amapchunkpl 152 25087 0 24354 41 0 41 41 0 158 12 amappl16 200 5556 0 5546 20 12 8 14 0 8 7 amappl15 192 10 0 10 1 0 1 1 0 8 1 amappl14 184 154 0 144 1 0 1 1 0 8 0 amappl13 176 16 0 16 1 0 1 1 0 8 1 amappl12 168 1949 0 1918 3 0 3 3 0 8 1 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 14 0 14 1 0 1 1 0 8 1 amappl9 144 190 0 190 1 0 1 1 0 8 1 amappl8 136 26 0 25 1 0 1 1 0 8 0 amappl7 128 135 0 124 1 0 1 1 0 8 0 amappl6 120 387 0 384 1 0 1 1 0 8 0 amappl5 112 217 0 208 1 0 1 1 0 8 0 amappl4 104 349 0 333 1 0 1 1 0 8 0 amappl3 96 4365 0 4256 4 0 4 4 0 8 1 amappl2 88 968 0 906 2 0 2 2 0 8 0 amappl1 80 10432 0 9909 13 0 13 13 0 8 1 amappl 88 6643 0 6480 5 0 5 5 0 92 1 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 8 0 8 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 17 0 3 1 0 1 1 0 8 0 uaddrrnd 24 982 0 952 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 982 0 952 1 0 1 1 0 8 0 vmmpekpl 168 8832 0 8791 3 0 3 3 0 8 0 vmmpepl 168 68548 0 66867 89 0 89 89 0 357 15 vmsppl 344 981 0 952 4 0 4 4 0 8 1 rwobjpl 24 26088 0 22581 22 0 22 22 0 8 0 pdppl 4096 1970 0 1904 116 50 66 82 0 8 0 pvpl 32 559781 0 533179 352 8 344 352 0 265 129 pmappl 216 981 0 952 3 0 3 3 0 8 1 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 411 0 58 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002a4dcfa0) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd806e4c07e0,ffff80002a4dd1c0,3,fffffd807f7d7a90) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8079db3008,ffff80002a4dd1c0,0) at vn_write+0x1c3 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a4b1be8,e,ffff80002a4dd1c0,0,ffff80002a4dd280) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_writev(ffff80002a4b1be8,ffff80002a4dd330,ffff80002a4dd280) at sys_writev+0xd8 sys/kern/sys_generic.c:327 syscall(ffff80002a4dd330) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7461d8bd41f0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002a4dcfa0) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd806e4c07e0,ffff80002a4dd1c0,3,fffffd807f7d7a90) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd8079db3008,ffff80002a4dd1c0,0) at vn_write+0x1c3 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a4b1be8,e,ffff80002a4dd1c0,0,ffff80002a4dd280) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_writev(ffff80002a4b1be8,ffff80002a4dd330,ffff80002a4dd280) at sys_writev+0xd8 sys/kern/sys_generic.c:327 syscall(ffff80002a4dd330) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7461d8bd41f0, count: -8