uvm_fault(0xffffffff82d5dfb0, 0xffff80001e60f000, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x52: repe stosq %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND * 69206 31186 0 0 0x4000000 0 syz-executor.4 memset() at memset+0x52 VOP_WRITE(fffffd8067c39cc8,ffff8000216d8db0,5,fffffd807f7d78f0) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 vn_write(fffffd807e758f10,ffff8000216d8db0,1) at vn_write+0x1a0 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000216d2010,5,ffff8000216d8db0,1,ffff8000216d8ea0) at dofilewritev+0x1a0 sys/kern/sys_generic.c:375 sys_pwritev(ffff8000216d2010,ffff8000216d8e50,ffff8000216d8ea0) at sys_pwritev+0xb6 sys/kern/vfs_syscalls.c:3356 syscall(ffff8000216d8f20) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5f979ad73e0, 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(0xffffffff82d5dfb0, 0xffff80001e60f000, 0, 2) -> d ddb> trace memset() at memset+0x52 VOP_WRITE(fffffd8067c39cc8,ffff8000216d8db0,5,fffffd807f7d78f0) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 vn_write(fffffd807e758f10,ffff8000216d8db0,1) at vn_write+0x1a0 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000216d2010,5,ffff8000216d8db0,1,ffff8000216d8ea0) at dofilewritev+0x1a0 sys/kern/sys_generic.c:375 sys_pwritev(ffff8000216d2010,ffff8000216d8e50,ffff8000216d8ea0) at sys_pwritev+0xb6 sys/kern/vfs_syscalls.c:3356 syscall(ffff8000216d8f20) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5f979ad73e0, count: -7 ddb> show registers rdi 0xffff80001e60f000 rsi 0 rbp 0xffff8000216d8b80 rbx 0xe rdx 0 rcx 0x800 rax 0 r8 0x4000 __ALIGN_SIZE+0x3000 r9 0 r10 0x3568bb24f9606a08 r11 0xffff80001e60f000 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0x4000 __ALIGN_SIZE+0x3000 r14 0xffff80001e60f000 r15 0x4000 __ALIGN_SIZE+0x3000 rip 0xffffffff816c92b2 memset+0x52 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff8000216d8ab8 ss 0 memset+0x52: repe stosq %es:(%rdi) ddb> show proc PROC (syz-executor.4) tid=69206 pid=31186 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=78, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000216d2ab0,0xffff8000216d2570 process=0xffff8000216f47e0 user=0xffff8000216d3000, vmspace=0xfffffd8068903018 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37982 93384 67837 0 2 0 syz-executor.3 37982 173233 67837 0 2 0x4000000 syz-executor.3 81957 78328 71387 0 3 0x80 nanoslp syz-executor.6 81957 141810 71387 0 3 0x4000080 fsleep syz-executor.6 81957 351662 71387 0 3 0x4000080 fsleep syz-executor.6 95443 280512 74031 0 2 0 syz-executor.0 13891 257415 21174 0 2 0 syz-executor.1 13891 195536 21174 0 3 0x4000080 fsleep syz-executor.1 31186 510105 41193 0 2 0 syz-executor.4 *31186 69206 41193 0 7 0x4000000 syz-executor.4 31186 129709 41193 0 3 0x4000080 fsleep syz-executor.4 14652 283502 64182 0 2 0 syz-executor.2 14652 287085 64182 0 3 0x4000080 fsleep syz-executor.2 37663 32150 55604 0 2 0 syz-executor.5 37663 220278 55604 0 3 0x4000080 bell syz-executor.5 37663 248263 55604 0 2 0x4000000 syz-executor.5 53033 159795 0 0 3 0x14200 acct acct 71387 415591 89872 0 2 0x482 syz-executor.6 41193 411937 89872 0 3 0x82 nanoslp syz-executor.4 74031 127095 89872 0 3 0x82 nanoslp syz-executor.0 21174 76613 89872 0 2 0x482 syz-executor.1 67837 171637 89872 0 3 0x82 nanoslp syz-executor.3 64182 181888 89872 0 2 0x482 syz-executor.2 55604 361679 89872 0 3 0x82 nanoslp syz-executor.5 28384 288895 0 0 3 0x14200 bored sosplice 75614 371799 0 0 3 0x14280 nfsidl nfsio 1307 81911 0 0 3 0x14280 nfsidl nfsio 68084 144058 0 0 3 0x14280 nfsidl nfsio 73960 448206 0 0 3 0x14280 nfsidl nfsio 60021 3084 0 0 3 0x14280 nfsidl nfsio 63050 471790 0 0 3 0x14280 nfsidl nfsio 89474 470938 0 0 3 0x14280 nfsidl nfsio 23810 248423 0 0 3 0x14280 nfsidl nfsio 68557 340074 0 0 3 0x14280 nfsidl nfsio 8398 411077 0 0 3 0x14280 nfsidl nfsio 30079 3640 0 0 3 0x14280 nfsidl nfsio 85970 331945 0 0 3 0x14280 nfsidl nfsio 77058 147286 0 0 3 0x14280 nfsidl nfsio 42127 206764 0 0 3 0x14280 nfsidl nfsio 59957 89316 0 0 3 0x14280 nfsidl nfsio 70212 37577 0 0 3 0x14280 nfsidl nfsio 21905 2091 0 0 3 0x14280 nfsidl nfsio 43019 490825 0 0 3 0x14280 nfsidl nfsio 76631 311772 0 0 3 0x14280 nfsidl nfsio 56857 181123 0 0 3 0x14280 nfsidl nfsio 89872 427438 54430 0 3 0x2000082 wait syz-fuzzer 89872 154293 54430 0 2 0x6000482 syz-fuzzer 89872 468431 54430 0 3 0x6000082 wait syz-fuzzer 89872 343480 54430 0 3 0x6000082 thrsleep syz-fuzzer 89872 423399 54430 0 3 0x6000082 wait syz-fuzzer 89872 222175 54430 0 3 0x6000082 wait syz-fuzzer 89872 209980 54430 0 3 0x6000082 thrsleep syz-fuzzer 89872 152502 54430 0 3 0x6000082 wait syz-fuzzer 89872 293906 54430 0 3 0x6000082 wait syz-fuzzer 89872 38204 54430 0 3 0x6000082 kqread syz-fuzzer 89872 205675 54430 0 3 0x6000082 thrsleep syz-fuzzer 89872 199312 54430 0 3 0x6000082 thrsleep syz-fuzzer 89872 101742 54430 0 3 0x6000082 wait syz-fuzzer 89872 234090 54430 0 3 0x6000082 thrsleep syz-fuzzer 54430 270392 21577 0 3 0x10008a sigsusp ksh 21577 227078 53257 0 3 0x9a kqread sshd 77580 356655 1 0 3 0x100083 ttyopn getty 53257 65161 1 0 3 0x88 kqread sshd 7161 415208 72257 73 3 0x1100090 kqread syslogd 72257 501057 1 0 3 0x100082 netio syslogd 27368 53494 1 0 3 0x100080 kqread resolvd 68435 414373 74381 77 3 0x100092 kqread dhcpleased 44359 298268 74381 77 3 0x100092 kqread dhcpleased 74381 130046 1 0 3 0x80 kqread dhcpleased 50066 128951 0 0 3 0x14200 bored smr 56112 337330 0 0 2 0x14200 zerothread 71704 305995 0 0 3 0x14200 aiodoned aiodoned 34373 69550 0 0 3 0x14200 syncer update 17528 273821 0 0 3 0x14200 cleaner cleaner 94285 487329 0 0 3 0x14200 reaper reaper 38204 172149 0 0 3 0x14200 pgdaemon pagedaemon 83644 267649 0 0 3 0x14200 bored viomb 85608 107289 0 0 3 0x40014200 acpi0 acpi0 16775 175639 0 0 3 0x14200 bored softnet3 94437 442208 0 0 3 0x14200 bored softnet2 63115 371515 0 0 3 0x14200 bored softnet1 91258 483398 0 0 3 0x14200 bored softnet0 39804 474634 0 0 3 0x14200 bored systqmp 67509 316515 0 0 3 0x14200 bored systq 96222 367497 0 0 2 0x40014200 softclock 54100 411584 0 0 3 0x40014200 idle0 1 330452 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 10208 6499K 7299K 78643K 26153 0 pcb 13 14K 16K 78643K 370 0 rtable 220 14K 15K 78643K 1057 0 pf 32 9K 10K 78643K 226 0 ifaddr 41 11K 13K 78643K 188 0 ifgroup 55 2K 2K 78643K 373 0 sysctl 4 1K 1K 78643K 6 0 counters 29 17K 17K 78643K 117 0 ioctlops 0 0K 2K 78643K 578 0 iov 0 0K 16K 78643K 691 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1725 108K 108K 78643K 6203 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 95 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 825 0 dirhash 12 2K 2K 78643K 33 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 65K 78643K 6727 0 sigio 0 0K 0K 78643K 403 0 proc 58 59K 83K 78643K 1164 0 subproc 91 5K 6K 78643K 312 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 433 0 in_multi 88 6K 7K 78643K 344 0 ether_multi 1 0K 0K 78643K 7 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 217 970K 970K 78643K 217 0 exec 0 0K 1K 78643K 1160 0 pfkey data 0 0K 0K 78643K 6 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 434 365K 387K 78643K 63793 0 UVM aobj 131 4K 4K 78643K 137 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 163 0 NDP 12 0K 2K 78643K 148 0 temp 70 5911K 5992K 78643K 109108 0 kqueue 12 18K 28K 78643K 417 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 448 0 445 6 3 3 3 0 8 2 rtentry 112 308 0 208 4 0 4 4 0 8 0 unpcb 144 4146 0 4127 59 58 1 10 0 8 0 syncache 312 106 0 106 18 17 1 1 0 8 1 tcpqe 32 178 0 178 15 14 1 1 0 8 1 tcpcb 808 1951 0 1920 55 51 4 15 0 8 0 arp 88 52 0 36 1 0 1 1 0 8 0 ipq 40 2 0 2 2 2 0 1 0 8 0 ipqe 40 6 0 6 2 2 0 1 0 8 0 inpcb 336 4699 0 4665 59 51 8 14 0 8 3 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 3 0 3 1 1 0 1 0 8 0 nd6 104 80 0 58 1 0 1 1 0 8 0 pkpcb 40 59 0 59 7 6 1 1 0 8 1 kcovpl 48 24 0 17 1 0 1 1 0 8 0 ppxss 1160 26 0 26 6 5 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1201 0 779 31 1 30 30 0 8 2 art_table 32 1202 0 779 4 0 4 4 0 8 0 art_node 16 296 0 205 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 3 1 0 1 1 0 8 0 semapl 112 823 0 813 1 0 1 1 0 8 0 shmpl 112 134 0 6 4 0 4 4 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 11444 0 9950 94 0 94 94 0 8 0 ffsino 240 11444 0 9950 89 0 89 89 0 8 0 nchpl 144 21724 0 21243 63 42 21 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 80471 0 80470 3 2 1 3 0 8 0 vcpupl 2048 165 0 0 21 0 21 21 0 8 0 vmpool 664 300 0 135 16 2 14 14 0 8 0 kstatmem 264 200 0 176 2 0 2 2 0 8 0 scxspl 216 59565 0 59565 22 21 1 8 1 8 1 plimitpl 152 1045 0 1031 1 0 1 1 0 8 0 sigapl 424 7009 0 6944 8 0 8 8 0 8 0 futexpl 64 63890 0 63885 1 0 1 1 0 8 0 knotepl 120 57788 0 57714 17 14 3 17 0 8 0 kqueuepl 184 822 0 814 11 10 1 4 0 8 0 pipepl 288 1550 0 1525 40 37 3 9 0 8 0 fdescpl 432 6970 0 6943 4 0 4 4 0 8 0 filepl 120 49205 0 48978 76 62 14 16 0 8 6 lockfpl 104 7842 0 7840 8 7 1 2 0 8 0 lockfspl 48 2289 0 2287 1 0 1 1 0 8 0 sessionpl 144 39 0 24 1 0 1 1 0 8 0 pgrppl 48 176 0 161 1 0 1 1 0 8 0 ucredpl 104 6045 0 6032 1 0 1 1 0 8 0 zombiepl 144 6944 0 6944 1 0 1 1 0 8 1 processpl 1008 7009 0 6944 10 1 9 9 0 8 0 procpl 680 16856 0 16769 15 7 8 9 0 8 0 sosppl 168 75 0 75 7 6 1 1 0 8 1 sockpl 456 9358 0 9302 214 199 15 40 0 8 7 mcl64k 65536 272 0 272 10 9 1 1 0 8 1 mcl16k 16384 101 0 101 14 13 1 1 0 8 1 mcl12k 12288 269 0 269 10 9 1 1 0 8 1 mcl9k 9216 169 0 169 16 15 1 1 0 8 1 mcl8k 8192 449 0 449 12 11 1 3 0 8 1 mcl4k 4096 659 0 659 5 4 1 2 0 8 1 mcl2k2 2112 79 0 79 16 16 0 1 0 8 0 mcl2k 2048 80118 0 80075 66 59 7 32 0 8 1 mtagpl 96 1472 0 1213 25 17 8 19 0 8 0 mbufpl 256 184499 0 184015 203 167 36 97 0 8 1 bufpl 288 15349 0 8949 458 0 458 458 0 8 0 anonpl 24 799655 0 787828 158 59 99 112 0 188 0 amapchunkpl 152 202606 0 201752 64 27 37 44 0 158 0 amappl16 200 18325 0 17800 108 79 29 40 0 8 0 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 203 0 192 2 1 1 2 0 8 0 amappl13 176 18 0 18 1 1 0 1 0 8 0 amappl12 168 7837 0 7807 2 0 2 2 0 8 0 amappl11 160 60 0 49 1 0 1 1 0 8 0 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 187 0 186 1 0 1 1 0 8 0 amappl8 136 400 0 309 4 0 4 4 0 8 0 amappl7 128 261 0 236 2 0 2 2 0 8 0 amappl6 120 533 0 522 1 0 1 1 0 8 0 amappl5 112 238 0 230 1 0 1 1 0 8 0 amappl4 104 546 0 522 2 1 1 2 0 8 0 amappl3 96 40071 0 39983 3 0 3 3 0 8 0 amappl2 88 7685 0 7612 3 1 2 3 0 8 0 amappl1 80 34042 0 33536 22 11 11 22 0 8 0 amappl 88 62985 0 62731 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 136 0 6 3 0 3 3 0 8 0 uaddrrnd 24 7270 0 7078 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7270 0 7078 2 0 2 2 0 8 0 vmmpekpl 168 50571 0 50496 4 0 4 4 0 8 0 vmmpepl 168 427966 0 425443 242 107 135 135 0 357 15 vmsppl 368 7269 0 7078 18 0 18 18 0 8 0 rwobjpl 24 110134 0 102497 51 3 48 48 0 8 0 pdppl 4096 14546 0 14321 492 263 229 229 0 8 4 pvpl 32 1983983 0 1966656 439 265 174 361 0 265 0 pmappl 216 7269 0 7078 11 0 11 11 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1710 0 694 31 0 31 31 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x52 VOP_WRITE(fffffd8067c39cc8,ffff8000216d8db0,5,fffffd807f7d78f0) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 vn_write(fffffd807e758f10,ffff8000216d8db0,1) at vn_write+0x1a0 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000216d2010,5,ffff8000216d8db0,1,ffff8000216d8ea0) at dofilewritev+0x1a0 sys/kern/sys_generic.c:375 sys_pwritev(ffff8000216d2010,ffff8000216d8e50,ffff8000216d8ea0) at sys_pwritev+0xb6 sys/kern/vfs_syscalls.c:3356 syscall(ffff8000216d8f20) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5f979ad73e0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x52 VOP_WRITE(fffffd8067c39cc8,ffff8000216d8db0,5,fffffd807f7d78f0) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 vn_write(fffffd807e758f10,ffff8000216d8db0,1) at vn_write+0x1a0 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000216d2010,5,ffff8000216d8db0,1,ffff8000216d8ea0) at dofilewritev+0x1a0 sys/kern/sys_generic.c:375 sys_pwritev(ffff8000216d2010,ffff8000216d8e50,ffff8000216d8ea0) at sys_pwritev+0xb6 sys/kern/vfs_syscalls.c:3356 syscall(ffff8000216d8f20) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5f979ad73e0, count: -7