syzbot


kernel BUG in ocfs2_iget

Status: upstream: reported C repro on 2025/11/01 03:15
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+f48965b346761d2f0ea3@syzkaller.appspotmail.com
First crash: 32d, last: 14h57m
Bug presence (1)
Date Name Commit Repro Result
2025/11/06 upstream (ToT) dc77806cf3b4 C [report] kernel BUG in ocfs2_iget
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_iget ocfs2 -1 C inconclusive 1430 6h28m 474d 0/29 upstream: reported C repro on 2024/08/15 10:47
linux-5.15 kernel BUG in ocfs2_iget missing-backport origin:upstream -1 C error 30 8d17h 374d 0/3 upstream: reported C repro on 2024/11/23 23:28
linux-6.1 kernel BUG in ocfs2_iget origin:upstream -1 C error 25 23d 368d 0/3 upstream: reported C repro on 2024/11/29 23:27
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/12/02 11:26 1h37m bisect fix linux-6.6.y OK (0) job log log

Sample crash report:
WARNING: The mand mount option has been deprecated and
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
(syz.0.17,5948,0):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.0.17,5948,0):ocfs2_read_locked_inode:536 ERROR: Inode 72: system file state is ambiguous
------------[ cut here ]------------
kernel BUG at fs/ocfs2/inode.c:536!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5948 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline]
RIP: 0010:ocfs2_iget+0x1884/0x1960 fs/ocfs2/inode.c:159
Code: 89 bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 92 97 7a 8c ba 18 02 00 00 48 c7 c1 e0 d2 e9 8a e8 ac 49 14 00 <0f> 0b e8 35 58 33 fe 0f 0b e8 2e 58 33 fe 31 f6 65 ff 0d 5d 80 b1
RSP: 0018:ffffc900032e6d40 EFLAGS: 00010246
RAX: c9be8aa20644b500 RBX: ffffc900032e6e80 RCX: c9be8aa20644b500
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900032e6fb0 R08: ffffc900032e68e7 R09: 1ffff9200065cd1c
R10: dffffc0000000000 R11: fffff5200065cd1d R12: ffff88806d7d402c
R13: 1ffff9200065cdb0 R14: ffffc900032e6ea0 R15: 1000000000000000
FS:  0000555564708500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4df481b000 CR3: 000000002ccf7000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline]
 ocfs2_get_system_file_inode+0x366/0x7b0 fs/ocfs2/sysfile.c:112
 ocfs2_init_local_system_inodes fs/ocfs2/super.c:487 [inline]
 ocfs2_mount_volume+0x32f/0x14d0 fs/ocfs2/super.c:1812
 ocfs2_fill_super+0x3462/0x4d90 fs/ocfs2/super.c:1084
 mount_bdev+0x22b/0x2d0 fs/super.c:1643
 legacy_get_tree+0xea/0x180 fs/fs_context.c:662
 vfs_get_tree+0x8c/0x280 fs/super.c:1764
 do_new_mount+0x24b/0xa40 fs/namespace.c:3386
 do_mount fs/namespace.c:3726 [inline]
 __do_sys_mount fs/namespace.c:3935 [inline]
 __se_sys_mount+0x2da/0x3c0 fs/namespace.c:3912
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0ee939076a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe91490268 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffe914902f0 RCX: 00007f0ee939076a
RDX: 0000200000004440 RSI: 0000200000000040 RDI: 00007ffe914902b0
RBP: 0000200000004440 R08: 00007ffe914902f0 R09: 00000000000008c0
R10: 00000000000008c0 R11: 0000000000000246 R12: 0000200000000040
R13: 00007ffe914902b0 R14: 000000000000444e R15: 0000200000000080
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline]
RIP: 0010:ocfs2_iget+0x1884/0x1960 fs/ocfs2/inode.c:159
Code: 89 bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 92 97 7a 8c ba 18 02 00 00 48 c7 c1 e0 d2 e9 8a e8 ac 49 14 00 <0f> 0b e8 35 58 33 fe 0f 0b e8 2e 58 33 fe 31 f6 65 ff 0d 5d 80 b1
RSP: 0018:ffffc900032e6d40 EFLAGS: 00010246
RAX: c9be8aa20644b500 RBX: ffffc900032e6e80 RCX: c9be8aa20644b500
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900032e6fb0 R08: ffffc900032e68e7 R09: 1ffff9200065cd1c
R10: dffffc0000000000 R11: fffff5200065cd1d R12: ffff88806d7d402c
R13: 1ffff9200065cdb0 R14: ffffc900032e6ea0 R15: 1000000000000000
FS:  0000555564708500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4df481b000 CR3: 000000002ccf7000 CR4: 00000000003506f0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/01 03:14 linux-6.6.y e5bbb12db2c7 2c50b6a9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_iget
* Struck through repros no longer work on HEAD.