uvm_fault(0xffffffff82e86fb0, 0xffff800025f129c3, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x49: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *147574 88621 73 0x1100010 0 0 syslogd memset() at memset+0x49 ffs_write(ffff80002a649980) at ffs_write+0x924 VOP_WRITE(fffffd806ec0d8b8,ffff80002a649ba0,3,fffffd807f7d7b60) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 vn_write(fffffd806eb0e008,ffff80002a649ba0,0) at vn_write+0x156 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a61d7f8,e,ffff80002a649ba0,0,ffff80002a649c60) at dofilewritev+0x1a0 sys/kern/sys_generic.c:375 sys_writev(ffff80002a61d7f8,ffff80002a649d10,ffff80002a649c60) at sys_writev+0xab sys/kern/sys_generic.c:322 syscall(ffff80002a649d10) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e452a9fa1a0, 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(0xffffffff82e86fb0, 0xffff800025f129c3, 0, 2) -> d ddb> trace memset() at memset+0x49 ffs_write(ffff80002a649980) at ffs_write+0x924 VOP_WRITE(fffffd806ec0d8b8,ffff80002a649ba0,3,fffffd807f7d7b60) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 vn_write(fffffd806eb0e008,ffff80002a649ba0,0) at vn_write+0x156 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a61d7f8,e,ffff80002a649ba0,0,ffff80002a649c60) at dofilewritev+0x1a0 sys/kern/sys_generic.c:375 sys_writev(ffff80002a61d7f8,ffff80002a649d10,ffff80002a649c60) at sys_writev+0xab sys/kern/sys_generic.c:322 syscall(ffff80002a649d10) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e452a9fa1a0, count: -8 ddb> show registers rdi 0xffff800025f129c3 rsi 0 rbp 0xffff80002a6498a0 rbx 0x1 rdx 0x5 rcx 0x5 rax 0 r8 0x3638 __ALIGN_SIZE+0x2638 r9 0xffff80002a6497f0 r10 0x3c90aa0606e22ccc r11 0xffff800025f129c3 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0x1 r14 0xfffffd806ec6ee20 r15 0x3c9c3 acpi_pdirpa+0x28834 rip 0xffffffff811e0029 memset+0x49 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a6496a8 ss 0x10 memset+0x49: repe stosb %es:(%rdi) ddb> show proc PROC (syslogd) tid=147574 pid=88621 tcnt=1 stat=onproc flags process=1100010 proc=0 runpri=24, usrpri=51, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a61c010,0xffff80002a61d010 process=0xffff8000ffff7250 user=0xffff80002a644000, vmspace=0xfffffd806f1e6588 estcpu=1, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 82462 102217 95189 0 2 0x480 syz-executor.6 82462 313692 95189 0 2 0x4000000 syz-executor.6 82462 497771 95189 0 3 0x4000080 fsleep syz-executor.6 82462 115505 95189 0 3 0x4000080 fsleep syz-executor.6 69560 138560 53299 0 2 0 syz-executor.3 69560 41870 53299 0 3 0x4000080 fsleep syz-executor.3 6150 78018 99166 0 2 0 syz-executor.5 6150 175447 99166 0 2 0x4000000 syz-executor.5 6150 207787 99166 0 3 0x4000080 fsleep syz-executor.5 6150 465669 99166 0 3 0x4000080 fsleep syz-executor.5 46365 310747 73217 0 2 0x480 syz-executor.0 46365 122780 73217 0 3 0x4000080 netio syz-executor.0 73781 426930 0 0 3 0x14280 nfsidl nfsio 51157 108673 0 0 3 0x14280 nfsidl nfsio 55174 41709 0 0 3 0x14280 nfsidl nfsio 32055 431273 0 0 3 0x14280 nfsidl nfsio 86142 524045 0 0 3 0x14280 nfsidl nfsio 74736 126596 0 0 3 0x14280 nfsidl nfsio 26898 199116 0 0 3 0x14280 nfsidl nfsio 9871 238315 0 0 3 0x14280 nfsidl nfsio 72941 348351 0 0 3 0x14280 nfsidl nfsio 51151 2033 0 0 3 0x14280 nfsidl nfsio 94615 14581 0 0 3 0x14280 nfsidl nfsio 75635 180962 0 0 3 0x14280 nfsidl nfsio 73971 417036 0 0 3 0x14280 nfsidl nfsio 50971 97740 0 0 3 0x14280 nfsidl nfsio 20414 333746 0 0 3 0x14280 nfsidl nfsio 25476 345856 0 0 3 0x14280 nfsidl nfsio 10893 176885 0 0 3 0x14280 nfsidl nfsio 43830 222656 0 0 3 0x14280 nfsidl nfsio 23671 354317 0 0 3 0x14280 nfsidl nfsio 80850 278399 0 0 3 0x14280 nfsidl nfsio 85768 247499 51842 0 3 0x82 piperd syz-executor.4 33425 416996 51842 0 3 0x82 piperd syz-executor.7 95189 121274 51842 0 2 0x482 syz-executor.6 99166 88519 51842 0 2 0x482 syz-executor.5 73217 60492 51842 0 2 0x482 syz-executor.0 39892 156107 1 0 3 0x100083 ttyin getty 11013 103205 0 0 3 0x14200 acct acct 53299 51954 51842 0 2 0x482 syz-executor.3 85445 453442 51842 0 2 0x2 syz-executor.2 58603 91690 51842 0 2 0x2 syz-executor.1 3304 59563 0 0 3 0x14200 bored sosplice 51842 310647 63154 0 3 0x2000082 wait syz-fuzzer 51842 145186 63154 0 2 0x6000002 syz-fuzzer 51842 339500 63154 0 3 0x6000082 kqread syz-fuzzer 51842 299102 63154 0 3 0x6000082 wait syz-fuzzer 51842 496386 63154 0 3 0x6000082 thrsleep syz-fuzzer 51842 108305 63154 0 3 0x6000082 wait syz-fuzzer 51842 49309 63154 0 3 0x6000082 thrsleep syz-fuzzer 51842 519771 63154 0 3 0x6000082 wait syz-fuzzer 51842 398613 63154 0 3 0x6000082 wait syz-fuzzer 51842 10477 63154 0 3 0x6000082 thrsleep syz-fuzzer 51842 493807 63154 0 3 0x6000082 wait syz-fuzzer 51842 226326 63154 0 3 0x6000082 wait syz-fuzzer 51842 449711 63154 0 3 0x6000082 wait syz-fuzzer 51842 37086 63154 0 3 0x6000082 thrsleep syz-fuzzer 63154 451098 48434 0 3 0x10008a sigsusp ksh 48434 316485 44675 0 3 0x9a kqread sshd 44675 111285 1 0 3 0x88 kqread sshd *88621 147574 74056 73 7 0x1100010 syslogd 74056 2868 1 0 3 0x100082 netio syslogd 59336 220977 1 0 3 0x100080 kqread resolvd 92543 389144 97182 77 3 0x100092 kqread dhcpleased 97162 347349 97182 77 3 0x100092 kqread dhcpleased 97182 359014 1 0 3 0x80 kqread dhcpleased 4287 146718 0 0 3 0x14200 bored smr 62547 148722 0 0 2 0x14200 zerothread 98265 117817 0 0 3 0x14200 aiodoned aiodoned 15430 268688 0 0 3 0x14200 syncer update 14683 223053 0 0 3 0x14200 cleaner cleaner 76223 81894 0 0 3 0x14200 reaper reaper 22535 191664 0 0 3 0x14200 pgdaemon pagedaemon 99970 114259 0 0 3 0x14200 bored viomb 5239 167340 0 0 3 0x40014200 acpi0 acpi0 52420 469833 0 0 3 0x14200 bored softnet3 46207 347032 0 0 3 0x14200 bored softnet2 67188 315283 0 0 3 0x14200 bored softnet1 73071 109477 0 0 3 0x14200 bored softnet0 5731 396113 0 0 3 0x14200 bored systqmp 53240 444369 0 0 3 0x14200 bored systq 78492 307865 0 0 3 0x40014200 tmoslp softclock 28568 457819 0 0 3 0x40014200 idle0 1 370 0 0 3 0x80082 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 10177 6475K 7241K 166960K 25944 0 pcb 15 20K 22K 166960K 515 0 rtable 194 14K 15K 166960K 1588 0 pf 27 8K 9K 166960K 269 0 ifaddr 36 10K 12K 166960K 251 0 ifgroup 46 2K 2K 166960K 426 0 sysctl 3 0K 0K 166960K 3 0 counters 29 17K 17K 166960K 135 0 ioctlops 0 0K 2K 166960K 619 0 iov 0 0K 32K 166960K 768 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1504 94K 94K 166960K 5907 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 80 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 1243 0 dirhash 12 2K 2K 166960K 60 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 77K 166960K 7203 0 sigio 0 0K 0K 166960K 434 0 proc 57 59K 83K 166960K 1599 0 subproc 104 6K 6K 166960K 522 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 314 0 in_multi 77 5K 7K 166960K 499 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 1618 0 pfkey data 0 0K 4K 166960K 11 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 373 282K 286K 166960K 67119 0 UVM aobj 131 6K 6K 166960K 133 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 204 0 NDP 10 0K 2K 166960K 194 0 temp 74 6764K 6892K 166960K 72379 0 kqueue 12 18K 26K 166960K 608 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 406 0 403 3 2 1 3 0 8 0 rtentry 112 527 0 440 4 1 3 4 0 8 0 unpcb 144 6401 0 6386 24 18 6 9 0 8 5 syncache 336 104 0 104 4 3 1 1 0 8 1 sackhl 24 1 0 1 1 0 1 1 0 8 1 tcpqe 32 180 0 180 4 3 1 1 0 8 1 tcpcb 808 2301 0 2293 25 17 8 11 0 8 6 arp 88 103 0 89 1 0 1 1 0 8 0 ipq 40 13 0 13 2 2 0 1 0 8 0 ipqe 40 37 0 37 2 2 0 1 0 8 0 inpcb 360 6272 0 6261 45 37 8 15 0 8 6 nd6 104 117 0 99 1 0 1 1 0 8 0 pkpcb 40 133 0 133 2 2 0 1 0 8 0 kcovpl 48 40 0 32 1 0 1 1 0 8 0 ppxss 1072 37 0 37 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1927 0 1552 41 14 27 30 0 8 3 art_table 32 1928 0 1552 4 0 4 4 0 8 0 art_node 16 514 0 436 1 0 1 1 0 8 0 sysvmsgpl 40 49 0 45 1 0 1 1 0 8 0 semapl 112 1241 0 1231 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 49 0 32 3 0 3 3 0 8 0 dino2pl 256 10795 0 9307 94 0 94 94 0 8 0 ffsino 240 10795 0 9307 88 0 88 88 0 8 0 nchpl 144 20596 0 18957 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 74221 0 74220 4 3 1 3 0 8 0 vcpupl 2048 102 0 0 13 0 13 13 0 8 0 vmpool 664 109 0 7 9 0 9 9 0 8 0 kstatmem 264 232 0 212 2 0 2 2 0 8 0 scxspl 216 64998 0 64998 15 13 2 8 1 8 2 plimitpl 152 898 0 883 1 0 1 1 0 8 0 sigapl 424 7515 0 7452 8 0 8 8 0 8 0 futexpl 64 67999 0 67994 1 0 1 1 0 8 0 knotepl 120 73181 0 73099 19 15 4 11 0 8 0 kqueuepl 184 1200 0 1192 7 4 3 4 0 8 2 pipepl 288 1841 0 1813 15 10 5 8 0 8 2 fdescpl 432 7417 0 7392 4 0 4 4 0 8 0 filepl 120 48094 0 47849 31 18 13 16 0 8 3 lockfpl 104 2687 0 2681 4 3 1 2 0 8 0 lockfspl 48 887 0 882 1 0 1 1 0 8 0 sessionpl 144 57 0 41 1 0 1 1 0 8 0 pgrppl 48 237 0 221 1 0 1 1 0 8 0 ucredpl 104 5837 0 5823 1 0 1 1 0 8 0 zombiepl 144 7452 0 7452 1 0 1 1 0 8 1 processpl 1072 7515 0 7452 5 0 5 5 0 8 0 procpl 680 17861 0 17777 10 1 9 9 0 8 0 sosppl 168 110 0 110 3 2 1 1 0 8 1 sockpl 488 13302 0 13273 242 228 14 31 0 8 8 mcl64k 65536 266 0 266 4 3 1 1 0 8 1 mcl16k 16384 112 0 112 4 3 1 1 0 8 1 mcl12k 12288 306 0 306 4 3 1 1 0 8 1 mcl9k 9216 152 0 152 4 3 1 1 0 8 1 mcl8k 8192 436 0 435 4 3 1 1 0 8 0 mcl4k 4096 823 0 823 4 3 1 1 0 8 1 mcl2k2 2112 34 0 34 4 3 1 1 0 8 1 mcl2k 2048 84153 0 84107 51 42 9 34 0 8 1 mtagpl 96 1835 0 1494 15 6 9 13 0 8 0 mbufpl 256 201683 0 201273 383 311 72 79 0 8 44 bufpl 280 16878 0 10488 457 0 457 457 0 8 0 anonpl 24 874659 0 860323 152 50 102 118 0 188 2 amapchunkpl 152 220454 0 219665 68 32 36 49 0 158 2 amappl16 200 18757 0 18282 66 39 27 38 0 8 0 amappl15 192 66 0 65 1 0 1 1 0 8 0 amappl14 184 257 0 246 2 1 1 2 0 8 0 amappl13 176 54 0 53 1 0 1 1 0 8 0 amappl12 168 8502 0 8476 2 0 2 2 0 8 0 amappl11 160 61 0 50 1 0 1 1 0 8 0 amappl10 152 61 0 52 1 0 1 1 0 8 0 amappl9 144 248 0 248 4 3 1 1 0 8 1 amappl8 136 415 0 346 3 0 3 3 0 8 0 amappl7 128 253 0 229 2 0 2 2 0 8 0 amappl6 120 751 0 737 1 0 1 1 0 8 0 amappl5 112 258 0 249 1 0 1 1 0 8 0 amappl4 104 644 0 624 2 1 1 2 0 8 0 amappl3 96 42130 0 42037 3 0 3 3 0 8 0 amappl2 88 8274 0 8199 3 0 3 3 0 8 0 amappl1 80 36918 0 36417 23 11 12 22 0 8 0 amappl 88 66171 0 65951 6 0 6 6 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 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 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 7526 0 7399 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7526 0 7399 1 0 1 1 0 8 0 vmmpekpl 168 55849 0 55772 4 0 4 4 0 8 0 vmmpepl 168 461664 0 459397 185 51 134 134 0 357 15 vmsppl 352 7525 0 7399 12 0 12 12 0 8 0 rwobjpl 24 116424 0 108868 48 1 47 48 0 8 0 pdppl 4096 15058 0 14900 532 366 166 168 0 8 8 pvpl 32 2277804 0 2257671 454 277 177 362 0 265 1 pmappl 216 7525 0 7399 8 0 8 8 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1283 0 781 15 0 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002a649980) at ffs_write+0x924 VOP_WRITE(fffffd806ec0d8b8,ffff80002a649ba0,3,fffffd807f7d7b60) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 vn_write(fffffd806eb0e008,ffff80002a649ba0,0) at vn_write+0x156 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a61d7f8,e,ffff80002a649ba0,0,ffff80002a649c60) at dofilewritev+0x1a0 sys/kern/sys_generic.c:375 sys_writev(ffff80002a61d7f8,ffff80002a649d10,ffff80002a649c60) at sys_writev+0xab sys/kern/sys_generic.c:322 syscall(ffff80002a649d10) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e452a9fa1a0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002a649980) at ffs_write+0x924 VOP_WRITE(fffffd806ec0d8b8,ffff80002a649ba0,3,fffffd807f7d7b60) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 vn_write(fffffd806eb0e008,ffff80002a649ba0,0) at vn_write+0x156 sys/kern/vfs_vnops.c:408 dofilewritev(ffff80002a61d7f8,e,ffff80002a649ba0,0,ffff80002a649c60) at dofilewritev+0x1a0 sys/kern/sys_generic.c:375 sys_writev(ffff80002a61d7f8,ffff80002a649d10,ffff80002a649c60) at sys_writev+0xab sys/kern/sys_generic.c:322 syscall(ffff80002a649d10) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e452a9fa1a0, count: -8