uvm_fault(0xffffffff83a66ec0, 0xffff80001d322018, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x52: repe stosq %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *512840 66936 0 0x2 0x1 0 syz-executor memset() at memset+0x52 ffs_write(ffff80002a8a2e30) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff7806348b388,ffff80002a8a2ee0,3,fffff78007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a737c90,fffff7806348b388,fffff78007ffd7b8,ffff80002a8a2fb0,ffff80002a8a2f90) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a737c90,5b,0,ffff80002a8a3070) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a737c90,5b,0,ffff80002a8a3070) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8a3120) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8a3120) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78b1a53c87d0, 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(0xffffffff83a66ec0, 0xffff80001d322018, 0, 2) -> d ddb> trace memset() at memset+0x52 ffs_write(ffff80002a8a2e30) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff7806348b388,ffff80002a8a2ee0,3,fffff78007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a737c90,fffff7806348b388,fffff78007ffd7b8,ffff80002a8a2fb0,ffff80002a8a2f90) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a737c90,5b,0,ffff80002a8a3070) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a737c90,5b,0,ffff80002a8a3070) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8a3120) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8a3120) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78b1a53c87d0, count: -7 ddb> show registers rdi 0xffff80001d322018 rsi 0 rbp 0xffff80002a8a2d50 rbx 0x64018 acpi_pdirpa+0x4fe89 rdx 0 rcx 0x7fd rax 0 r8 0x3fe8 __ALIGN_SIZE+0x2fe8 r9 0xffff80002a8a2cb0 r10 0x5b9ac6b5e672fab3 r11 0xffff80001d322018 r12 0x18 r13 0x4000 __ALIGN_SIZE+0x3000 r14 0xfffff7806348b388 r15 0x1 rip 0xffffffff8200d1e2 memset+0x52 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a8a2b48 ss 0x10 memset+0x52: repe stosq %es:(%rdi) ddb> show proc PROC (syz-executor) tid=512840 pid=66936 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=51, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7367d0,0xffff8000384cb258 process=0xffff80002a793a90 user=0xffff80002a89e000, vmspace=0xfffff7806f321458 estcpu=1, cpticks=5, pctcpu=0.0, user=0, sys=5, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 28799 479912 95030 0 3 0x80 fsleep syz-executor 28799 428325 95030 0 2 0x4000c80 syz-executor 10409 395751 6097 0 3 0x80 fsleep syz-executor 10409 128849 6097 0 3 0x4000080 htplev syz-executor 13264 417085 21017 0 3 0x80 fsleep syz-executor 13264 359754 21017 0 2 0x4000000 syz-executor 14666 314780 13053 0 3 0x80 fsleep syz-executor 14666 182716 13053 0 3 0x4000080 rest syz-executor 14666 496370 13053 0 3 0x4000080 fsleep syz-executor 850 91137 66936 0 3 0x80 fsleep syz-executor 850 276013 66936 0 3 0x4000080 sbwait syz-executor 87476 41440 0 0 3 0x14200 acct acct *66936 512840 28965 0 7 0x3 syz-executor 21017 338838 28965 0 3 0x82 nanoslp syz-executor 13053 325173 28965 0 3 0x82 nanoslp syz-executor 95030 126657 28965 0 2 0xc82 syz-executor 6097 328869 28965 0 3 0x82 nanoslp syz-executor 28965 358694 26598 0 3 0x82 wait syz-executor 26598 48777 18111 0 3 0x10008a sigsusp ksh 18111 112498 9047 0 3 0x98 kqread sshd-session 9047 98512 13471 0 3 0x92 kqread sshd-session 97939 228729 1 0 3 0x100083 ttyin getty 13471 129638 1 0 3 0x88 kqread sshd 16695 155623 2349 73 3 0x1100090 kqread syslogd 2349 157970 1 0 3 0x100082 sbwait syslogd 10571 213211 1 0 3 0x100080 kqread resolvd 72682 201260 73548 77 3 0x100092 kqread dhcpleased 25224 269514 73548 77 3 0x100092 kqread dhcpleased 73548 517709 1 0 3 0x80 kqread dhcpleased 1757 515460 0 0 3 0x14200 bored smr 9990 460176 0 0 2 0x14200 zerothread 32110 150449 0 0 3 0x14200 aiodoned aiodoned 12286 373809 0 0 3 0x14200 syncer update 60229 436619 0 0 3 0x14200 cleaner cleaner 37037 103758 0 0 3 0x14200 reaper reaper 86290 113374 0 0 3 0x14200 pgdaemon pagedaemon 98637 480190 0 0 3 0x14200 bored viomb 20547 122623 0 0 3 0x40014200 acpi0 acpi0 3568 1413 0 0 3 0x14200 bored softnet0 77810 470694 0 0 3 0x14200 bored systqmp 1587 327035 0 0 3 0x14200 bored systq 78465 305416 0 0 3 0x40014200 tmoslp softclock 65548 73084 0 0 3 0x40014200 idle0 1 145283 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 11046 12187K 12464K 166960K 12479 0 pcb 17 13K 14K 166960K 107 0 rtable 252 8K 9K 166960K 387 0 pf 32 13K 19K 166960K 62 0 ifaddr 42 7K 7K 166960K 57 0 ifgroup 50 2K 2K 166960K 81 0 sysctl 4 1K 9K 166960K 8 0 counters 33 17K 18K 166960K 83 0 ioctlops 0 0K 4K 166960K 177 0 iov 0 0K 12K 166960K 11 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1327 84K 84K 166960K 1640 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 29 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 97K 166960K 358 0 sigio 0 0K 0K 166960K 5 0 proc 60 59K 91K 166960K 527 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 32 0 in_multi 99 7K 7K 166960K 103 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 14 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 478 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 200 150K 159K 166960K 4955 0 UVM aobj 10 2K 2K 166960K 10 0 pinsyscall 36 72K 95K 166960K 1461 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 11 0K 2K 166960K 38 0 temp 49 9105K 9121K 166960K 12924 0 kqueue 13 20K 30K 166960K 56 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 44 0 41 1 0 1 1 0 8 0 rtentry 136 115 0 4 4 0 4 4 0 8 0 unpcb 144 152 0 135 1 0 1 1 0 8 0 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpcb 736 136 0 132 7 3 4 4 0 8 3 arp 96 18 0 0 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 1 0 8 0 inpcb 328 328 0 321 7 3 4 5 0 8 3 ip6q 72 33 0 32 1 0 1 1 0 8 0 ip6af 40 65 0 64 1 0 1 1 0 8 0 nd6 112 26 0 2 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 33 0 33 1 1 0 1 0 8 0 ppxss 1072 47 0 47 1 1 0 1 0 8 0 pfstscr 40 6 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstitem 24 7 0 0 1 0 1 1 0 8 0 pfstkey 128 7 0 0 1 0 1 1 0 8 0 pfstate 384 4 0 0 1 0 1 1 0 8 0 pfrule 1360 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 463 0 11 29 0 29 29 0 8 0 art_table 40 465 0 11 5 0 5 5 0 8 0 art_node 32 115 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 72 27 0 17 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2069 0 607 92 0 92 92 0 8 0 ffsino 256 2069 0 607 92 0 92 92 0 8 0 nchpl 144 2573 0 874 64 0 64 64 0 8 0 rtmask 32 7 0 7 1 1 0 1 0 8 0 vnodes 216 2282 0 0 127 0 127 127 0 8 0 namei 1024 8395 0 8395 3 2 1 2 0 8 1 kstatmem 264 45 0 22 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 8547 0 8547 4 3 1 4 1 8 1 plimitpl 152 60 0 44 1 0 1 1 0 8 0 sigapl 424 655 0 614 6 1 5 6 0 8 0 knotepl 120 13648 0 13601 17 7 10 10 0 8 8 kqueuepl 184 87 0 78 1 0 1 1 0 8 0 pipepl 304 205 0 178 8 5 3 8 0 8 0 fdescpl 448 641 0 614 5 1 4 5 0 8 0 filepl 120 3317 0 3108 14 6 8 14 0 8 0 lockfpl 104 243 0 240 2 1 1 2 0 8 0 lockfspl 48 50 0 47 1 0 1 1 0 8 0 sessionpl 144 30 0 22 1 0 1 1 0 8 0 pgrppl 48 42 0 26 1 0 1 1 0 8 0 ucredpl 104 550 0 538 1 0 1 1 0 8 0 zombiepl 144 643 0 640 1 0 1 1 0 8 0 processpl 1152 655 0 614 4 0 4 4 0 8 0 procpl 664 1004 0 957 6 1 5 6 0 8 0 sosppl 176 2 0 2 1 1 0 1 0 8 0 sockpl 552 535 0 508 8 3 5 6 0 8 2 mcl64k 65536 27 0 27 2 1 1 1 0 8 1 mcl8k 8192 7 0 7 2 1 1 1 0 8 1 mcl4k 4096 2795 0 2739 16 8 8 16 0 8 0 mcl2k 2048 305 0 303 3 2 1 3 0 8 0 mtagpl 96 7 0 4 1 0 1 1 0 8 0 mbufpl 256 6745 0 6625 14 1 13 13 0 8 1 bufpl 280 3062 0 105 212 0 212 212 0 8 0 anonpl 24 103252 0 100242 33 11 22 33 0 186 0 amapchunkpl 152 15036 0 14631 33 12 21 32 0 158 3 amappl16 200 1436 0 1410 4 1 3 4 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 407 0 406 1 0 1 1 0 8 0 amappl13 176 163 0 153 1 0 1 1 0 8 0 amappl12 168 875 0 849 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 61 0 50 1 0 1 1 0 8 0 amappl9 144 268 0 268 1 1 0 1 0 8 0 amappl8 136 102 0 100 1 0 1 1 0 8 0 amappl7 128 141 0 129 1 0 1 1 0 8 0 amappl6 120 227 0 226 1 0 1 1 0 8 0 amappl5 112 105 0 97 1 0 1 1 0 8 0 amappl4 104 264 0 249 1 0 1 1 0 8 0 amappl3 96 2862 0 2768 4 0 4 4 0 8 1 amappl2 88 618 0 564 2 0 2 2 0 8 0 amappl1 80 11032 0 10489 13 1 12 13 0 8 0 amappl 88 4221 0 4082 5 0 5 5 0 92 0 uvmvnodes 80 110 0 0 3 0 3 3 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 641 0 614 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 641 0 614 1 0 1 1 0 8 0 vmmpekpl 168 7126 0 7089 3 0 3 3 0 8 1 vmmpepl 168 48805 0 47141 82 1 81 82 0 357 1 vmsppl 368 640 0 614 4 1 3 4 0 8 0 rwobjpl 40 15952 0 15014 11 0 11 11 0 8 0 pdppl 4096 1288 0 1228 102 36 66 82 0 8 6 pvpl 32 284600 0 275987 100 17 83 99 0 265 2 pmappl 216 640 0 614 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 385 0 62 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x52 ffs_write(ffff80002a8a2e30) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff7806348b388,ffff80002a8a2ee0,3,fffff78007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a737c90,fffff7806348b388,fffff78007ffd7b8,ffff80002a8a2fb0,ffff80002a8a2f90) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a737c90,5b,0,ffff80002a8a3070) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a737c90,5b,0,ffff80002a8a3070) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8a3120) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8a3120) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78b1a53c87d0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x52 ffs_write(ffff80002a8a2e30) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff7806348b388,ffff80002a8a2ee0,3,fffff78007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a737c90,fffff7806348b388,fffff78007ffd7b8,ffff80002a8a2fb0,ffff80002a8a2f90) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a737c90,5b,0,ffff80002a8a3070) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a737c90,5b,0,ffff80002a8a3070) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8a3120) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8a3120) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78b1a53c87d0, count: -7