syzbot


uvm_fault: ffs2_balloc (5)

Status: upstream: reported on 2024/11/16 17:07
Reported-by: syzbot+0c2ce57e9a2687fac9b3@syzkaller.appspotmail.com
First crash: 194d, last: 47d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd uvm_fault: ffs2_balloc (2) 3 801d 871d 0/3 auto-obsoleted due to no activity on 2023/06/18 20:00
openbsd uvm_fault: ffs2_balloc 1 1170d 1170d 0/3 auto-closed as invalid on 2022/06/14 20:58
openbsd uvm_fault: ffs2_balloc (3) 5 392d 496d 0/3 auto-obsoleted due to no activity on 2024/07/31 16:15
openbsd uvm_fault: ffs2_balloc (4) 17 256d 268d 0/3 auto-obsoleted due to no activity on 2024/11/04 07:48

Sample crash report:
uvm_fault(0xffffffff839367d8, 0xffff8000291720b8, 0, 1) -> d
kernel: page fault trap, code=0
Stopped at      ffs2_balloc+0x9fe:      movq    0(%rcx,%rax,8),%r14
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*207745  76892      0         0x2        0x1    0K syz-executor
ffs2_balloc(fffffd806f15d7d0,8f560,58,fffffd807f7d2548,1,ffff80002a453e68) at ffs2_balloc+0x9fe sys/ufs/ffs/ffs_balloc.c:614
ffs_write(ffff80002a453ef0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345
VOP_WRITE(fffffd800ac1b9a0,ffff80002a453fa8,3,fffffd807f7d2548) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245
ktrwriteraw(ffff80003c50dc58,fffffd800ac1b9a0,fffffd807f7d2548,ffff80002a454070,ffff80002a454050) at ktrwriteraw+0x1bc sys/kern/kern_ktrace.c:691
ktrsyscall(ffff80003c50dc58,88,10,ffff80002a454200) at ktrsyscall+0x32b ktrwrite sys/kern/kern_ktrace.c:-1 [inline]
ktrsyscall(ffff80003c50dc58,88,10,ffff80002a454200) at ktrsyscall+0x32b sys/kern/kern_ktrace.c:183
syscall(ffff80002a454200) at syscall+0x2e6 mi_syscall sys/sys/syscall_mi.h:154 [inline]
syscall(ffff80002a454200) at syscall+0x2e6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x70546a3bfdc0, 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.

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/13 07:42 openbsd ade9dbe6546b 0bd6db41 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: ffs2_balloc
2025/04/12 23:00 openbsd ade9dbe6546b 0bd6db41 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: ffs2_balloc
2025/02/06 17:34 openbsd 4a7e1005694f 1e1faf27 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore uvm_fault: ffs2_balloc
2024/11/16 17:06 openbsd feb640d47767 cfe3a04a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main uvm_fault: ffs2_balloc
* Struck through repros no longer work on HEAD.