gfs2: fsid=}.0: fatal: invalid metadata block - bh = 2 (bad magic number), function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 500 gfs2: fsid=}.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:340! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 6934 Comm: syz.0.15 Not tainted 6.13.0-rc1-syzkaller-ge70140ba0d2b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : gfs2_withdraw+0x1268/0x133c fs/gfs2/util.c:340 lr : gfs2_withdraw+0x1268/0x133c fs/gfs2/util.c:340 sp : ffff80009db66ae0 x29: ffff80009db66c20 x28: ffff0000c7b6c2bc x27: ffff700013b6cd6c x26: 1fffe00018f6d815 x25: ffff80009db66b80 x24: 1ffff00013b6cd7a x23: ffff80009db66bd0 x22: 0000000000000040 x21: ffff0000c7b6c0a8 x20: 000000000000076e x19: ffff0000c7b6c000 x18: 0000000000000008 x17: 0000000000000000 x16: ffff8000804443ec x15: 0000000000000001 x14: 1fffe0003675caf0 x13: ffff80009db68000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000e01b0000 x7 : ffff80008acbf21c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000007 x1 : 0000000000000004 x0 : 0000000000000000 Call trace: gfs2_withdraw+0x1268/0x133c fs/gfs2/util.c:340 (P) gfs2_withdraw+0x1268/0x133c fs/gfs2/util.c:340 (L) gfs2_meta_check_ii+0x78/0x94 fs/gfs2/util.c:501 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline] gfs2_meta_buffer+0x2c0/0x38c fs/gfs2/meta_io.c:500 __fillup_metapath+0x144/0x2a0 fs/gfs2/bmap.c:334 lookup_metapath fs/gfs2/bmap.c:361 [inline] __gfs2_iomap_get+0x4fc/0x102c fs/gfs2/bmap.c:907 gfs2_iomap_get fs/gfs2/bmap.c:1413 [inline] gfs2_block_map+0x254/0x7c0 fs/gfs2/bmap.c:1228 gfs2_write_alloc_required+0x2d4/0x538 fs/gfs2/bmap.c:2328 gfs2_jdesc_check+0x1c4/0x28c fs/gfs2/super.c:118 init_journal+0xb6c/0x1fac fs/gfs2/ops_fstype.c:780 init_inodes+0xe0/0x2d8 fs/gfs2/ops_fstype.c:864 gfs2_fill_super+0x186c/0x1fac fs/gfs2/ops_fstype.c:1249 get_tree_bdev_flags+0x38c/0x494 fs/super.c:1636 get_tree_bdev+0x2c/0x3c fs/super.c:1659 gfs2_get_tree+0x54/0x1b4 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x90/0x28c fs/super.c:1814 do_new_mount+0x278/0x900 fs/namespace.c:3507 path_mount+0x590/0xe04 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount fs/namespace.c:4034 [inline] __arm64_sys_mount+0x4d4/0x5ac fs/namespace.c:4034 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: f94023e0 97926e36 17ffff56 977c93c9 (d4210000) ---[ end trace 0000000000000000 ]---