Hello,
syzbot found the following issue on:
HEAD commit: 0e287d31b62b Merge tag 'rtc-6.13' of git://
git.kernel.org/..
git tree: upstream
console+strace:
https://syzkaller.appspot.com/x/log.txt?x=117ddf78580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=b131ba4658863ffa
dashboard link:
https://syzkaller.appspot.com/bug?extid=5141f6db57a2f7614352
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=145a65e8580000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=157ddf78580000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/19a3d9ed3459/disk-0e287d31.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/3473a586f547/vmlinux-0e287d31.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/bfd02e5a5157/bzImage-0e287d31.xz
mounted in repro:
https://storage.googleapis.com/syzbot-assets/f9968897b785/mount_0.gz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+5141f6...@syzkaller.appspotmail.com
F2FS-fs (loop0): Mounted with checkpoint version = 48b305e5
F2FS-fs (loop0): f2fs_check_nid_range: out-of-range nid=1, run fsck to fix.
F2FS-fs (loop0): f2fs_check_nid_range: out-of-range nid=2, run fsck to fix.
=====================================================
BUG: KMSAN: uninit-value in f2fs_new_node_page+0x14c5/0x1690 fs/f2fs/node.c:1341
f2fs_new_node_page+0x14c5/0x1690 fs/f2fs/node.c:1341
f2fs_new_inode_page+0xb6/0x100 fs/f2fs/node.c:1311
f2fs_init_inode_metadata+0x18b/0x1e40 fs/f2fs/dir.c:501
f2fs_add_inline_entry+0x5f5/0xbe0 fs/f2fs/inline.c:665
f2fs_add_dentry fs/f2fs/dir.c:742 [inline]
f2fs_do_add_link+0x4b0/0xad0 fs/f2fs/dir.c:785
f2fs_add_link fs/f2fs/f2fs.h:3628 [inline]
f2fs_symlink+0x6d5/0xf80 fs/f2fs/namei.c:641
vfs_symlink+0x1ed/0x460 fs/namei.c:4669
do_symlinkat+0x253/0x8b0 fs/namei.c:4695
__do_sys_symlink fs/namei.c:4716 [inline]
__se_sys_symlink fs/namei.c:4714 [inline]
__x64_sys_symlink+0xe0/0x140 fs/namei.c:4714
x64_sys_call+0x31ca/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:89
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Local variable new_ni created at:
f2fs_new_node_page+0xa4/0x1690 fs/f2fs/node.c:1317
f2fs_new_inode_page+0xb6/0x100 fs/f2fs/node.c:1311
CPU: 0 UID: 0 PID: 5782 Comm: syz-executor986 Not tainted 6.12.0-syzkaller-11930-g0e287d31b62b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
=====================================================
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup