uvm_fault(0xffffffff82ab99b8, 0xffff8000181cf063, 0, 2) -> d kernel: page fault trap, code=0 Stopped at memset+0x45: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND * 20656 50418 73 0x1100010 0 0 syslogd memset() at memset+0x45 ffs_write(ffff80002173fab0) at ffs_write+0x93c VOP_WRITE(fffffd806eae02d0,ffff80002173fcd0,3,fffffd807f7d77b8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806e9bd170,ffff80002173fcd0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:408 dofilewritev(ffff800021705cf0,e,ffff80002173fcd0,0,ffff80002173fdc0) at dofilewritev+0x19c sys/kern/sys_generic.c:375 sys_writev(ffff800021705cf0,ffff80002173fd70,ffff80002173fdc0) at sys_writev+0xa7 sys/kern/sys_generic.c:322 syscall(ffff80002173fe40) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd5220, 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> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xffffffff82ab99b8, 0xffff8000181cf063, 0, 2) -> d ddb> trace memset() at memset+0x45 ffs_write(ffff80002173fab0) at ffs_write+0x93c VOP_WRITE(fffffd806eae02d0,ffff80002173fcd0,3,fffffd807f7d77b8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806e9bd170,ffff80002173fcd0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:408 dofilewritev(ffff800021705cf0,e,ffff80002173fcd0,0,ffff80002173fdc0) at dofilewritev+0x19c sys/kern/sys_generic.c:375 sys_writev(ffff800021705cf0,ffff80002173fd70,ffff80002173fdc0) at sys_writev+0xa7 sys/kern/sys_generic.c:322 syscall(ffff80002173fe40) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd5220, count: -8 ddb> show registers rdi 0xffff8000181cf063 rsi 0 rbp 0xffff80002173f9d0 rbx 0x1 rdx 0x5 rcx 0x5 rax 0 r8 0x3f98 __ALIGN_SIZE+0x2f98 r9 0xffff80002173f928 r10 0xadce00a89415c1f7 r11 0xffff8000181cf063 r12 0xb8063 acpi_pdirpa+0xa3ecb r13 0xfffffd806e89bb68 r14 0x4000 __ALIGN_SIZE+0x3000 r15 0xfffffd806e89bb50 rip 0xffffffff814b7275 memset+0x45 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002173f7d8 ss 0x10 memset+0x45: repe stosb %es:(%rdi) ddb> show proc PROC (syslogd) pid=20656 stat=onproc flags process=1100010 proc=0 pri=24, usrpri=56, nice=20 forw=0xffffffffffffffff, list=0xffff800021705510,0xffff800021704560 process=0xffff800021712018 user=0xffff80002173a000, vmspace=0xfffffd807f015880 estcpu=6, cpticks=21, pctcpu=0.0 user=0, sys=21, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 61010 186900 11984 0 2 0 syz-executor.0 58104 5440 5816 0 2 0 syz-executor.1 58104 254786 5816 0 2 0x4000000 syz-executor.1 17001 338278 59083 0 2 0 syz-executor.5 17001 157466 59083 0 3 0x4000080 fsleep syz-executor.5 54255 334180 11297 0 2 0 syz-executor.2 54255 108826 11297 0 3 0x4000080 fsleep syz-executor.2 19635 250106 96332 0 2 0 syz-executor.3 19635 378319 96332 0 3 0x4000080 fsleep syz-executor.3 11297 370602 7484 0 2 0x482 syz-executor.2 63276 302097 7484 0 2 0x482 syz-executor.4 96332 111595 7484 0 2 0x482 syz-executor.3 65071 440434 7484 0 2 0x2 syz-executor.6 9544 68740 0 0 3 0x14200 acct acct 59083 109070 7484 0 2 0x482 syz-executor.5 5816 27314 7484 0 2 0x482 syz-executor.1 55087 239538 1 0 2 0x100083 getty 79793 80464 7484 0 2 0x482 syz-executor.7 11984 280711 7484 0 2 0x482 syz-executor.0 46956 197177 0 0 3 0x14280 nfsidl nfsio 73326 443559 0 0 3 0x14280 nfsidl nfsio 80215 225432 0 0 3 0x14280 nfsidl nfsio 15094 293853 0 0 3 0x14280 nfsidl nfsio 81605 208528 0 0 3 0x14280 nfsidl nfsio 80127 230701 0 0 3 0x14280 nfsidl nfsio 89538 264337 0 0 3 0x14280 nfsidl nfsio 55395 456732 0 0 3 0x14280 nfsidl nfsio 32887 40889 0 0 3 0x14280 nfsidl nfsio 97090 138379 0 0 3 0x14280 nfsidl nfsio 86954 259646 0 0 3 0x14280 nfsidl nfsio 43824 121979 0 0 3 0x14280 nfsidl nfsio 39739 489319 0 0 3 0x14280 nfsidl nfsio 36854 488325 0 0 3 0x14280 nfsidl nfsio 48882 371136 0 0 3 0x14280 nfsidl nfsio 36616 359492 0 0 3 0x14280 nfsidl nfsio 35849 40110 0 0 3 0x14280 nfsidl nfsio 31202 213542 0 0 3 0x14280 nfsidl nfsio 40139 39552 0 0 3 0x14280 nfsidl nfsio 8709 13605 0 0 3 0x14280 nfsidl nfsio 91546 180995 0 0 3 0x14200 bored sosplice 7484 133028 86603 0 3 0x82 wait syz-fuzzer 7484 399596 86603 0 2 0x4000482 syz-fuzzer 7484 500335 86603 0 3 0x4000082 thrsleep syz-fuzzer 7484 13941 86603 0 3 0x4000082 wait syz-fuzzer 7484 493501 86603 0 3 0x4000082 wait syz-fuzzer 7484 257612 86603 0 3 0x4000082 thrsleep syz-fuzzer 7484 355775 86603 0 2 0x4000482 syz-fuzzer 7484 125514 86603 0 3 0x4000082 wait syz-fuzzer 7484 452851 86603 0 3 0x4000082 thrsleep syz-fuzzer 7484 330822 86603 0 3 0x4000082 wait syz-fuzzer 7484 270041 86603 0 3 0x4000082 thrsleep syz-fuzzer 7484 416186 86603 0 3 0x4000082 wait syz-fuzzer 7484 425762 86603 0 3 0x4000082 wait syz-fuzzer 7484 449832 86603 0 3 0x4000082 wait syz-fuzzer 86603 334198 94208 0 3 0x10008a sigsusp ksh 94208 423464 43499 0 3 0x9a kqread sshd 43499 62888 1 0 3 0x88 kqread sshd *50418 20656 28539 73 7 0x1100010 syslogd 28539 81518 1 0 3 0x100082 netio syslogd 66660 390399 1 0 3 0x100080 kqread resolvd 25292 372633 22289 77 3 0x100092 kqread dhcpleased 19628 174101 22289 77 3 0x100092 kqread dhcpleased 22289 514034 1 0 3 0x80 kqread dhcpleased 39946 391451 0 0 3 0x14200 bored smr 34792 81600 0 0 2 0x14200 zerothread 30059 463690 0 0 3 0x14200 aiodoned aiodoned 91081 334430 0 0 3 0x14200 syncer update 79083 371308 0 0 3 0x14200 cleaner cleaner 33667 303509 0 0 3 0x14200 reaper reaper 14429 244322 0 0 3 0x14200 pgdaemon pagedaemon 31760 429916 0 0 3 0x14200 bored viomb 53303 299753 0 0 3 0x40014200 acpi0 acpi0 34148 501769 0 0 3 0x14200 bored softnet 42811 127098 0 0 3 0x14200 bored softnet 68968 245291 0 0 3 0x14200 bored softnet 83786 495504 0 0 3 0x14200 bored softnet 82876 56440 0 0 3 0x14200 bored systqmp 21975 499084 0 0 3 0x14200 bored systq 27067 419395 0 0 2 0x40014200 softclock 12268 51325 0 0 3 0x40014200 idle0 1 489234 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 10229 6434K 8050K 78643K 36475 0 pcb 13 18K 23K 78643K 3396 0 rtable 254 17K 18K 78643K 2826 0 ifaddr 197 44K 44K 78643K 1354 0 sysctl 2 0K 2K 78643K 14 0 counters 28 17K 17K 78643K 393 0 ioctlops 0 0K 4K 78643K 4083 0 iov 0 0K 30K 78643K 2880 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1661 104K 104K 78643K 13324 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 180 0 VM map 2 0K 0K 78643K 2 0 sem 14 10K 20K 78643K 38 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 77K 78643K 14715 0 sigio 0 0K 0K 78643K 553 0 proc 60 59K 91K 78643K 2668 0 subproc 104 6K 7K 78643K 786 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 464 0 in_multi 100 6K 6K 78643K 892 0 ether_multi 1 0K 0K 78643K 53 0 mrt 1 0K 0K 78643K 86 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 241 1076K 1076K 78643K 241 0 exec 0 0K 1K 78643K 2844 0 pfkey data 0 0K 0K 78643K 40 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 583 1508K 1524K 78643K 96488 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 429 0 NDP 16 0K 2K 78643K 351 0 temp 180 4695K 70231K 78643K 200731 0 kqueue 12 18K 28K 78643K 1140 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 1035 0 1032 15 14 1 4 0 8 0 rtentry 112 821 0 714 5 1 4 4 0 8 0 unpcb 144 15707 0 15694 160 155 5 10 0 8 4 syncache 296 123 0 123 28 28 0 1 0 8 0 tcpqe 32 204 0 204 21 21 0 1 0 8 0 tcpcb 776 4268 0 4263 167 165 2 14 0 8 1 arp 88 125 0 105 1 0 1 1 0 8 0 ipq 40 9 0 9 4 4 0 1 0 8 0 ipqe 40 35 0 35 4 4 0 1 0 8 0 inpcb 336 13358 0 13349 245 244 1 15 0 8 0 nd6 48 181 0 156 1 0 1 1 0 8 0 pkpcb 40 118 0 118 10 10 0 1 0 8 0 kcovpl 48 60 0 52 1 0 1 1 0 8 0 mppekey 1024 13 0 13 5 5 0 1 0 8 0 ppxss 1160 219 0 219 29 29 0 1 0 8 0 pppxif 1608 83 0 83 16 16 0 1 0 8 0 pfstscr 40 234 0 220 2 1 1 1 0 8 0 pfosfp 40 185 0 182 1 0 1 1 0 8 0 pfosfpen 112 185 0 173 1 0 1 1 0 8 0 pfanchor 1280 524 25 12 43 0 43 43 0 8 0 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 106 0 78 1 0 1 1 0 8 0 pfstkey 120 427 0 418 2 1 1 1 0 8 0 pfstate 352 234 0 220 5 3 2 2 0 8 0 rttmr 136 26 0 26 5 5 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 3622 0 3175 58 30 28 30 0 8 0 art_table 32 3624 0 3176 7 3 4 4 0 8 0 art_node 16 817 0 723 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 4 1 0 1 1 0 8 0 semapl 112 30 0 18 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 24833 0 23353 93 0 93 93 0 8 0 ffsino 240 24833 0 23353 88 0 88 88 0 8 0 nchpl 144 47585 0 47098 63 40 23 63 0 8 0 rtmask 32 6 0 6 2 2 0 1 0 8 0 uvmvnodes 80 6262 0 0 128 0 128 128 0 8 0 vnodes 216 6262 0 0 348 0 348 348 0 8 0 namei 1024 185783 0 185782 7 6 1 2 0 8 0 vcpupl 2048 256 0 1 32 0 32 32 0 8 0 vmpool 536 329 0 74 19 2 17 18 0 8 0 kstatmem 264 468 0 436 6 3 3 3 0 8 0 scsiplug 72 6 0 6 2 2 0 1 0 8 0 scxspl 216 139431 0 139431 21 20 1 8 0 8 1 plimitpl 152 2518 0 2502 1 0 1 1 0 8 0 sigapl 424 15036 0 14970 8 0 8 8 0 8 0 futexpl 64 168377 0 168374 4 3 1 1 0 8 0 knotepl 120 254761 0 254681 140 130 10 17 0 8 6 kqueuepl 184 3328 0 3320 43 42 1 4 0 8 0 pipepl 288 4179 0 4151 84 79 5 7 0 8 2 fdescpl 432 14893 0 14867 4 0 4 4 0 8 0 filepl 120 131097 0 130855 202 189 13 19 0 8 4 lockfpl 104 5124 0 5122 14 13 1 2 0 8 0 lockfspl 48 1490 0 1488 1 0 1 1 0 8 0 sessionpl 144 78 0 62 1 0 1 1 0 8 0 pgrppl 48 461 0 445 1 0 1 1 0 8 0 ucredpl 104 13518 0 13507 1 0 1 1 0 8 0 zombiepl 144 14972 0 14970 2 1 1 1 0 8 0 processpl 1000 15036 0 14970 11 2 9 9 0 8 0 procpl 672 38574 0 38491 39 31 8 9 0 8 0 sosppl 168 116 0 116 25 25 0 1 0 8 0 sockpl 456 30239 0 30214 739 729 10 41 0 8 6 mcl64k 65536 738 0 738 39 38 1 1 0 8 1 mcl16k 16384 294 0 294 40 39 1 1 0 8 1 mcl12k 12288 634 0 634 34 33 1 1 0 8 1 mcl9k 9216 153 0 153 42 41 1 1 0 8 1 mcl8k 8192 1109 0 1109 38 37 1 1 0 8 1 mcl4k 4096 1655 0 1655 17 16 1 1 0 8 1 mcl2k2 2112 110 0 110 41 41 0 1 0 8 0 mcl2k 2048 105956 0 105879 66 54 12 33 0 8 0 mtagpl 96 1995 0 1855 22 11 11 15 0 8 1 mbufpl 256 317793 0 317420 854 803 51 91 0 8 8 bufpl 288 38776 0 32372 458 0 458 458 0 8 0 anonpl 24 2878453 0 2863340 307 179 128 177 0 188 10 amapchunkpl 152 280282 0 279607 164 134 30 56 0 158 0 amappl16 200 25393 0 24728 169 128 41 48 0 8 5 amappl15 192 8 0 8 2 2 0 1 0 8 0 amappl14 184 408 0 396 2 0 2 2 0 8 0 amappl13 176 5 0 5 2 2 0 1 0 8 0 amappl12 168 978 0 974 1 0 1 1 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 84 0 73 1 0 1 1 0 8 0 amappl9 144 1087 0 1086 1 0 1 1 0 8 0 amappl8 136 603 0 509 4 0 4 4 0 8 0 amappl7 128 122 0 105 1 0 1 1 0 8 0 amappl6 120 890 0 869 2 1 1 2 0 8 0 amappl5 112 377 0 369 1 0 1 1 0 8 0 amappl4 104 1142 0 1116 2 1 1 2 0 8 0 amappl3 96 42969 0 42919 2 0 2 2 0 8 0 amappl2 88 16151 0 16083 3 1 2 3 0 8 0 amappl1 80 334419 0 333741 21 5 16 21 0 8 0 amappl 88 95264 0 94997 8 1 7 7 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 15222 0 14941 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 15222 0 14941 2 0 2 2 0 8 0 vmmpekpl 168 109170 0 109086 5 1 4 5 0 8 0 vmmpepl 168 1358498 0 1355425 452 293 159 190 0 357 5 vmsppl 272 15221 0 14941 21 2 19 19 0 8 0 rwobjpl 24 350474 0 342229 57 6 51 52 0 8 0 pdppl 4096 30450 0 30137 1057 738 319 319 0 8 6 pvpl 32 5655345 0 5634732 588 369 219 312 0 265 19 pmappl 216 15221 0 14941 16 0 16 16 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 3210 0 2094 34 0 34 34 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x45 ffs_write(ffff80002173fab0) at ffs_write+0x93c VOP_WRITE(fffffd806eae02d0,ffff80002173fcd0,3,fffffd807f7d77b8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806e9bd170,ffff80002173fcd0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:408 dofilewritev(ffff800021705cf0,e,ffff80002173fcd0,0,ffff80002173fdc0) at dofilewritev+0x19c sys/kern/sys_generic.c:375 sys_writev(ffff800021705cf0,ffff80002173fd70,ffff80002173fdc0) at sys_writev+0xa7 sys/kern/sys_generic.c:322 syscall(ffff80002173fe40) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd5220, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x45 ffs_write(ffff80002173fab0) at ffs_write+0x93c VOP_WRITE(fffffd806eae02d0,ffff80002173fcd0,3,fffffd807f7d77b8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806e9bd170,ffff80002173fcd0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:408 dofilewritev(ffff800021705cf0,e,ffff80002173fcd0,0,ffff80002173fdc0) at dofilewritev+0x19c sys/kern/sys_generic.c:375 sys_writev(ffff800021705cf0,ffff80002173fd70,ffff80002173fdc0) at sys_writev+0xa7 sys/kern/sys_generic.c:322 syscall(ffff80002173fe40) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd5220, count: -8