uvm_fault(0xffffffff83a08128, 0xffff800029ec38a5, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x49: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *296063 94844 0 0x2 0x1 0 syz-executor memset() at memset+0x49 ffs_write(ffff80003c989bc0) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff1805eca0960,ffff80003c989c70,3,fffff18007ffd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003c8f6560,fffff1805eca0960,fffff18007ffd618,ffff80003c989d40,ffff80003c989d20) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80003c8f6560,89,0,ffff80003c989e00) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80003c8f6560,89,0,ffff80003c989e00) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80003c989eb0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80003c989eb0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f5789508060, 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(0xffffffff83a08128, 0xffff800029ec38a5, 0, 2) -> d ddb> trace memset() at memset+0x49 ffs_write(ffff80003c989bc0) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff1805eca0960,ffff80003c989c70,3,fffff18007ffd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003c8f6560,fffff1805eca0960,fffff18007ffd618,ffff80003c989d40,ffff80003c989d20) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80003c8f6560,89,0,ffff80003c989e00) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80003c8f6560,89,0,ffff80003c989e00) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80003c989eb0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80003c989eb0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f5789508060, count: -7 ddb> show registers rdi 0xffff800029ec38a5 rsi 0 rbp 0xffff80003c989ae0 rbx 0x6d8a5 acpi_pdirpa+0x59716 rdx 0x3 rcx 0x3 rax 0 r8 0x2758 __ALIGN_SIZE+0x1758 r9 0xffff80003c989a40 r10 0x5ae89fec84c65241 r11 0xffff800029ec38a5 r12 0x18a5 __ALIGN_SIZE+0x8a5 r13 0x4000 __ALIGN_SIZE+0x3000 r14 0xfffff1805eca0960 r15 0x1 rip 0xffffffff82cbfaa9 memset+0x49 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c9898d8 ss 0x10 memset+0x49: repe stosb %es:(%rdi) ddb> show proc PROC (syz-executor) tid=296063 pid=94844 tcnt=1 stat=onproc flags process=2 proc=1 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000380c8558,0xffff8000380c94f8 process=0xffff80002a746888 user=0xffff80003c984000, vmspace=0xfffff1806cac0010 estcpu=36, cpticks=6, pctcpu=0.1, user=0, sys=5, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 52552 125567 12981 0 2 0 syz-executor 52552 520846 12981 0 3 0x4000080 fsleep syz-executor 88759 194136 12275 0 2 0 syz-executor 88759 397785 12275 0 2 0x4000000 syz-executor 88759 406219 12275 0 3 0x4000080 fsleep syz-executor 99025 324125 73484 0 2 0 syz-executor 99025 366679 73484 0 3 0x4000080 fsleep syz-executor 18012 174447 75913 0 2 0 syz-executor 18012 72952 75913 0 3 0x4000080 fsleep syz-executor 88754 311590 89212 0 2 0x101004 sh 89212 364327 43460 0 3 0x10008a sigsusp sh 46802 94177 91055 0 2 0 syz-executor 46802 287790 91055 0 3 0x4000080 fsleep syz-executor 46802 291412 91055 0 3 0x4000080 fsleep syz-executor 46802 394780 91055 0 3 0x4000080 fsleep syz-executor 43460 11235 88335 0 3 0x82 wait syz-executor 4183 306380 88335 0 3 0x82 nanoslp syz-executor *94844 296063 88335 0 7 0x3 syz-executor 91055 146922 88335 0 3 0x82 nanoslp syz-executor 21653 465596 1 0 3 0x100083 ttyin getty 12981 210737 88335 0 3 0x82 nanoslp syz-executor 12275 113994 88335 0 3 0x82 nanoslp syz-executor 73484 35369 88335 0 3 0x82 nanoslp syz-executor 75913 498797 88335 0 3 0x82 nanoslp syz-executor 88335 52118 79673 0 3 0x82 kqread syz-executor 79673 89350 56380 0 3 0x10008a sigsusp ksh 56380 271363 72695 0 3 0x98 kqread sshd-session 72695 208034 73666 0 3 0x92 kqread sshd-session 73666 107389 1 0 3 0x88 kqread sshd 53269 174653 76260 73 3 0x1100090 kqread syslogd 76260 142084 1 0 3 0x100082 sbwait syslogd 76094 472807 1 0 3 0x100080 kqread resolvd 90780 518276 59092 77 3 0x100092 kqread dhcpleased 75741 121807 59092 77 3 0x100092 kqread dhcpleased 59092 345609 1 0 3 0x80 kqread dhcpleased 780 87629 0 0 3 0x14200 bored smr 84127 48488 0 0 2 0x14200 zerothread 32574 383843 0 0 3 0x14200 aiodoned aiodoned 76642 184632 0 0 3 0x14200 syncer update 33824 399593 0 0 3 0x14200 cleaner cleaner 57281 156158 0 0 3 0x14200 reaper reaper 15739 488696 0 0 3 0x14200 pgdaemon pagedaemon 41229 243228 0 0 3 0x14200 bored viomb 47130 301919 0 0 3 0x40014200 acpi0 acpi0 5810 57010 0 0 3 0x14200 bored softnet0 6920 72966 0 0 3 0x14200 bored systqmp 42392 437961 0 0 3 0x14200 bored systq 16609 381668 0 0 3 0x40014200 tmoslp softclock 9026 234316 0 0 3 0x40014200 idle0 1 466440 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 11060 12105K 12625K 166960K 14257 0 pcb 17 16K 18K 166960K 345 0 rtable 267 11K 12K 166960K 626 0 pf 36 14K 16429K 166960K 307 0 ifaddr 40 7K 8K 166960K 100 0 ifgroup 50 2K 2K 166960K 145 0 sysctl 4 1K 9K 166960K 13 0 counters 33 17K 18K 166960K 146 0 ioctlops 0 0K 4K 166960K 461 0 iov 0 0K 16K 166960K 86 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1398 88K 88K 166960K 2821 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 26 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 60 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1182 0 sigio 0 0K 0K 166960K 47 0 proc 61 67K 124K 166960K 687 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 206 0 in_multi 91 6K 7K 166960K 167 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 25 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 1 0K 1K 166960K 596 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 216 151K 174K 166960K 11547 0 UVM aobj 19 2K 2K 166960K 24 0 pinsyscall 40 80K 96K 166960K 2356 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 35 0 NDP 11 0K 2K 166960K 71 0 temp 69 9114K 13209K 166960K 58831 0 kqueue 13 20K 30K 166960K 195 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 171 0 168 3 2 1 3 0 8 0 rtentry 136 189 0 80 5 0 5 5 0 8 0 unpcb 144 599 0 580 4 3 1 4 0 8 0 syncache 336 13 0 13 1 1 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 325 0 319 7 6 1 7 0 8 0 arp 96 30 0 13 1 0 1 1 0 8 0 ipq 40 4 0 1 1 0 1 1 0 8 0 ipqe 40 6 0 3 1 0 1 1 0 8 0 inpcb 328 1354 0 1344 9 6 3 9 0 8 1 ip6q 72 7 0 3 1 0 1 1 0 8 0 ip6af 40 10 0 6 1 0 1 1 0 8 0 nd6 112 53 0 25 1 0 1 1 0 8 0 pkpcb 40 8 0 7 2 1 1 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1072 104 0 104 1 1 0 1 0 8 0 pppxif 1416 1 0 1 1 1 0 1 0 8 0 pfstscr 40 28 0 17 1 0 1 1 0 8 0 pfsrclim 320 2 0 2 1 1 0 1 0 8 0 pfanchor 1288 5 0 0 1 0 1 1 0 8 0 pftag 88 7 0 0 1 0 1 1 0 8 0 pfqueue 320 2 0 1 1 0 1 1 0 8 0 pfstitem 24 14 0 2 1 0 1 1 0 8 0 pfstkey 128 29 0 16 1 0 1 1 0 8 0 pfstate 384 16 0 10 1 0 1 1 0 8 0 pfrule 1360 16 0 16 1 1 0 1 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 900 0 372 39 0 39 39 0 8 2 art_table 40 904 0 372 7 0 7 7 0 8 0 art_node 32 187 0 90 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 5 1 0 1 1 0 8 0 semapl 72 50 0 40 1 0 1 1 0 8 0 shmpl 112 21 0 5 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3527 0 2061 92 0 92 92 0 8 0 ffsino 256 3527 0 2061 92 0 92 92 0 8 0 nchpl 144 5125 0 3417 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 1 0 1 0 8 0 vnodes 216 4577 0 0 255 0 255 255 0 8 0 namei 1024 19868 0 19867 3 2 1 2 0 8 0 kstatmem 264 93 0 70 2 0 2 2 0 8 0 scsiplug 72 12 0 12 1 1 0 1 0 8 0 scxspl 216 20084 0 20084 8 7 1 8 1 8 1 plimitpl 152 368 0 352 1 0 1 1 0 8 0 sigapl 424 1467 0 1424 8 2 6 8 0 8 0 knotepl 120 40932 0 40885 21 18 3 16 0 8 0 kqueuepl 184 487 0 478 4 3 1 4 0 8 0 pipepl 304 229 0 202 5 2 3 5 0 8 0 fdescpl 448 1433 0 1403 5 1 4 5 0 8 0 filepl 120 10200 0 9950 12 4 8 12 0 8 0 lockfpl 104 581 0 578 2 1 1 2 0 8 0 lockfspl 48 204 0 201 1 0 1 1 0 8 0 sessionpl 144 225 0 216 1 0 1 1 0 8 0 pgrppl 48 244 0 227 1 0 1 1 0 8 0 ucredpl 104 1816 0 1804 1 0 1 1 0 8 0 zombiepl 144 1436 0 1435 2 1 1 1 0 8 0 processpl 1152 1467 0 1424 5 0 5 5 0 8 0 procpl 664 2921 0 2870 7 1 6 7 0 8 0 sosppl 176 2 0 2 1 1 0 1 0 8 0 sockpl 552 2191 0 2158 10 6 4 10 0 8 1 mcl64k 65536 370 0 370 2 1 1 1 0 8 1 mcl9k128 9344 7 0 7 1 1 0 1 0 8 0 mcl8k 8192 31 0 31 2 1 1 1 0 8 1 mcl4k 4096 3898 0 3846 14 6 8 14 0 8 0 mcl2k 2048 1052 0 1048 2 0 2 2 0 8 1 mtagpl 96 50 0 8 2 0 2 2 0 8 0 mbufpl 256 15191 0 14945 24 4 20 24 0 8 0 bufpl 280 6767 0 551 445 0 445 445 0 8 0 anonpl 24 197210 0 194033 81 46 35 81 0 186 2 amapchunkpl 152 41113 0 40659 36 13 23 36 0 158 3 amappl16 200 3152 0 3126 27 21 6 27 0 8 0 amappl15 192 25 0 25 1 1 0 1 0 8 0 amappl14 184 480 0 477 1 0 1 1 0 8 0 amappl13 176 153 0 143 1 0 1 1 0 8 0 amappl12 168 1682 0 1654 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 83 0 72 1 0 1 1 0 8 0 amappl9 144 272 0 272 1 1 0 1 0 8 0 amappl8 136 135 0 134 1 0 1 1 0 8 0 amappl7 128 150 0 138 1 0 1 1 0 8 0 amappl6 120 183 0 179 1 0 1 1 0 8 0 amappl5 112 95 0 87 1 0 1 1 0 8 0 amappl4 104 281 0 264 1 0 1 1 0 8 0 amappl3 96 7920 0 7812 4 0 4 4 0 8 0 amappl2 88 572 0 516 2 0 2 2 0 8 0 amappl1 80 15075 0 14522 16 3 13 16 0 8 0 amappl 88 10591 0 10437 5 0 5 5 0 92 0 uvmvnodes 80 126 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 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 254 0 254 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 23 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1433 0 1403 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1433 0 1403 1 0 1 1 0 8 0 vmmpekpl 168 12546 0 12493 3 0 3 3 0 8 0 vmmpepl 168 95460 0 93700 99 14 85 99 0 357 3 vmsppl 368 1432 0 1403 4 1 3 4 0 8 0 rwobjpl 40 26059 0 25059 15 2 13 15 0 8 0 pdppl 4096 2872 0 2806 112 44 68 82 0 8 2 pvpl 32 603925 0 595658 156 63 93 156 0 265 3 pmappl 216 1432 0 1403 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 412 0 72 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80003c989bc0) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff1805eca0960,ffff80003c989c70,3,fffff18007ffd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003c8f6560,fffff1805eca0960,fffff18007ffd618,ffff80003c989d40,ffff80003c989d20) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80003c8f6560,89,0,ffff80003c989e00) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80003c8f6560,89,0,ffff80003c989e00) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80003c989eb0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80003c989eb0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f5789508060, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80003c989bc0) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff1805eca0960,ffff80003c989c70,3,fffff18007ffd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003c8f6560,fffff1805eca0960,fffff18007ffd618,ffff80003c989d40,ffff80003c989d20) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80003c8f6560,89,0,ffff80003c989e00) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80003c8f6560,89,0,ffff80003c989e00) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80003c989eb0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80003c989eb0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f5789508060, count: -7