uvm_fault(0xffffffff83ae5060, 0xffff800020ea50bb, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x49: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *293968 76161 0 0x2 0x1 0 syz-executor memset() at memset+0x49 ffs_write(ffff80002a7f13a0) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff6806b3f22e8,ffff80002a7f1450,3,fffff68007ffd548) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7374c8,fffff6806b3f22e8,fffff68007ffd548,ffff80002a7f1520,ffff80002a7f1500) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a7374c8,b,20,ffff80002a7f16a0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a7374c8,b,20,ffff80002a7f16a0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a7f16a0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a7f16a0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70e366f992f0, 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(0xffffffff83ae5060, 0xffff800020ea50bb, 0, 2) -> d ddb> trace memset() at memset+0x49 ffs_write(ffff80002a7f13a0) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff6806b3f22e8,ffff80002a7f1450,3,fffff68007ffd548) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7374c8,fffff6806b3f22e8,fffff68007ffd548,ffff80002a7f1520,ffff80002a7f1500) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a7374c8,b,20,ffff80002a7f16a0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a7374c8,b,20,ffff80002a7f16a0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a7f16a0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a7f16a0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70e366f992f0, count: -7 ddb> show registers rdi 0xffff800020ea50bb rsi 0 rbp 0xffff80002a7f12c0 rbx 0xd70bb acpi_pdirpa+0xc2f2c rdx 0x5 rcx 0x5 rax 0 r8 0xf40 r9 0xffff80002a7f1220 r10 0x925e0b73c5a4d674 r11 0xffff800020ea50bb r12 0x30bb __ALIGN_SIZE+0x20bb r13 0x4000 __ALIGN_SIZE+0x3000 r14 0xfffff6806b3f22e8 r15 0x1 rip 0xffffffff81b82e39 memset+0x49 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a7f10b8 ss 0x10 memset+0x49: repe stosb %es:(%rdi) ddb> show proc PROC (syz-executor) tid=293968 pid=76161 tcnt=1 stat=onproc flags process=2 proc=1 runpri=78, usrpri=78, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a736538,0xffff80002a7907e8 process=0xffff80002a795b10 user=0xffff80002a7ec000, vmspace=0xfffff6807ec5e450 estcpu=28, cpticks=7, pctcpu=0.1, user=3, sys=4, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 41796 364793 80890 0 2 0 syz-executor 41796 413364 80890 0 3 0x4000080 fsleep syz-executor 61738 515730 92547 0 2 0 syz-executor 61738 75455 92547 0 3 0x4000080 fsleep syz-executor 73805 7621 93026 0 2 0 syz-executor 73805 148159 93026 0 3 0x4000080 fsleep syz-executor 73805 252650 93026 0 3 0x4000080 fsleep syz-executor 2340 278006 76161 0 2 0 syz-executor 2340 3287 76161 0 3 0x4000080 fsleep syz-executor 2340 346884 76161 0 3 0x4000080 fsleep syz-executor 70608 445679 33890 0 2 0 syz-executor 70608 331564 33890 0 3 0x4000080 fsleep syz-executor 34403 516005 0 0 3 0x14200 acct acct 31438 342193 25104 0 3 0x82 nanoslp syz-executor 93026 271278 25104 0 2 0x3 syz-executor 92547 448834 25104 0 2 0x3 syz-executor 33890 405992 25104 0 3 0x82 nanoslp syz-executor 80890 205173 25104 0 3 0x82 nanoslp syz-executor *76161 293968 25104 0 7 0x3 syz-executor 63475 58537 25104 0 3 0x82 wait syz-executor 25104 283401 92309 0 3 0x82 nanoslp syz-executor 92309 222648 35616 0 3 0x10008a sigsusp ksh 35616 505329 47349 0 3 0x98 kqread sshd-session 47349 46347 18957 0 3 0x92 kqread sshd-session 49609 353299 1 0 3 0x100083 ttyin getty 18957 246979 1 0 3 0x88 kqread sshd 89193 432103 99949 73 3 0x1100090 kqread syslogd 99949 404085 1 0 3 0x100082 sbwait syslogd 95958 397918 1 0 3 0x100080 kqread resolvd 214 231188 27357 77 3 0x100092 kqread dhcpleased 65605 473876 27357 77 3 0x100092 kqread dhcpleased 27357 25547 1 0 3 0x80 kqread dhcpleased 53810 176041 0 0 3 0x14200 bored smr 90901 423548 0 0 2 0x14200 zerothread 15528 153373 0 0 3 0x14200 aiodoned aiodoned 31899 460386 0 0 3 0x14200 syncer update 90179 75095 0 0 3 0x14200 cleaner cleaner 62957 227729 0 0 3 0x14200 reaper reaper 78762 105410 0 0 3 0x14200 pgdaemon pagedaemon 63687 172174 0 0 3 0x14200 bored viomb 27633 22544 0 0 3 0x40014200 acpi0 acpi0 80062 185093 0 0 3 0x14200 bored softnet0 71980 125456 0 0 3 0x14200 bored systqmp 18932 495671 0 0 3 0x14200 bored systq 53760 51499 0 0 3 0x40014200 tmoslp softclock 4594 397043 0 0 3 0x40014200 idle0 1 379767 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 11032 12101K 12774K 166960K 12493 0 pcb 18 12K 12K 166960K 60 0 rtable 196 7K 7K 166960K 409 0 pf 34 13K 93K 166960K 83 0 ifaddr 36 6K 7K 166960K 56 0 ifgroup 46 2K 2K 166960K 68 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 43 0 ioctlops 0 0K 4K 166960K 188 0 iov 0 0K 12K 166960K 10 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1390 87K 88K 166960K 1677 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 21 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 57K 93K 166960K 388 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 108K 166960K 514 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 1 0K 0K 166960K 34 0 in_multi 80 6K 7K 166960K 125 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 8 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 405 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 214 142K 165K 166960K 5064 0 UVM aobj 6 2K 2K 166960K 8 0 pinsyscall 37 74K 94K 166960K 1509 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 10 0K 2K 166960K 35 0 temp 71 9115K 9180K 166960K 15220 0 kqueue 13 20K 38K 166960K 102 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 55 0 52 1 0 1 1 0 8 0 rtentry 136 124 0 40 4 0 4 4 0 8 0 unpcb 144 162 0 147 1 0 1 1 0 8 0 syncache 336 7 0 7 1 1 0 1 0 8 0 tcpcb 736 100 0 95 4 3 1 4 0 8 0 arp 96 18 0 2 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 281 0 271 4 3 1 4 0 8 0 nd6 112 28 0 10 1 0 1 1 0 8 0 kcovpl 48 8 0 1 1 0 1 1 0 8 0 ppxss 1072 8 0 8 1 1 0 1 0 8 0 pppxif 1416 1 0 1 1 1 0 1 0 8 0 pfstscr 40 7 0 3 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 2 1 0 1 1 0 8 0 pfstkey 128 7 0 4 1 0 1 1 0 8 0 pfstate 384 4 0 2 1 0 1 1 0 8 0 pfrule 1360 11 0 11 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 551 0 181 30 5 25 30 0 8 0 art_table 40 552 0 181 5 0 5 5 0 8 0 art_node 32 124 0 47 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 72 17 0 7 1 0 1 1 0 8 0 shmpl 112 5 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2045 0 582 92 0 92 92 0 8 0 ffsino 256 2045 0 582 92 0 92 92 0 8 0 nchpl 144 2609 0 912 64 0 64 64 0 8 0 rtmask 32 3 0 3 1 1 0 1 0 8 0 vnodes 216 2337 0 0 130 0 130 130 0 8 0 namei 1024 8415 0 8415 6 2 4 4 0 8 4 kstatmem 264 35 0 14 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 10889 0 10889 8 7 1 8 1 8 1 plimitpl 152 260 0 244 1 0 1 1 0 8 0 sigapl 424 688 0 646 6 1 5 6 0 8 0 knotepl 120 13133 0 13086 10 7 3 10 0 8 0 kqueuepl 184 106 0 97 1 0 1 1 0 8 0 pipepl 304 151 0 124 3 0 3 3 0 8 0 fdescpl 448 674 0 646 5 1 4 5 0 8 0 filepl 120 3269 0 3064 10 2 8 10 0 8 0 lockfpl 104 91 0 89 1 0 1 1 0 8 0 lockfspl 48 42 0 40 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 39 0 24 1 0 1 1 0 8 0 ucredpl 104 444 0 432 1 0 1 1 0 8 0 zombiepl 144 653 0 651 1 0 1 1 0 8 0 processpl 1152 688 0 646 4 0 4 4 0 8 0 procpl 664 1066 0 1017 6 1 5 6 0 8 0 sosppl 176 2 0 2 1 1 0 1 0 8 0 sockpl 552 509 0 481 6 3 3 6 0 8 1 mcl64k 65536 19 0 18 2 1 1 1 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 2 0 2 1 1 0 1 0 8 0 mcl9k128 9344 2 0 2 1 1 0 1 0 8 0 mcl8k 8192 11 0 11 2 1 1 1 0 8 1 mcl4k 4096 2840 0 2787 14 6 8 14 0 8 0 mcl2k 2048 335 0 334 3 2 1 3 0 8 0 mtagpl 96 5 0 5 1 1 0 1 0 8 0 mbufpl 256 6589 0 6408 12 0 12 12 0 8 0 bufpl 272 4014 0 103 261 0 261 261 0 8 0 anonpl 24 122490 0 119386 54 19 35 54 0 186 1 amapchunkpl 152 16090 0 15638 30 10 20 28 0 158 0 amappl16 200 2181 0 2154 19 14 5 15 0 8 1 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 412 0 411 1 0 1 1 0 8 0 amappl13 176 119 0 109 1 0 1 1 0 8 0 amappl12 168 919 0 891 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 59 0 49 1 0 1 1 0 8 0 amappl9 144 272 0 272 1 1 0 1 0 8 0 amappl8 136 94 0 93 1 0 1 1 0 8 0 amappl7 128 141 0 130 1 0 1 1 0 8 0 amappl6 120 149 0 147 1 0 1 1 0 8 0 amappl5 112 91 0 83 1 0 1 1 0 8 0 amappl4 104 277 0 263 1 0 1 1 0 8 0 amappl3 96 3013 0 2906 4 1 3 4 0 8 0 amappl2 88 532 0 477 2 0 2 2 0 8 0 amappl1 80 11162 0 10624 13 1 12 13 0 8 0 amappl 88 4325 0 4173 5 1 4 5 0 92 0 uvmvnodes 80 109 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 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 7 0 2 1 0 1 1 0 8 0 uaddrrnd 24 674 0 646 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 674 0 646 1 0 1 1 0 8 0 vmmpekpl 168 7047 0 7014 2 0 2 2 0 8 0 vmmpepl 168 50919 0 49182 92 12 80 91 0 357 0 vmsppl 368 673 0 646 4 1 3 4 0 8 0 rwobjpl 40 17023 0 16087 13 0 13 13 0 8 0 pdppl 4096 1354 0 1292 104 38 66 80 0 8 4 pvpl 32 314836 0 306343 115 17 98 115 0 265 0 pmappl 216 673 0 646 3 1 2 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 642 0 65 18 0 18 18 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002a7f13a0) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff6806b3f22e8,ffff80002a7f1450,3,fffff68007ffd548) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7374c8,fffff6806b3f22e8,fffff68007ffd548,ffff80002a7f1520,ffff80002a7f1500) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a7374c8,b,20,ffff80002a7f16a0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a7374c8,b,20,ffff80002a7f16a0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a7f16a0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a7f16a0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70e366f992f0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002a7f13a0) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffff6806b3f22e8,ffff80002a7f1450,3,fffff68007ffd548) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7374c8,fffff6806b3f22e8,fffff68007ffd548,ffff80002a7f1520,ffff80002a7f1500) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a7374c8,b,20,ffff80002a7f16a0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a7374c8,b,20,ffff80002a7f16a0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a7f16a0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a7f16a0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70e366f992f0, count: -7