function = compute_bitstructs, file = fs/gfs2/rgrp.c, line = 829 gfs2: fsid=syz:syz.0: G: s:UN n:3/12 f:n t:UN d:EX/0 a:0 v:0 r:1 m:20 p:0 gfs2: fsid=syz:syz.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:352! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 5601 Comm: syz.3.247 Not tainted 6.1.140-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : gfs2_withdraw+0x1254/0x13a8 fs/gfs2/util.c:352 lr : gfs2_withdraw+0x1254/0x13a8 fs/gfs2/util.c:352 sp : ffff800020fe71e0 x29: ffff800020fe72e0 x28: ffff7000041fce48 x27: dfff800000000000 x26: ffff800011eab9a0 x25: ffff800020fe7240 x24: 1fffe0001a49c057 x23: 0000000000004126 x22: ffff0000d24e0340 x21: ffff0000d24e00a8 x20: ffff0000d24e02bc x19: ffff0000d24e0000 x18: ffff800011a7bd00 x17: 0000000000000000 x16: ffff8000082d1c1c x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000a1fbf80 x10: 0000000000000000 x9 : ffff80000a1fbf80 x8 : ffff0000d3420000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020fe6cb8 x4 : ffff800015154740 x3 : ffff80000852df5c x2 : 0000000000000001 x1 : 0000000000000004 x0 : 0000000000000000 Call trace: gfs2_withdraw+0x1254/0x13a8 fs/gfs2/util.c:352 gfs2_consist_rgrpd_i+0x148/0x19c fs/gfs2/util.c:490 compute_bitstructs fs/gfs2/rgrp.c:-1 [inline] read_rindex_entry fs/gfs2/rgrp.c:931 [inline] gfs2_ri_update+0x93c/0x12b4 fs/gfs2/rgrp.c:1001 gfs2_rindex_update+0x2cc/0x394 fs/gfs2/rgrp.c:1051 init_inodes+0x200/0x2d4 fs/gfs2/ops_fstype.c:917 gfs2_fill_super+0x122c/0x19ec fs/gfs2/ops_fstype.c:1246 get_tree_bdev+0x358/0x544 fs/super.c:1366 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x90/0x274 fs/super.c:1573 do_new_mount+0x228/0x810 fs/namespace.c:3058 path_mount+0x5b4/0xe78 fs/namespace.c:3388 do_mount fs/namespace.c:3401 [inline] __do_sys_mount fs/namespace.c:3609 [inline] __se_sys_mount fs/namespace.c:3586 [inline] __arm64_sys_mount+0x49c/0x584 fs/namespace.c:3586 __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/0x138 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: f9402be0 979b6755 17fffe95 978a9659 (d4210000) ---[ end trace 0000000000000000 ]---