syzbot


kernel BUG in ocfs2_iget

Status: upstream: reported C repro on 2024/08/15 10:47
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+5bdd4953bc58c8fbd6eb@syzkaller.appspotmail.com
First crash: 425d, last: 11h13m
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG in ocfs2_iget (log)
Repro: C syz .config
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly ocfs2 report (Oct 2024) 0 (1) 2024/10/24 08:02
[syzbot] Monthly ocfs2 report (Sep 2024) 0 (1) 2024/09/23 09:03
[syzbot] [ocfs2?] kernel BUG in ocfs2_iget 0 (8) 2024/08/16 09:11
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ocfs2_iget missing-backport origin:upstream -1 C error 27 1d07h 325d 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 21 26d 319d 0/3 upstream: reported C repro on 2024/11/29 23:27
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/08/16 09:11 21m lizhi.xu@windriver.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d07b43284ab3 error
2024/08/16 08:08 13m lizhi.xu@windriver.com upstream report log
2024/08/16 07:23 20m lizhi.xu@windriver.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d07b43284ab3 error
2024/08/16 06:54 20m lizhi.xu@windriver.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d07b43284ab3 error
2024/08/16 06:18 4m lizhi.xu@windriver.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d07b43284ab3 error
2024/08/16 05:49 16m lizhi.xu@windriver.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d07b43284ab3 report log
2024/08/16 03:26 14m lizhi.xu@windriver.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d07b43284ab3 report 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,6017,0):ocfs2_read_locked_inode:612 ERROR: bug expression: !!(f[  124.311598][ T6017] (syz.0.17,6017,0):ocfs2_read_locked_inode:612 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE)
(syz.0.17,6017,0):ocfs2_read_locked_inode:612 ERROR: Inode 66: system file state is ambiguous
------------[ cut here ]------------
kernel BUG at fs/ocfs2/inode.c:612!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 6017 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:609 [inline]
RIP: 0010:ocfs2_iget+0x19a3/0x1a90 fs/ocfs2/inode.c:157
Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 b5 46 d9 8c ba 64 02 00 00 48 c7 c1 a0 9b 0a 8b e8 ce 3d 15 00 90 <0f> 0b e8 d6 44 26 fe 90 0f 0b e8 ce 44 26 fe 31 f6 65 ff 0d 25 a6
RSP: 0018:ffffc90003ebed80 EFLAGS: 00010246
RAX: 04081af6bab20600 RBX: ffffc90003ebeec0 RCX: 04081af6bab20600
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003ebeff0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed101710487b R12: ffff888045b3b42c
R13: 1ffff920007d7db8 R14: ffffc90003ebeee0 R15: 1000000000000000
FS:  00007fec07f2e6c0(0000) GS:ffff888127017000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff281101000 CR3: 000000002910e000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 ocfs2_init_global_system_inodes+0x16c/0x660 fs/ocfs2/super.c:449
 ocfs2_initialize_super fs/ocfs2/super.c:2196 [inline]
 ocfs2_fill_super+0x447b/0x65f0 fs/ocfs2/super.c:993
 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1692
 vfs_get_tree+0x8f/0x2b0 fs/super.c:1752
 do_new_mount+0x2a2/0xa30 fs/namespace.c:3750
 do_mount fs/namespace.c:4078 [inline]
 __do_sys_mount fs/namespace.c:4278 [inline]
 __se_sys_mount+0x317/0x410 fs/namespace.c:4255
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fec088c066a
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:00007fec07f2de68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fec07f2def0 RCX: 00007fec088c066a
RDX: 0000200000004440 RSI: 00002000000000c0 RDI: 00007fec07f2deb0
RBP: 0000200000004440 R08: 00007fec07f2def0 R09: 00000000000008c0
R10: 00000000000008c0 R11: 0000000000000246 R12: 00002000000000c0
R13: 00007fec07f2deb0 R14: 0000000000004446 R15: 0000200000000240
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:609 [inline]
RIP: 0010:ocfs2_iget+0x19a3/0x1a90 fs/ocfs2/inode.c:157
Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 b5 46 d9 8c ba 64 02 00 00 48 c7 c1 a0 9b 0a 8b e8 ce 3d 15 00 90 <0f> 0b e8 d6 44 26 fe 90 0f 0b e8 ce 44 26 fe 31 f6 65 ff 0d 25 a6
RSP: 0018:ffffc90003ebed80 EFLAGS: 00010246
RAX: 04081af6bab20600 RBX: ffffc90003ebeec0 RCX: 04081af6bab20600
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003ebeff0 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed101710487b R12: ffff888045b3b42c
R13: 1ffff920007d7db8 R14: ffffc90003ebeee0 R15: 1000000000000000
FS:  00007fec07f2e6c0(0000) GS:ffff888127017000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff281101000 CR3: 000000002910e000 CR4: 00000000003526f0

Crashes (1235):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/02 10:03 upstream 080ffb4bec4d 267f56c6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_iget
2025/06/23 12:30 upstream 86731a2a651e d6cdfb8a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_iget
2025/03/22 05:56 upstream d07de43e3f05 c6512ef7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs kernel BUG in ocfs2_iget
2025/03/08 17:36 upstream 2a520073e74f 7e3bd60d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-upstream-fs kernel BUG in ocfs2_iget
2024/12/06 17:26 upstream b8f52214c61a 946d28f0 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ocfs2_iget
2024/11/25 02:56 upstream 9f16d5e6f220 68da6d95 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ocfs2_iget
2024/11/24 13:36 upstream 9f16d5e6f220 68da6d95 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ocfs2_iget
2025/10/01 21:22 upstream 50c19e20ed2e 3af39644 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/05/26 00:29 upstream d0c22de9995b 2d4582d0 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2024/08/15 08:46 upstream d07b43284ab3 e4bacdaf .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2024/08/15 08:27 upstream d07b43284ab3 e4bacdaf .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2024/11/23 13:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7b1d1d4cfac0 68da6d95 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ocfs2_iget
2025/09/07 16:07 upstream b236920731dd d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ocfs2_iget
2025/10/14 19:15 upstream 9b332cece987 b6605ba8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/14 06:19 upstream 3a8660878839 b6605ba8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/14 04:27 upstream 3a8660878839 b6605ba8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/14 00:26 upstream 3a8660878839 b6605ba8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/13 16:47 upstream 3a8660878839 b6605ba8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/12 23:45 upstream 67029a49db6c ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/12 22:30 upstream 67029a49db6c ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/12 14:20 upstream 67029a49db6c ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/11 21:29 upstream 0739473694c4 ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/11 11:52 upstream 0739473694c4 ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/11 07:42 upstream 917167ed1211 ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/11 04:24 upstream 917167ed1211 ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/10 21:44 upstream 917167ed1211 ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/10 05:25 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/10 02:31 upstream 5472d60c129f ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/09 19:27 upstream ec714e371f22 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/09 11:22 upstream ec714e371f22 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/09 01:39 upstream cd5a0afbdf80 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/08 22:54 upstream cd5a0afbdf80 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/08 10:34 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/08 10:23 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/08 07:48 upstream 0d97f2067c16 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/08 02:16 upstream c746c3b51698 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/08 01:00 upstream c746c3b51698 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/07 18:45 upstream c746c3b51698 7e2882b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/07 15:09 upstream c746c3b51698 8ef35d49 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/07 06:40 upstream ba9dac987319 8ef35d49 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/06 18:06 upstream fd94619c4336 91305dbe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/05 04:03 upstream cbf33b8e0b36 49379ee0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/04 15:12 upstream 2ccb4d203fe4 49379ee0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/04 00:58 upstream e406d57be7bd 49379ee0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/02 15:10 upstream 7f7072574127 49379ee0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/02 08:32 upstream d3479214c05d 267f56c6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/02 04:35 upstream d3479214c05d 267f56c6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_iget
2025/10/13 10:50 linux-next 2b763d465239 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ocfs2_iget
2025/10/13 05:49 linux-next 2b763d465239 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ocfs2_iget
2025/10/12 18:40 linux-next 2b763d465239 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ocfs2_iget
2025/10/05 17:21 linux-next 47a8d4b89844 49379ee0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ocfs2_iget
2025/10/04 20:03 linux-next 47a8d4b89844 49379ee0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ocfs2_iget
2025/10/14 09:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc b6605ba8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_iget
2025/10/13 07:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_iget
2025/10/13 03:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_iget
2025/10/12 07:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_iget
2025/10/09 15:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_iget
2025/10/08 16:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_iget
2025/10/02 11:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2213e57a69f0 a1859138 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_iget
2025/10/02 01:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2213e57a69f0 a1859138 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_iget
* Struck through repros no longer work on HEAD.