syzbot


kernel BUG in ocfs2_populate_inode

Status: upstream: reported C repro on 2024/09/24 05:20
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+779d072a1067a8b1a917@syzkaller.appspotmail.com
First crash: 234d, last: 3d19h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG in ocfs2_populate_inode (log)
Repro: C syz .config
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] kernel BUG in ocfs2_populate_inode 0 (1) 2024/09/24 05:20
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ocfs2_populate_inode origin:lts-only C error 3 53d 68d 0/3 upstream: reported C repro on 2025/03/04 21:06
Last patch testing requests (7)
Created Duration User Patch Repo Result
2025/05/06 06:48 14m retest repro upstream report log
2025/04/17 01:57 14m retest repro upstream report log
2025/02/25 06:26 19m retest repro upstream report log
2025/01/04 13:52 13m retest repro upstream report log
2024/12/17 05:46 13m retest repro upstream report log
2024/10/22 08:51 12m retest repro upstream report log
2024/10/08 05:29 15m retest repro upstream report log

Sample crash report:
loop0: detected capacity change from 0 to 32768
------------[ cut here ]------------
kernel BUG at fs/ocfs2/inode.c:350!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 5820 Comm: syz-executor309 Not tainted 6.15.0-rc5-syzkaller-00043-gd76bb1ebb558 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
RIP: 0010:ocfs2_populate_inode+0x175e/0x1780 fs/ocfs2/inode.c:350
Code: c6 bf 02 00 00 00 e8 51 72 28 fe 45 84 f6 75 2a e8 47 6f 28 fe 48 8b 5c 24 10 4c 8b 64 24 18 e9 d6 f1 ff ff e8 33 6f 28 fe 90 <0f> 0b e8 2b 6f 28 fe 90 0f 0b 90 e9 f7 fe ff ff e8 1d 6f 28 fe e8
RSP: 0018:ffffc9000412ed60 EFLAGS: 00010293
RAX: ffffffff8397602d RBX: ffff888076c596b8 RCX: ffff8880345c1e00
RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000000
RBP: ffffc9000412ee90 R08: ffffffff8f7daf77 R09: 1ffffffff1efb5ee
R10: dffffc0000000000 R11: fffffbfff1efb5ef R12: ffff88807452642c
R13: dffffc0000000000 R14: 0000000000000020 R15: 0000000000000000
FS:  000055555d2e3380(0000) GS:ffff8881261fe000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000400c388 CR3: 000000002ce4a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_read_locked_inode fs/ocfs2/inode.c:556 [inline]
 ocfs2_iget+0xdc1/0x1a90 fs/ocfs2/inode.c:159
 ocfs2_init_global_system_inodes+0x16c/0x660 fs/ocfs2/super.c:449
 ocfs2_initialize_super fs/ocfs2/super.c:2193 [inline]
 ocfs2_fill_super+0x2aec/0x63d0 fs/ocfs2/super.c:993
 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1636
 vfs_get_tree+0x8f/0x2b0 fs/super.c:1759
 do_new_mount+0x24a/0xa40 fs/namespace.c:3884
 do_mount fs/namespace.c:4224 [inline]
 __do_sys_mount fs/namespace.c:4435 [inline]
 __se_sys_mount+0x317/0x410 fs/namespace.c:4412
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa274e9f97a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcb71f5be8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffcb71f5c00 RCX: 00007fa274e9f97a
RDX: 0000200000004440 RSI: 0000200000000140 RDI: 00007ffcb71f5c00
RBP: 0000200000000140 R08: 00007ffcb71f5c40 R09: 000000000000444d
R10: 0000000000000000 R11: 0000000000000282 R12: 0000200000004440
R13: 00007ffcb71f5c40 R14: 0000000000000003 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_populate_inode+0x175e/0x1780 fs/ocfs2/inode.c:350
Code: c6 bf 02 00 00 00 e8 51 72 28 fe 45 84 f6 75 2a e8 47 6f 28 fe 48 8b 5c 24 10 4c 8b 64 24 18 e9 d6 f1 ff ff e8 33 6f 28 fe 90 <0f> 0b e8 2b 6f 28 fe 90 0f 0b 90 e9 f7 fe ff ff e8 1d 6f 28 fe e8
RSP: 0018:ffffc9000412ed60 EFLAGS: 00010293
RAX: ffffffff8397602d RBX: ffff888076c596b8 RCX: ffff8880345c1e00
RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000000
RBP: ffffc9000412ee90 R08: ffffffff8f7daf77 R09: 1ffffffff1efb5ee
R10: dffffc0000000000 R11: fffffbfff1efb5ef R12: ffff88807452642c
R13: dffffc0000000000 R14: 0000000000000020 R15: 0000000000000000
FS:  000055555d2e3380(0000) GS:ffff8881261fe000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000400c388 CR3: 000000002ce4a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/08 14:23 upstream d76bb1ebb558 dbf35fa1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-upstream-fs kernel BUG in ocfs2_populate_inode
2024/09/20 05:17 upstream 2004cef11ea0 6f888b75 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ocfs2_populate_inode
2025/05/08 09:39 upstream d76bb1ebb558 dbf35fa1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-snapshot-upstream-root kernel BUG in ocfs2_populate_inode
2024/09/24 05:24 upstream 18ba6034468e 89298aad .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_populate_inode
2025/05/08 08:56 upstream d76bb1ebb558 dbf35fa1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_populate_inode
2024/12/20 19:37 upstream 8faabc041a00 49cfeac8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_populate_inode
2024/11/16 09:59 upstream f868cd251776 cfe3a04a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_populate_inode
2024/10/31 03:52 upstream 4236f913808c fb888278 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_populate_inode
* Struck through repros no longer work on HEAD.