uvm_fault(0xffffffff82d7ec08, 0xffff800024f12049, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x49: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *412680 21059 0 0x2 0x1 0 syz-executor.1 memset() at memset+0x49 ffs_write(ffff80002f353250) at ffs_write+0x924 VOP_WRITE(fffffd8067aabcf8,ffff80002f353300,3,fffffd807f7d71a0) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a678800,fffffd8067aabcf8,fffffd807f7d71a0,ffff80002f3533c0,ffff80002f3533a0) at ktrwriteraw+0x14a sys/kern/kern_ktrace.c:682 ktrsysret(ffff80002a678800,5b,0,ffff80002f353490) at ktrsysret+0x15c ktrwrite2 sys/kern/kern_ktrace.c:645 [inline] ktrsysret(ffff80002a678800,5b,0,ffff80002f353490) at ktrsysret+0x15c sys/kern/kern_ktrace.c:206 syscall(ffff80002f353540) at syscall+0x855 mi_syscall_return sys/sys/syscall_mi.h:212 [inline] syscall(ffff80002f353540) at syscall+0x855 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x729279c6f790, 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(0xffffffff82d7ec08, 0xffff800024f12049, 0, 2) -> d ddb> trace memset() at memset+0x49 ffs_write(ffff80002f353250) at ffs_write+0x924 VOP_WRITE(fffffd8067aabcf8,ffff80002f353300,3,fffffd807f7d71a0) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a678800,fffffd8067aabcf8,fffffd807f7d71a0,ffff80002f3533c0,ffff80002f3533a0) at ktrwriteraw+0x14a sys/kern/kern_ktrace.c:682 ktrsysret(ffff80002a678800,5b,0,ffff80002f353490) at ktrsysret+0x15c ktrwrite2 sys/kern/kern_ktrace.c:645 [inline] ktrsysret(ffff80002a678800,5b,0,ffff80002f353490) at ktrsysret+0x15c sys/kern/kern_ktrace.c:206 syscall(ffff80002f353540) at syscall+0x855 mi_syscall_return sys/sys/syscall_mi.h:212 [inline] syscall(ffff80002f353540) at syscall+0x855 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x729279c6f790, count: -7 ddb> show registers rdi 0xffff800024f12049 rsi 0 rbp 0xffff80002f353170 rbx 0x1 rdx 0x7 rcx 0x7 rax 0 r8 0x7b0 r9 0xffff80002f3530c0 r10 0x59679836561bc387 r11 0xffff800024f12049 r12 0x800 r13 0x1 r14 0xfffffd807707db50 r15 0x18049 acpi_pdirpa+0x3eba rip 0xffffffff8241c249 memset+0x49 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002f352f78 ss 0x10 memset+0x49: repe stosb %es:(%rdi) ddb> show proc PROC (syz-executor.1) tid=412680 pid=21059 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002c0fcd58,0xffff80002a62e578 process=0xffff80003439f258 user=0xffff80002f34e000, vmspace=0xfffffd8064877b40 estcpu=36, cpticks=1, pctcpu=0.1, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 34930 190972 68297 0 2 0 syz-executor.7 98308 30355 4627 0 2 0 syz-executor.5 98308 20111 4627 0 2 0x4000000 syz-executor.5 92103 212712 7255 0 2 0 syz-executor.3 92103 235073 7255 0 2 0x4000000 syz-executor.3 92103 306140 7255 0 3 0x4000080 fsleep syz-executor.3 2484 263562 60811 0 2 0 syz-executor.4 2484 489289 60811 0 3 0x4000080 fsleep syz-executor.4 2509 496982 21059 0 2 0 syz-executor.1 2509 480648 21059 0 3 0x4000080 ttyin syz-executor.1 2509 79293 21059 0 3 0x4000080 ttyin syz-executor.1 42091 95439 58690 0 3 0x80 nanoslp syz-executor.2 42091 233277 58690 0 3 0x4000080 netcon2 syz-executor.2 42091 310633 58690 0 3 0x4000080 fsleep syz-executor.2 96329 406678 86931 0 2 0x482 syz-executor.6 68297 420661 86931 0 2 0x482 syz-executor.7 12257 249006 1 0 3 0x100083 ttyin getty 6897 454357 0 0 3 0x14280 nfsidl nfsio 58400 282074 0 0 3 0x14280 nfsidl nfsio 20451 284087 0 0 3 0x14280 nfsidl nfsio 708 89119 0 0 3 0x14280 nfsidl nfsio 55587 134960 0 0 3 0x14280 nfsidl nfsio 94688 123993 0 0 3 0x14280 nfsidl nfsio 10121 112493 0 0 3 0x14280 nfsidl nfsio 93869 430686 0 0 3 0x14280 nfsidl nfsio 54974 52372 0 0 3 0x14280 nfsidl nfsio 61857 260086 0 0 3 0x14280 nfsidl nfsio 43547 357179 0 0 3 0x14280 nfsidl nfsio 34083 339504 0 0 3 0x14280 nfsidl nfsio 5476 1184 0 0 3 0x14280 nfsidl nfsio 65948 319834 0 0 3 0x14280 nfsidl nfsio 22119 80114 0 0 3 0x14280 nfsidl nfsio 58269 362972 0 0 3 0x14280 nfsidl nfsio 77550 146866 0 0 3 0x14280 nfsidl nfsio 63649 254110 0 0 3 0x14280 nfsidl nfsio 99218 146751 0 0 3 0x14280 nfsidl nfsio 6628 39250 0 0 3 0x14280 nfsidl nfsio 72019 487474 86931 0 2 0x2 syz-executor.0 65158 234395 0 0 3 0x14200 acct acct 4627 423361 86931 0 2 0x482 syz-executor.5 *21059 412680 86931 0 7 0x3 syz-executor.1 60811 354245 86931 0 3 0x82 nanoslp syz-executor.4 7255 446941 86931 0 2 0x482 syz-executor.3 58690 460123 86931 0 3 0x82 nanoslp syz-executor.2 34831 500850 0 0 3 0x14200 bored sosplice 86931 459879 35308 0 3 0x2000082 wait syz-fuzzer 86931 277111 35308 0 2 0x6000482 syz-fuzzer 86931 48760 35308 0 3 0x6000082 thrsleep syz-fuzzer 86931 76649 35308 0 3 0x6000082 thrsleep syz-fuzzer 86931 370818 35308 0 3 0x6000082 kqread syz-fuzzer 86931 76278 35308 0 3 0x6000082 thrsleep syz-fuzzer 86931 418601 35308 0 3 0x6000082 wait syz-fuzzer 86931 85764 35308 0 3 0x6000082 wait syz-fuzzer 86931 308765 35308 0 3 0x6000082 wait syz-fuzzer 86931 254381 35308 0 3 0x6000082 thrsleep syz-fuzzer 86931 362817 35308 0 3 0x6000082 wait syz-fuzzer 86931 59247 35308 0 3 0x6000082 wait syz-fuzzer 86931 4396 35308 0 3 0x6000082 wait syz-fuzzer 86931 506661 35308 0 3 0x6000082 wait syz-fuzzer 35308 26626 6155 0 3 0x10008a sigsusp ksh 6155 182397 96524 0 3 0x9a kqread sshd 96524 434488 1 0 3 0x88 kqread sshd 7407 373566 27963 73 2 0x1100090 syslogd 27963 217343 1 0 3 0x100082 netio syslogd 17896 386645 1 0 3 0x100080 kqread resolvd 35254 60976 70221 77 3 0x100092 kqread dhcpleased 71121 391212 70221 77 3 0x100092 kqread dhcpleased 70221 323005 1 0 3 0x80 kqread dhcpleased 73030 477298 0 0 3 0x14200 bored smr 65013 228637 0 0 2 0x14200 zerothread 97142 115383 0 0 3 0x14200 aiodoned aiodoned 15645 50747 0 0 3 0x14200 syncer update 4755 480666 0 0 3 0x14200 cleaner cleaner 72982 328584 0 0 3 0x14200 reaper reaper 32868 479440 0 0 3 0x14200 pgdaemon pagedaemon 25995 485373 0 0 3 0x14200 bored viomb 11228 204107 0 0 3 0x40014200 acpi0 acpi0 29590 158437 0 0 3 0x14200 bored softnet3 83215 100497 0 0 3 0x14200 bored softnet2 89734 339935 0 0 3 0x14200 bored softnet1 60719 442548 0 0 3 0x14200 bored softnet0 81352 84311 0 0 3 0x14200 bored systqmp 94218 145637 0 0 3 0x14200 bored systq 60912 27225 0 0 2 0x40014200 softclock 2248 77859 0 0 3 0x40014200 idle0 1 497343 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 10190 6431K 7141K 166960K 30951 0 pcb 15 16K 18K 166960K 716 0 rtable 216 10K 11K 166960K 2369 0 pf 33 9K 9K 166960K 423 0 ifaddr 41 12K 13K 166960K 379 0 ifgroup 58 2K 2K 166960K 684 0 sysctl 3 0K 0K 166960K 7 0 counters 32 17K 17K 166960K 195 0 ioctlops 0 0K 2K 166960K 647 0 iov 0 0K 24K 166960K 1138 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1537 96K 96K 166960K 8529 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 107 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 272 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 69K 166960K 10411 0 sigio 0 0K 0K 166960K 517 0 proc 61 59K 83K 166960K 2339 0 subproc 104 6K 6K 166960K 767 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 1035 0 in_multi 85 6K 7K 166960K 750 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 17 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 2121 0 pfkey data 0 0K 0K 166960K 20 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 423 250K 254K 166960K 95467 0 UVM aobj 131 6K 7K 166960K 140 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 304 0 NDP 13 0K 2K 166960K 300 0 temp 75 6764K 6892K 166960K 121936 0 kqueue 13 20K 29K 166960K 730 0 SYN cache 2 104K 112K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 695 0 692 7 6 1 3 0 8 0 rtentry 112 745 0 647 4 0 4 4 0 8 0 unpcb 144 8459 0 8446 23 17 6 8 0 8 5 syncache 336 144 0 144 4 3 1 1 0 8 1 tcpqe 32 596 0 596 5 4 1 2 0 8 1 tcpcb 808 3487 0 3456 36 26 10 16 0 8 3 arp 88 126 0 110 1 0 1 1 0 8 0 ipq 40 8 0 8 1 1 0 1 0 8 0 ipqe 40 122 0 122 1 1 0 1 0 8 0 inpcb 360 8526 0 8490 45 35 10 15 0 8 3 nd6 104 194 0 173 1 0 1 1 0 8 0 pkpcb 40 44 0 44 3 3 0 1 0 8 0 kcovpl 48 59 0 51 1 0 1 1 0 8 0 ppxss 1072 45 0 45 4 3 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2972 0 2555 33 4 29 30 0 8 0 art_table 32 2973 0 2555 4 0 4 4 0 8 0 art_node 16 726 0 636 1 0 1 1 0 8 0 sysvmsgpl 40 52 0 34 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 268 0 258 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 15630 0 14123 95 0 95 95 0 8 0 ffsino 240 15630 0 14123 89 0 89 89 0 8 0 nchpl 144 29574 0 27934 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 101447 0 101447 4 3 1 3 0 8 1 vcpupl 2048 68 0 1 9 0 9 9 0 8 0 vmpool 664 68 0 1 6 0 6 6 0 8 0 kstatmem 264 352 0 326 2 0 2 2 0 8 0 scxspl 216 84528 0 84528 14 12 2 8 1 8 2 plimitpl 152 1127 0 1111 1 0 1 1 0 8 0 sigapl 424 10708 0 10642 8 0 8 8 0 8 0 futexpl 64 92775 0 92772 1 0 1 1 0 8 0 knotepl 120 91418 0 91334 19 16 3 11 0 8 0 kqueuepl 184 1794 0 1785 13 9 4 4 0 8 3 pipepl 288 2134 0 2106 20 17 3 12 0 8 0 fdescpl 432 10589 0 10562 4 0 4 4 0 8 0 filepl 120 65032 0 64781 33 21 12 17 0 8 2 lockfpl 104 2912 0 2910 4 3 1 2 0 8 0 lockfspl 48 1009 0 1007 1 0 1 1 0 8 0 sessionpl 144 76 0 60 1 0 1 1 0 8 0 pgrppl 48 306 0 290 1 0 1 1 0 8 0 ucredpl 104 10239 0 10227 1 0 1 1 0 8 0 zombiepl 144 10643 0 10642 1 0 1 1 0 8 0 processpl 1072 10708 0 10642 5 0 5 5 0 8 0 procpl 680 25542 0 25455 11 2 9 9 0 8 1 sosppl 168 116 0 114 3 2 1 1 0 8 0 sockpl 488 17747 0 17695 304 288 16 31 0 8 8 mcl64k 65536 348 0 348 4 3 1 1 0 8 1 mcl16k 16384 201 0 201 4 3 1 1 0 8 1 mcl12k 12288 384 0 384 4 3 1 1 0 8 1 mcl9k 9216 162 0 162 4 3 1 1 0 8 1 mcl8k 8192 837 0 837 4 3 1 1 0 8 1 mcl4k 4096 1066 0 1066 7 6 1 4 0 8 1 mcl2k2 2112 69 0 69 4 3 1 1 0 8 1 mcl2k 2048 92751 0 92675 80 68 12 32 0 8 0 mtagpl 96 2180 0 1979 19 13 6 15 0 8 0 mbufpl 256 232481 0 232054 268 232 36 94 0 8 4 bufpl 280 22133 0 15740 457 0 457 457 0 8 0 anonpl 24 995202 0 980550 118 26 92 104 0 188 0 amapchunkpl 152 298894 0 298010 48 10 38 41 0 158 1 amappl16 200 18121 0 17666 52 26 26 37 0 8 0 amappl15 192 82 0 81 1 0 1 1 0 8 0 amappl14 184 331 0 317 2 1 1 2 0 8 0 amappl13 176 40 0 40 4 3 1 1 0 8 1 amappl12 168 11984 0 11957 2 0 2 2 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 108 0 100 1 0 1 1 0 8 0 amappl9 144 189 0 188 1 0 1 1 0 8 0 amappl8 136 484 0 402 3 0 3 3 0 8 0 amappl7 128 308 0 283 2 0 2 2 0 8 0 amappl6 120 1015 0 1004 1 0 1 1 0 8 0 amappl5 112 279 0 271 1 0 1 1 0 8 0 amappl4 104 785 0 761 2 1 1 2 0 8 0 amappl3 96 59942 0 59853 3 0 3 3 0 8 0 amappl2 88 11585 0 11511 3 1 2 3 0 8 0 amappl1 80 49441 0 48937 22 10 12 22 0 8 0 amappl 88 94377 0 94129 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 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 10657 0 10563 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10657 0 10563 1 0 1 1 0 8 0 vmmpekpl 168 77603 0 77528 4 0 4 4 0 8 0 vmmpepl 168 644905 0 642576 188 56 132 133 0 357 13 vmsppl 352 10656 0 10563 9 0 9 9 0 8 0 rwobjpl 24 150903 0 143339 49 2 47 48 0 8 0 pdppl 4096 21320 0 21193 681 550 131 131 0 8 4 pvpl 32 2807100 0 2786226 364 189 175 335 0 265 0 pmappl 216 10656 0 10563 6 0 6 6 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1356 0 922 16 1 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002f353250) at ffs_write+0x924 VOP_WRITE(fffffd8067aabcf8,ffff80002f353300,3,fffffd807f7d71a0) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a678800,fffffd8067aabcf8,fffffd807f7d71a0,ffff80002f3533c0,ffff80002f3533a0) at ktrwriteraw+0x14a sys/kern/kern_ktrace.c:682 ktrsysret(ffff80002a678800,5b,0,ffff80002f353490) at ktrsysret+0x15c ktrwrite2 sys/kern/kern_ktrace.c:645 [inline] ktrsysret(ffff80002a678800,5b,0,ffff80002f353490) at ktrsysret+0x15c sys/kern/kern_ktrace.c:206 syscall(ffff80002f353540) at syscall+0x855 mi_syscall_return sys/sys/syscall_mi.h:212 [inline] syscall(ffff80002f353540) at syscall+0x855 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x729279c6f790, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002f353250) at ffs_write+0x924 VOP_WRITE(fffffd8067aabcf8,ffff80002f353300,3,fffffd807f7d71a0) at VOP_WRITE+0xc3 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a678800,fffffd8067aabcf8,fffffd807f7d71a0,ffff80002f3533c0,ffff80002f3533a0) at ktrwriteraw+0x14a sys/kern/kern_ktrace.c:682 ktrsysret(ffff80002a678800,5b,0,ffff80002f353490) at ktrsysret+0x15c ktrwrite2 sys/kern/kern_ktrace.c:645 [inline] ktrsysret(ffff80002a678800,5b,0,ffff80002f353490) at ktrsysret+0x15c sys/kern/kern_ktrace.c:206 syscall(ffff80002f353540) at syscall+0x855 mi_syscall_return sys/sys/syscall_mi.h:212 [inline] syscall(ffff80002f353540) at syscall+0x855 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x729279c6f790, count: -7