uvm_fault(0xffffffff839d7c10, 0xffff800027802e00, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x52: repe stosq %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND memset() at memset+0x52 ffs_write(ffff8000380cb950) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(ffffef806af77138,ffff8000380cb9e8,23,ffffef8007ffd680) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,ffffef806af77138,ffff8000380cbb20,40,0,1,6136c5eb6c8b7648,0,1008,40) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:330 acct_process(ffff80002a770d18) at acct_process+0x7a2 sys/kern/kern_acct.c:246 exit1(ffff80002a770d18,0,0,1) at exit1+0x5e3 sys/kern/kern_exit.c:228 sys_exit(ffff80002a770d18,ffff8000380cbd50,ffff8000380cbca0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000380cbd50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000380cbd50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79b4afaa71b0, count: 6 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(0xffffffff839d7c10, 0xffff800027802e00, 0, 2) -> d ddb> show kasan No such command ddb> trace memset() at memset+0x52 ffs_write(ffff8000380cb950) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(ffffef806af77138,ffff8000380cb9e8,23,ffffef8007ffd680) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,ffffef806af77138,ffff8000380cbb20,40,0,1,6136c5eb6c8b7648,0,1008,40) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:330 acct_process(ffff80002a770d18) at acct_process+0x7a2 sys/kern/kern_acct.c:246 exit1(ffff80002a770d18,0,0,1) at exit1+0x5e3 sys/kern/kern_exit.c:228 sys_exit(ffff80002a770d18,ffff8000380cbd50,ffff8000380cbca0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000380cbd50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000380cbd50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79b4afaa71b0, count: -9 ddb> show registers rdi 0xffff800027802e00 rsi 0 rbp 0xffff8000380cb870 rbx 0x4e00 __ALIGN_SIZE+0x3e00 rdx 0 rcx 0x40 rax 0 r8 0x200 r9 0xffff8000380cb7d0 r10 0x4d4837376526d641 r11 0xffff800027802e00 r12 0xe00 r13 0x1000 __ALIGN_SIZE r14 0xffffef806af77138 r15 0x1 rip 0xffffffff815dcb72 memset+0x52 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000380cb668 ss 0x10 memset+0x52: repe stosq %es:(%rdi) ddb> show proc PROC (syz-executor) tid=340003 pid=30752 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=16, usrpri=73, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a770d18 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a766d08,0xffffffff83ac2100 process=0xffff80003a4d8918 user=0xffff8000380c6000, vmspace=0xffffef806d183740 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 61085 186247 82065 0 3 0 0x80 fsleep syz-executor 61085 50222 82065 0 3 0 0x4000080 kqsel syz-executor 61085 19532 82065 0 3 0 0x4000080 fsleep syz-executor 7283 479642 48607 0 3 0 0x80 fsleep syz-executor 7283 69152 48607 0 3 0 0x4000080 bell syz-executor 30671 272986 16668 0 3 0 0x80 fsleep syz-executor 30671 275705 16668 0 3 0 0x4000080 kqread syz-executor 17257 202964 29090 0 3 0 0x80 fsleep syz-executor 17257 180779 29090 0 3 0 0x4000080 sbwait syz-executor 24428 463950 3389 0 2 0x2 0xc80 syz-executor 42686 425938 1 0 3 0x100003 0x80 ttyin getty 25403 128138 0 0 3 0x14000 0x200 acct acct 29090 383624 3389 0 3 0x2 0x80 nanoslp syz-executor 81361 138580 3389 0 3 0x2 0x80 nanoslp syz-executor 82065 165954 3389 0 2 0x2 0xc80 syz-executor 93208 207049 3389 0 3 0x2 0x80 wait syz-executor 16668 242588 3389 0 3 0x2 0x80 nanoslp syz-executor 48607 248104 3389 0 3 0x2 0x80 nanoslp syz-executor 94864 344047 3389 0 3 0x2 0x80 wait syz-executor 3389 256853 1 0 3 0x2 0x80 kqread syz-executor 40452 361493 1 0 3 0x10000002 0x88 kqread sshd 51321 210424 9590 73 3 0x1100010 0x80 kqread syslogd 9590 161627 1 0 3 0x100002 0x80 sbwait syslogd 43510 494380 1 0 3 0x100000 0x80 kqread resolvd 64953 7777 70249 77 3 0x100012 0x80 kqread dhcpleased 47477 455035 70249 77 3 0x100012 0x80 kqread dhcpleased 70249 145376 1 0 3 0 0x80 kqread dhcpleased 7858 299447 0 0 3 0x14000 0x200 bored smr 34481 221736 0 0 3 0x14000 0x200 pgzero zerothread 57620 329195 0 0 3 0x14000 0x200 aiodoned aiodoned 12420 377485 0 0 3 0x14000 0x200 syncer update 52391 258710 0 0 3 0x14000 0x200 cleaner cleaner 53688 162805 0 0 3 0x14000 0x200 reaper reaper 75429 170455 0 0 3 0x14000 0x200 pgdaemon pagedaemon 80779 371785 0 0 3 0x14000 0x200 bored viomb 54932 286876 0 0 3 0x14000 0x40000200 acpi0 acpi0 283 266801 0 0 3 0x14000 0x200 bored softnet0 61441 141897 0 0 3 0x14000 0x200 bored systqmp 56329 398121 0 0 3 0x14000 0x200 bored systq 90263 517829 0 0 3 0x14000 0x40000200 tmoslp softclock 30436 337809 0 0 3 0x14000 0x40000200 idle0 1 477530 0 0 3 0x80002 0x80 wait init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb> show all locks No such command ddb>