uvm_fault(0xffffffff83a15638, 0xffff80001d0d2f42, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x49: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *154787 63479 0 0x2 0x1 0 syz-executor memset() at memset+0x49 ffs_write(ffff80002a7f1170) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff0006c1175e8,ffff80002a7f1220,3,fffff00007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a778540,fffff0006c1175e8,fffff00007ffd8f0,ffff80002a7f12f0,ffff80002a7f12d0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a778540,5b,0,ffff80002a7f13b0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a778540,5b,0,ffff80002a7f13b0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7f1460) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7f1460) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76e9395811c0, 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(0xffffffff83a15638, 0xffff80001d0d2f42, 0, 2) -> d ddb> trace memset() at memset+0x49 ffs_write(ffff80002a7f1170) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff0006c1175e8,ffff80002a7f1220,3,fffff00007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a778540,fffff0006c1175e8,fffff00007ffd8f0,ffff80002a7f12f0,ffff80002a7f12d0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a778540,5b,0,ffff80002a7f13b0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a778540,5b,0,ffff80002a7f13b0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7f1460) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7f1460) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76e9395811c0, count: -7 ddb> show registers rdi 0xffff80001d0d2f42 rsi 0 rbp 0xffff80002a7f1090 rbx 0xacf42 acpi_pdirpa+0x98db3 rdx 0x6 rcx 0x6 rax 0 r8 0x30b8 __ALIGN_SIZE+0x20b8 r9 0xffff80002a7f0ff0 r10 0x15e388a10566c5d3 r11 0xffff80001d0d2f42 r12 0xf42 r13 0x4000 __ALIGN_SIZE+0x3000 r14 0xfffff0006c1175e8 r15 0x1 rip 0xffffffff81580529 memset+0x49 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80002a7f0e88 ss 0 memset+0x49: repe stosb %es:(%rdi) ddb> show proc PROC (syz-executor) tid=154787 pid=63479 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7787d8,0xffff80002a779248 process=0xffff80002a79c910 user=0xffff80002a7ec000, vmspace=0xfffff0007ec65b80 estcpu=36, cpticks=6, pctcpu=0.2, user=0, sys=6, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90215 88687 75945 0 3 0x80 fsleep syz-executor 90215 170483 75945 0 3 0x4000080 ttyout syz-executor 90032 515048 63479 0 2 0 syz-executor 90032 464458 63479 0 2 0x4000000 syz-executor 21491 379693 1 0 3 0x82 nanoslp getty 42332 227696 86382 0 3 0x80 fsleep syz-executor 42332 274542 86382 0 3 0x4000080 lockf syz-executor 62358 332088 95660 0 3 0x80 fsleep syz-executor 62358 448713 95660 0 3 0x4000080 bell syz-executor 79254 383660 20360 0 3 0x80 fsleep syz-executor 79254 345490 20360 0 3 0x4000080 ttyout syz-executor 11369 178935 8147 0 3 0x80 fsleep syz-executor 11369 462898 8147 0 3 0x4000080 msgwait syz-executor 11369 73465 8147 0 3 0x4000080 msgwait syz-executor 8147 412624 91725 0 3 0x82 nanoslp syz-executor 95660 113490 91725 0 3 0x82 nanoslp syz-executor 20360 219415 91725 0 3 0x82 nanoslp syz-executor 86382 93800 91725 0 3 0x82 nanoslp syz-executor 75945 412393 91725 0 2 0xc82 syz-executor *63479 154787 91725 0 7 0x3 syz-executor 91725 373909 1 0 3 0x82 wait syz-executor 85808 181463 1 73 3 0x1100090 kqread syslogd 19151 510604 0 0 3 0x14200 bored smr 45099 459276 0 0 2 0x14200 zerothread 9643 379625 0 0 3 0x14200 aiodoned aiodoned 49606 471080 0 0 3 0x14200 syncer update 96635 414786 0 0 3 0x14200 cleaner cleaner 35142 515813 0 0 3 0x14200 reaper reaper 57284 341772 0 0 3 0x14200 pgdaemon pagedaemon 35905 245719 0 0 3 0x14200 bored viomb 77724 274706 0 0 3 0x40014200 acpi0 acpi0 24040 102979 0 0 3 0x14200 bored softnet0 61888 398765 0 0 3 0x14200 bored systqmp 88350 371485 0 0 3 0x14200 bored systq 59983 102004 0 0 3 0x40014200 tmoslp softclock 3445 165780 0 0 3 0x40014200 idle0 1 228611 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11025 12098K 12361K 166960K 12678 0 pcb 17 12K 12K 166960K 81 0 rtable 164 6K 7K 166960K 404 0 pf 30 13K 21K 166960K 104 0 ifaddr 28 4K 7K 166960K 68 0 ifgroup 46 2K 2K 166960K 109 0 sysctl 3 1K 9K 166960K 10 0 counters 32 17K 18K 166960K 61 0 ioctlops 0 0K 4K 166960K 232 0 iov 0 0K 16K 166960K 24 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1353 85K 85K 166960K 1725 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 17 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 240K 166960K 500 0 sigio 0 0K 0K 166960K 2 0 proc 20 25K 91K 166960K 548 0 subproc 63 3K 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 46 0 in_multi 54 3K 6K 166960K 112 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 11 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 397 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 130 74K 159K 166960K 6066 0 UVM aobj 20 2K 2K 166960K 23 0 pinsyscall 19 38K 94K 166960K 1595 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 19 0 NDP 10 0K 1K 166960K 47 0 temp 70 9115K 9179K 166960K 13422 0 kqueue 3 4K 28K 166960K 80 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 51 0 51 1 0 1 1 0 8 1 rtentry 136 118 0 53 4 0 4 4 0 8 0 unpcb 144 511 0 507 6 5 1 6 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 207 0 206 7 6 1 7 0 8 0 arp 96 18 0 10 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 446 0 445 6 5 1 6 0 8 0 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 112 27 0 14 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 1 0 1 0 8 0 kcovpl 48 8 0 1 1 0 1 1 0 8 0 mppekey 1024 3 0 3 1 1 0 1 0 8 0 ppxss 1072 22 0 22 1 0 1 1 0 8 1 pppxif 1416 2 0 2 1 1 0 1 0 8 0 pfstscr 40 3 0 0 1 0 1 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 0 1 0 1 1 0 8 0 pfstate 384 2 0 0 1 0 1 1 0 8 0 pfrule 1360 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 501 0 195 26 1 25 26 0 8 4 art_table 40 503 0 195 5 0 5 5 0 8 0 art_node 32 118 0 59 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 14 0 4 1 0 1 1 0 8 0 shmpl 112 20 0 3 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2227 0 771 92 0 92 92 0 8 0 ffsino 256 2228 0 772 92 0 92 92 0 8 0 nchpl 144 2900 0 1205 64 0 64 64 0 8 0 rtmask 32 5 0 5 2 1 1 1 0 8 1 vnodes 216 2545 0 0 142 0 142 142 0 8 0 namei 1024 9353 0 9353 2 1 1 2 0 8 1 kstatmem 264 63 0 42 3 0 3 3 0 8 1 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 9318 0 9318 4 3 1 4 1 8 1 plimitpl 152 155 0 143 1 0 1 1 0 8 0 sigapl 424 785 0 753 6 1 5 6 0 8 0 knotepl 120 16742 0 16720 20 6 14 14 0 8 12 kqueuepl 184 115 0 113 1 0 1 1 0 8 0 pipepl 304 142 0 115 3 0 3 3 0 8 0 fdescpl 448 771 0 753 5 1 4 5 0 8 0 filepl 120 4054 0 3893 13 5 8 13 0 8 1 lockfpl 104 132 0 130 1 0 1 1 0 8 0 lockfspl 48 59 0 58 1 0 1 1 0 8 0 sessionpl 144 70 0 67 1 0 1 1 0 8 0 pgrppl 48 80 0 69 1 0 1 1 0 8 0 ucredpl 104 641 0 636 1 0 1 1 0 8 0 zombiepl 144 868 0 866 1 0 1 1 0 8 0 processpl 1152 785 0 753 4 0 4 4 0 8 0 procpl 664 1349 0 1310 6 1 5 6 0 8 1 sosppl 176 4 0 4 1 1 0 1 0 8 0 sockpl 552 1024 0 1019 14 11 3 14 0 8 2 mcl64k 65536 22 0 22 2 1 1 1 0 8 1 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 2 1 1 1 0 8 1 mcl4k 4096 2999 0 2944 15 6 9 14 0 8 2 mcl2k 2048 396 0 393 1 0 1 1 0 8 0 mtagpl 96 7 0 6 2 1 1 1 0 8 0 mbufpl 256 7907 0 7785 12 1 11 12 0 8 0 bufpl 272 3024 0 102 195 0 195 195 0 8 0 anonpl 24 110430 0 108672 36 12 24 33 0 186 4 amapchunkpl 152 18485 0 18155 26 5 21 26 0 158 4 amappl16 200 1353 0 1334 5 2 3 4 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 410 0 410 1 0 1 1 0 8 1 amappl13 176 116 0 114 1 0 1 1 0 8 0 amappl12 168 1010 0 993 2 0 2 2 0 8 0 amappl11 160 8 0 7 1 0 1 1 0 8 0 amappl10 152 59 0 56 1 0 1 1 0 8 0 amappl9 144 271 0 271 1 1 0 1 0 8 0 amappl8 136 93 0 92 1 0 1 1 0 8 0 amappl7 128 142 0 137 1 0 1 1 0 8 0 amappl6 120 147 0 145 1 0 1 1 0 8 0 amappl5 112 106 0 104 1 0 1 1 0 8 0 amappl4 104 264 0 258 1 0 1 1 0 8 0 amappl3 96 3777 0 3705 4 0 4 4 0 8 0 amappl2 88 526 0 512 2 0 2 2 0 8 0 amappl1 80 11613 0 11468 13 1 12 13 0 8 4 amappl 88 5307 0 5195 5 1 4 5 0 92 0 uvmvnodes 80 108 0 0 3 0 3 3 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 22 0 3 1 0 1 1 0 8 0 uaddrrnd 24 771 0 753 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 771 0 753 1 0 1 1 0 8 0 vmmpekpl 168 7935 0 7900 2 0 2 2 0 8 0 vmmpepl 168 55452 0 54612 82 1 81 81 0 357 36 vmsppl 368 770 0 753 4 1 3 4 0 8 0 rwobjpl 40 17363 0 16896 11 1 10 11 0 8 0 pdppl 4096 1548 0 1506 94 46 48 80 0 8 6 pvpl 32 328734 0 323817 106 24 82 102 0 265 29 pmappl 216 770 0 753 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 560 0 70 15 0 15 15 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002a7f1170) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff0006c1175e8,ffff80002a7f1220,3,fffff00007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a778540,fffff0006c1175e8,fffff00007ffd8f0,ffff80002a7f12f0,ffff80002a7f12d0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a778540,5b,0,ffff80002a7f13b0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a778540,5b,0,ffff80002a7f13b0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7f1460) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7f1460) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76e9395811c0, count: -7 ddb> machine ddbcpu 1 No such command ddb>