syzbot


kernel BUG in ocfs2_iget

Status: upstream: reported C repro on 2024/11/29 23:27
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+bebfdda2f80b5aa13c61@syzkaller.appspotmail.com
First crash: 170d, last: 6d22h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/12/02 upstream (ToT) e70140ba0d2b C [report] kernel BUG in ocfs2_iget
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_iget ocfs2 C inconclusive 623 5h26m 276d 0/28 upstream: reported C repro on 2024/08/15 10:47
linux-5.15 kernel BUG in ocfs2_iget origin:upstream missing-backport C error 17 8d01h 176d 0/3 upstream: reported C repro on 2024/11/23 23:28

Sample crash report:
(syz-executor333,4292,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-executor333,4292,0):ocfs2_read_locked_inode:536 ERROR: Inode 66: 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: 0 PID: 4292 Comm: syz-executor333 Not tainted 6.1.131-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+0x1de4/0x20d0 fs/ocfs2/inode.c:159
lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline]
lr : ocfs2_iget+0x1de4/0x20d0 fs/ocfs2/inode.c:159
sp : ffff800021096ca0
x29: ffff800021096ee0 x28: ffff700004212d9c x27: dfff800000000000
x26: 0000000000000000 x25: ffff0000dd872400 x24: 1ffff00004212dac
x23: dfff800000000000 x22: 1000000000000000 x21: ffff800021096de0
x20: ffff800021096e40 x19: ffff800021096e00 x18: 1fffe00036798576
x17: 646f6e49203a524f x16: ffff800012327ebc x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : 1b40218e8cc25d00
x8 : 1b40218e8cc25d00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800021096478 x4 : ffff800015be5320 x3 : ffff8000085888b0
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000064
Call trace:
 ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline]
 ocfs2_iget+0x1de4/0x20d0 fs/ocfs2/inode.c:159
 ocfs2_init_global_system_inodes+0x160/0x618 fs/ocfs2/super.c:445
 ocfs2_initialize_super fs/ocfs2/super.c:2250 [inline]
 ocfs2_fill_super+0x26ac/0x4a58 fs/ocfs2/super.c:994
 mount_bdev+0x274/0x370 fs/super.c:1443
 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1186
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:632
 vfs_get_tree+0x90/0x274 fs/super.c:1573
 do_new_mount+0x278/0x8fc fs/namespace.c:3056
 path_mount+0x590/0xe5c fs/namespace.c:3386
 do_mount fs/namespace.c:3399 [inline]
 __do_sys_mount fs/namespace.c:3607 [inline]
 __se_sys_mount fs/namespace.c:3584 [inline]
 __arm64_sys_mount+0x498/0x588 fs/namespace.c:3584
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: 910f0063 aa1303e0 52804302 940527a2 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/21 18:45 linux-6.1.y 344a09659766 62330552 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2024/12/01 07:22 linux-6.1.y e4d90d63d385 68914665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/05/12 10:58 linux-6.1.y 02b72ccb5f9d 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/05/10 05:39 linux-6.1.y 02b72ccb5f9d 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/05/10 05:36 linux-6.1.y 02b72ccb5f9d 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/03/21 17:53 linux-6.1.y 344a09659766 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/02/23 18:18 linux-6.1.y 3a8358583626 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/02/23 01:28 linux-6.1.y 3a8358583626 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/02/16 21:58 linux-6.1.y 0cbb5f65e52f 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/02/03 09:38 linux-6.1.y 0cbb5f65e52f 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/01/22 12:03 linux-6.1.y f4f677285b38 da72ac06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2025/01/01 15:42 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2024/12/01 07:04 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
2024/11/29 23:27 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_iget
* Struck through repros no longer work on HEAD.