uvm_fault(0xffffffff829d67b0, 0xffff8000160af659, 0, 2) -> d kernel: page fault trap, code=0 Stopped at memset+0x45: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *496961 18609 73 0x1100010 0 0 syslogd memset() at memset+0x45 ffs_write(ffff800021641bb0) at ffs_write+0x93c VOP_WRITE(fffffd806e4e7ad0,ffff800021641dd0,3,fffffd807f7d89c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806ecc4530,ffff800021641dd0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000215f9270,e,ffff800021641dd0,0,ffff800021641ed0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_writev(ffff8000215f9270,ffff800021641e70,ffff800021641ed0) at sys_writev+0xa7 sys/kern/sys_generic.c:328 syscall(ffff800021641f40) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffee100, 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(0xffffffff829d67b0, 0xffff8000160af659, 0, 2) -> d ddb> trace memset() at memset+0x45 ffs_write(ffff800021641bb0) at ffs_write+0x93c VOP_WRITE(fffffd806e4e7ad0,ffff800021641dd0,3,fffffd807f7d89c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806ecc4530,ffff800021641dd0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000215f9270,e,ffff800021641dd0,0,ffff800021641ed0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_writev(ffff8000215f9270,ffff800021641e70,ffff800021641ed0) at sys_writev+0xa7 sys/kern/sys_generic.c:328 syscall(ffff800021641f40) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffee100, count: -8 ddb> show registers rdi 0xffff8000160af659 rsi 0 rbp 0xffff800021641ad0 rbx 0x1 rdx 0x7 rcx 0x7 rax 0 r8 0x39a0 __ALIGN_SIZE+0x29a0 r9 0xffff800021641a28 r10 0x7dc98f0350af0100 r11 0xffff8000160af659 r12 0xb0659 acpi_pdirpa+0x9c4c1 r13 0xfffffd806e8b7988 r14 0x4000 __ALIGN_SIZE+0x3000 r15 0xfffffd806e8b7970 rip 0xffffffff81ad38a5 memset+0x45 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff8000216418d8 ss 0x10 memset+0x45: repe stosb %es:(%rdi) ddb> show proc PROC (syslogd) pid=496961 stat=onproc flags process=1100010 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000215f8fd0,0xffff8000215f9520 process=0xffff8000215f0bc8 user=0xffff80002163c000, vmspace=0xfffffd807f018cc0 estcpu=0, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 49099 349907 28617 0 2 0 syz-executor.7 36056 269827 46565 0 2 0 syz-executor.4 36056 354025 46565 0 3 0x4000080 fsleep syz-executor.4 36056 41428 46565 0 2 0x4000000 syz-executor.4 36056 486859 46565 0 2 0x4000000 syz-executor.4 46654 329443 64109 0 2 0 syz-executor.6 46654 416558 64109 0 2 0x4000000 syz-executor.6 33086 60915 85516 0 2 0 syz-executor.3 33086 123199 85516 0 3 0x4000080 fsleep syz-executor.3 33086 421754 85516 0 2 0x4000000 syz-executor.3 7 394672 38682 0 2 0x480 syz-executor.1 7 374773 38682 0 3 0x4000080 fsleep syz-executor.1 7 107192 38682 0 3 0x4000080 fsleep syz-executor.1 93572 314161 22751 0 2 0 syz-executor.0 93572 159575 22751 0 3 0x4000080 fsleep syz-executor.0 85516 303047 75484 0 2 0x482 syz-executor.3 22751 490636 75484 0 2 0x482 syz-executor.0 46565 246970 75484 0 2 0x482 syz-executor.4 38682 5137 75484 0 2 0x482 syz-executor.1 28617 23700 75484 0 2 0x482 syz-executor.7 22445 267406 75484 0 2 0x2 syz-executor.2 80249 487209 75484 0 2 0x482 syz-executor.5 75668 352325 1 0 3 0x100083 ttyin getty 36922 479928 0 0 3 0x14200 acct acct 93277 453008 0 0 3 0x14280 nfsidl nfsio 84738 90482 0 0 3 0x14280 nfsidl nfsio 92853 507789 0 0 3 0x14280 nfsidl nfsio 55621 405233 0 0 3 0x14280 nfsidl nfsio 84726 288386 0 0 3 0x14280 nfsidl nfsio 46451 333797 0 0 3 0x14280 nfsidl nfsio 88612 67939 0 0 3 0x14280 nfsidl nfsio 89006 11015 0 0 3 0x14280 nfsidl nfsio 64403 240773 0 0 3 0x14280 nfsidl nfsio 6418 357868 0 0 3 0x14280 nfsidl nfsio 17550 6956 0 0 3 0x14280 nfsidl nfsio 16154 110837 0 0 3 0x14280 nfsidl nfsio 90042 501771 0 0 3 0x14280 nfsidl nfsio 23006 198926 0 0 3 0x14280 nfsidl nfsio 64109 502995 75484 0 2 0x482 syz-executor.6 55200 179042 0 0 3 0x14280 nfsidl nfsio 81688 110284 0 0 3 0x14280 nfsidl nfsio 11836 182797 0 0 3 0x14280 nfsidl nfsio 78288 405409 0 0 3 0x14280 nfsidl nfsio 90422 284540 0 0 3 0x14280 nfsidl nfsio 47155 371207 0 0 3 0x14280 nfsidl nfsio 27737 208647 0 0 3 0x14200 bored sosplice 75484 209342 54565 0 3 0x82 thrsleep syz-fuzzer 75484 174150 54565 0 3 0x4000082 thrsleep syz-fuzzer 75484 289310 54565 0 3 0x4000082 thrsleep syz-fuzzer 75484 447413 54565 0 3 0x4000082 thrsleep syz-fuzzer 75484 17126 54565 0 3 0x4000082 kqread syz-fuzzer 75484 266560 54565 0 3 0x4000082 thrsleep syz-fuzzer 75484 401116 54565 0 3 0x4000082 thrsleep syz-fuzzer 75484 365701 54565 0 3 0x4000082 thrsleep syz-fuzzer 54565 175718 73122 0 3 0x10008a sigsusp ksh 73122 131260 39713 0 3 0x9a kqread sshd 39713 55055 1 0 3 0x88 kqread sshd *18609 496961 60505 73 7 0x1100010 syslogd 60505 214197 1 0 3 0x100082 netio syslogd 8876 280677 1 0 3 0x100080 kqread resolvd 70059 214785 56879 77 3 0x100092 kqread dhcpleased 44650 3535 56879 77 3 0x100092 kqread dhcpleased 56879 362593 1 0 3 0x80 kqread dhcpleased 49457 389209 0 0 3 0x14200 bored smr 37534 122613 0 0 2 0x14200 zerothread 31625 459079 0 0 3 0x14200 aiodoned aiodoned 60394 30420 0 0 3 0x14200 syncer update 55610 137735 0 0 3 0x14200 cleaner cleaner 33503 286748 0 0 3 0x14200 reaper reaper 88621 355889 0 0 3 0x14200 pgdaemon pagedaemon 42324 334038 0 0 3 0x14200 bored viomb 87622 318545 0 0 3 0x40014200 acpi0 acpi0 32878 111888 0 0 2 0x14200 softnet 26816 220751 0 0 3 0x14200 bored systqmp 66692 102175 0 0 3 0x14200 bored systq 73450 518787 0 0 2 0x40014200 softclock 44345 37295 0 0 3 0x40014200 idle0 1 517184 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 10209 6499K 14885K 78643K 23322 0 pcb 13 16K 18K 78643K 1093 0 rtable 253 17K 20K 78643K 2309 0 ifaddr 108 24K 24K 78643K 869 0 sysctl 1 1K 1K 78643K 1 0 counters 27 17K 17K 78643K 111 0 ioctlops 0 0K 4K 78643K 2068 0 iov 0 0K 32K 78643K 1012 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1397 87K 88K 78643K 5457 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 81 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 2612 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 78K 78643K 8983 0 sigio 0 0K 0K 78643K 114 0 proc 64 55K 79K 78643K 1727 0 subproc 104 6K 6K 78643K 533 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 492 0 in_multi 99 6K 7K 78643K 647 0 ether_multi 1 0K 0K 78643K 61 0 mrt 1 0K 0K 78643K 29 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 2K 78643K 2279 0 pfkey data 0 0K 1K 78643K 8 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 7 26K 26K 78643K 7 0 UVM amap 436 530K 547K 78643K 109081 0 UVM aobj 131 8K 8K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 332 0 NDP 13 0K 1K 78643K 187 0 temp 144 4721K 4801K 78643K 124217 0 kqueue 12 18K 26K 78643K 463 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 597 0 594 10 9 1 5 0 8 0 rtentry 112 576 0 482 5 2 3 4 0 8 0 unpcb 136 18009 0 17996 110 105 5 9 0 8 4 syncache 296 37 0 37 12 12 0 1 0 8 0 tcpqe 32 18 0 18 8 8 0 1 0 8 0 tcpcb 736 2717 0 2713 113 106 7 25 0 8 6 arp 88 96 0 80 1 0 1 1 0 8 0 ipq 40 17 0 17 6 5 1 1 0 8 1 ipqe 40 66 0 66 6 5 1 1 0 8 1 inpcb 304 9473 0 9466 120 113 7 11 0 8 6 rttmr 72 5 0 5 2 2 0 1 0 8 0 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 7 0 7 2 2 0 1 0 8 0 nd6 48 142 0 118 1 0 1 1 0 8 0 pkpcb 40 24 0 24 5 4 1 1 0 8 1 kcovpl 48 41 0 33 1 0 1 1 0 8 0 ppxss 1152 21 0 21 6 6 0 1 0 8 0 pfstscr 40 35 0 32 2 1 1 1 0 8 0 pfosfp 40 7 0 5 1 0 1 1 0 8 0 pfosfpen 112 7 0 3 1 0 1 1 0 8 0 pfrktable 1344 234 0 214 6 4 2 3 0 8 0 pftag 88 7 0 0 1 0 1 1 0 8 0 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 112 58 0 54 2 1 1 1 0 8 0 pfstate 320 29 0 27 2 1 1 1 0 8 0 pfrule 1360 458 0 361 9 0 9 9 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2413 0 1956 61 32 29 30 0 8 0 art_table 32 2414 0 1956 4 0 4 4 0 8 0 art_node 16 575 0 492 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 10 2 2 0 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 2610 0 2600 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 12659 0 11184 93 0 93 93 0 8 0 ffsino 240 12659 0 11184 87 0 87 87 0 8 0 nchpl 144 25781 0 24159 62 0 62 62 0 8 0 uvmvnodes 80 6242 0 0 128 0 128 128 0 8 0 vnodes 224 6242 0 0 368 0 368 368 0 8 0 namei 1024 109403 0 109403 7 6 1 2 0 8 1 vcpupl 1984 107 0 0 14 0 14 14 0 8 0 vmpool 528 150 0 43 8 0 8 8 0 8 0 pfiaddrpl 120 96 0 53 3 1 2 2 0 8 0 scsiplug 72 9 0 9 3 3 0 1 0 8 0 scxspl 216 83037 0 83037 17 16 1 8 0 8 1 plimitpl 152 1475 0 1461 1 0 1 1 0 8 0 sigapl 424 9220 0 9157 9 1 8 8 0 8 0 futexpl 64 100173 0 100168 6 5 1 1 0 8 0 knotepl 120 81040 0 80960 6 3 3 6 0 8 0 kqueuepl 184 1818 0 1810 30 28 2 7 0 8 1 pipepl 304 2562 0 2534 43 40 3 11 0 8 0 fdescpl 432 9185 0 9158 6 2 4 4 0 8 0 filepl 120 88414 0 88178 120 106 14 16 0 8 6 lockfpl 104 2284 0 2282 6 5 1 2 0 8 0 lockfspl 48 687 0 685 1 0 1 1 0 8 0 sessionpl 144 59 0 43 1 0 1 1 0 8 0 pgrppl 48 81 0 65 1 0 1 1 0 8 0 ucredpl 96 27100 0 27089 1 0 1 1 0 8 0 zombiepl 144 9158 0 9157 2 1 1 1 0 8 0 processpl 1000 9220 0 9157 9 0 9 9 0 8 0 procpl 672 22441 0 22362 27 19 8 8 0 8 1 sosppl 168 94 0 94 16 16 0 1 0 8 0 sockpl 448 28187 0 28164 630 621 9 33 0 8 6 mcl64k 65536 361 0 361 25 24 1 1 0 8 1 mcl16k 16384 108 0 108 24 24 0 1 0 8 0 mcl12k 12288 305 0 305 25 24 1 1 0 8 1 mcl9k 9216 132 0 132 27 26 1 1 0 8 1 mcl8k 8192 682 0 682 16 15 1 1 0 8 1 mcl4k 4096 1731 0 1731 13 12 1 1 0 8 1 mcl2k2 2112 68 0 68 23 22 1 1 0 8 1 mcl2k 2048 94188 0 94143 25 18 7 16 0 8 0 mtagpl 96 1579 0 1560 16 15 1 10 0 8 0 mbufpl 256 230026 0 229825 442 419 23 310 0 8 6 bufpl 288 19439 0 13033 459 0 459 459 0 8 0 anonpl 24 2537951 0 2512967 332 153 179 184 0 188 13 amapchunkpl 152 267727 0 266780 142 101 41 48 0 158 0 amappl16 200 27074 0 26147 127 66 61 62 0 8 8 amappl15 192 840 0 833 1 0 1 1 0 8 0 amappl14 184 975 0 969 1 0 1 1 0 8 0 amappl13 176 865 0 860 1 0 1 1 0 8 0 amappl12 168 289 0 284 5 4 1 1 0 8 0 amappl11 160 760 0 750 1 0 1 1 0 8 0 amappl10 152 3021 0 3014 1 0 1 1 0 8 0 amappl9 144 1763 0 1757 1 0 1 1 0 8 0 amappl8 136 2635 0 2542 4 0 4 4 0 8 0 amappl7 128 1555 0 1545 1 0 1 1 0 8 0 amappl6 120 1599 0 1575 2 1 1 2 0 8 0 amappl5 112 10752 0 10733 1 0 1 1 0 8 0 amappl4 104 3013 0 2979 3 2 1 2 0 8 0 amappl3 96 1613 0 1596 1 0 1 1 0 8 0 amappl2 88 2013 0 1957 3 1 2 3 0 8 0 amappl1 80 165374 0 164815 19 6 13 18 0 8 0 amappl 88 107898 0 107627 7 0 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 9335 0 9201 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9335 0 9201 1 0 1 1 0 8 0 vmmpekpl 168 68160 0 68092 4 0 4 4 0 8 0 vmmpepl 168 839464 0 836381 338 186 152 154 0 357 5 vmsppl 272 9334 0 9201 14 4 10 10 0 8 0 rwobjpl 24 203996 0 195687 55 3 52 52 0 8 1 pdppl 4096 18676 0 18509 644 473 171 171 0 8 4 pvpl 32 4363645 0 4340289 505 268 237 296 0 265 30 pmappl 216 9334 0 9201 8 0 8 8 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 2669 0 1756 35 6 29 35 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x45 ffs_write(ffff800021641bb0) at ffs_write+0x93c VOP_WRITE(fffffd806e4e7ad0,ffff800021641dd0,3,fffffd807f7d89c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806ecc4530,ffff800021641dd0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000215f9270,e,ffff800021641dd0,0,ffff800021641ed0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_writev(ffff8000215f9270,ffff800021641e70,ffff800021641ed0) at sys_writev+0xa7 sys/kern/sys_generic.c:328 syscall(ffff800021641f40) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffee100, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x45 ffs_write(ffff800021641bb0) at ffs_write+0x93c VOP_WRITE(fffffd806e4e7ad0,ffff800021641dd0,3,fffffd807f7d89c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806ecc4530,ffff800021641dd0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000215f9270,e,ffff800021641dd0,0,ffff800021641ed0) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_writev(ffff8000215f9270,ffff800021641e70,ffff800021641ed0) at sys_writev+0xa7 sys/kern/sys_generic.c:328 syscall(ffff800021641f40) at syscall+0x44e sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffee100, count: -8