syzbot


kernel BUG in ocfs2_populate_inode

Status: upstream: reported C repro on 2025/03/04 21:06
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+09184149c7c0d9e6f83a@syzkaller.appspotmail.com
First crash: 31d, last: 15d
Bug presence (2)
Date Name Commit Repro Result
2025/03/20 linux-5.15.y (ToT) 0c935c049b5c C [report] kernel BUG in ocfs2_populate_inode
2025/03/20 upstream (ToT) a7f2e10ecd8f C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_populate_inode ocfs2 C inconclusive inconclusive 5 38d 192d 0/28 upstream: reported C repro on 2024/09/24 05:20
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/03/19 04:41 15m retest repro linux-5.15.y report log
2025/03/19 04:41 12m retest repro linux-5.15.y report log

Sample crash report:
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
------------[ cut here ]------------
kernel BUG at fs/ocfs2/inode.c:336!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4020 Comm: syz-executor216 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ocfs2_populate_inode+0x1490/0x1524 fs/ocfs2/inode.c:336
lr : ocfs2_populate_inode+0x1490/0x1524 fs/ocfs2/inode.c:336
sp : ffff80001df266e0
x29: ffff80001df267e0 x28: ffff00018924422c x27: 1fffe00031248845
x26: ffff000189244250 x25: 1fffe0003124884a x24: 0000000000000000
x23: ffff800014b6d310 x22: ffff000189244200 x21: dfff800000000000
x20: 000000000000003b x19: ffff0000deafec38 x18: 0000000000000000
x17: 0000000000000000 x16: ffff800011b4e3fc x15: 0000000000006000
x14: ffff0000dc771b40 x13: 0000000000ff0100 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000dc771b40
x8 : ffff800009e85074 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff8000089e9f94
x2 : 0000000000000001 x1 : 0000000000000020 x0 : 0000000000000000
Call trace:
 ocfs2_populate_inode+0x1490/0x1524 fs/ocfs2/inode.c:336
 ocfs2_read_locked_inode fs/ocfs2/inode.c:542 [inline]
 ocfs2_iget+0xe9c/0x1e94 fs/ocfs2/inode.c:159
 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline]
 ocfs2_get_system_file_inode+0x304/0x6b8 fs/ocfs2/sysfile.c:112
 ocfs2_init_local_system_inodes fs/ocfs2/super.c:488 [inline]
 ocfs2_mount_volume+0x30c/0x150c fs/ocfs2/super.c:1816
 ocfs2_fill_super+0x2b4c/0x4abc fs/ocfs2/super.c:1083
 mount_bdev+0x274/0x370 fs/super.c:1400
 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1187
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611
 vfs_get_tree+0x90/0x274 fs/super.c:1530
 do_new_mount+0x278/0x8fc fs/namespace.c:3012
 path_mount+0x594/0x101c fs/namespace.c:3342
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount fs/namespace.c:3540 [inline]
 __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: f9403bfc f9404bfb 17fffcec 9798fd0e (d4210000) 
---[ end trace 946c3084fd0c4e4d ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/04 22:06 linux-5.15.y c16c81c81336 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_populate_inode
2025/03/04 21:36 linux-5.15.y c16c81c81336 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_populate_inode
2025/03/04 21:05 linux-5.15.y c16c81c81336 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_populate_inode
* Struck through repros no longer work on HEAD.