syzbot


kernel BUG in ocfs2_iget

Status: upstream: reported C repro on 2024/11/23 23:28
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+647084ad32e990962697@syzkaller.appspotmail.com
First crash: 131d, last: 10d
Bug presence (3)
Date Name Commit Repro Result
2025/03/24 linux-5.15.y (ToT) 0c935c049b5c C [report] kernel BUG in ocfs2_iget
2024/11/24 upstream (ToT) 9f16d5e6f220 C [report] kernel BUG in ocfs2_iget
2025/03/24 upstream (ToT) b0cb56cbbdb4 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_iget ocfs2 C inconclusive 491 59m 232d 0/28 upstream: reported C repro on 2024/08/15 10:47
linux-6.1 kernel BUG in ocfs2_iget origin:upstream C 11 14d 125d 0/3 upstream: reported C repro on 2024/11/29 23:27
Last patch testing requests (4)
Created Duration User Patch Repo Result
2025/02/16 13:38 11m retest repro linux-5.15.y report log
2025/02/16 13:38 12m retest repro linux-5.15.y report log
2024/12/08 09:14 15m retest repro linux-5.15.y report log
2024/12/08 09:14 15m retest repro linux-5.15.y report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/04/01 14:07 2h11m fix candidate upstream error job log

Sample crash report:
(syz-executor238,4026,1):ocfs2_read_locked_inode:536 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE)
(syz-executor238,4026,1):ocfs2_read_locked_inode:536 ERROR: Inode 76: system file state is ambiguous
------------[ cut here ]------------
kernel BUG at fs/ocfs2/inode.c:536!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4026 Comm: syz-executor238 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline]
pc : ocfs2_iget+0x1c48/0x1e94 fs/ocfs2/inode.c:159
lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline]
lr : ocfs2_iget+0x1c48/0x1e94 fs/ocfs2/inode.c:159
sp : ffff80001d396840
x29: ffff80001d396a80 x28: ffff700003a72d10 x27: dfff800000000000
x26: 0000000000000000 x25: ffff0000e0a2b800 x24: 1ffff00003a72d20
x23: dfff800000000000 x22: 1000000000000000 x21: ffff80001d396980
x20: ffff80001d3969e0 x19: ffff80001d3969a0 x18: 0000000000000001
x17: 0000000000000000 x16: ffff800011b4e3fc x15: 00000000ffffffff
x14: ffff0000ca1eb680 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : 167acb97e8b72200
x8 : 167acb97e8b72200 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001d395e78 x4 : ffff800014c50660 x3 : ffff8000085568c0
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000064
Call trace:
 ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline]
 ocfs2_iget+0x1c48/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: 91208063 aa1303e0 52804302 940520f8 (d4210000) 
---[ end trace 236990ff1dcfaac5 ]---

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/08 17:12 linux-5.15.y c16c81c81336 7e3bd60d .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_iget
2024/11/24 00:59 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_iget
2024/11/24 00:10 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_iget
2024/12/29 10:12 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ocfs2_iget
2024/12/28 16:26 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ocfs2_iget
2025/03/14 09:24 linux-5.15.y 0c935c049b5c e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_iget
2025/03/08 16:39 linux-5.15.y c16c81c81336 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_iget
2025/02/24 20:42 linux-5.15.y c16c81c81336 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_iget
2025/01/19 12:41 linux-5.15.y 4735586da88e f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_iget
2025/01/18 15:21 linux-5.15.y 4735586da88e f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_iget
2025/01/13 06:13 linux-5.15.y 4735586da88e 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_iget
2024/11/23 23:27 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_iget
* Struck through repros no longer work on HEAD.