loop2: detected capacity change from 0 to 32797 gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" gfs2: fsid=syz:syz: Now mounting FS (format 1801)... gfs2: fsid=syz:syz.s: fatal: invalid metadata block - bh = 2073 (bad magic number), function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 499 gfs2: fsid=syz:syz.s: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:340! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 7186 Comm: syz.2.296 Not tainted 6.15.0-rc1-next-20250411-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:gfs2_withdraw+0x14d1/0x14e0 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 33 fd ff ff 48 8b 7c 24 10 e8 aa 8c 02 fe e9 24 fd ff ff e8 f0 55 98 fd 90 <0f> 0b 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc9000455f0e0 EFLAGS: 00010287 RAX: ffffffff842b2450 RBX: 0000000000000004 RCX: 0000000000080000 RDX: ffffc9000fec5000 RSI: 000000000000f1e3 RDI: 000000000000f1e4 RBP: ffffc9000455f280 R08: ffffffff842b1242 R09: fffffbfff1d7ab08 R10: dffffc0000000000 R11: fffffbfff1d7ab08 R12: 1ffff1100fe08015 R13: 00000000000000c8 R14: dffffc0000000000 R15: ffffffff936a0020 FS: 00007f43ef3966c0(0000) GS:ffff888125080000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000073d44000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_meta_check_ii+0x67/0x80 fs/gfs2/util.c:501 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline] gfs2_meta_buffer+0x32a/0x410 fs/gfs2/meta_io.c:499 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:72 [inline] gfs2_inode_refresh fs/gfs2/glops.c:478 [inline] inode_go_instantiate+0x116/0x11b0 fs/gfs2/glops.c:503 gfs2_instantiate+0x190/0x260 fs/gfs2/glock.c:468 gfs2_glock_holder_ready fs/gfs2/glock.c:1334 [inline] gfs2_glock_wait+0x1df/0x2b0 fs/gfs2/glock.c:1354 gfs2_glock_nq_init fs/gfs2/glock.h:238 [inline] gfs2_lookupi+0x363/0x5b0 fs/gfs2/inode.c:329 gfs2_lookup_meta+0x102/0x200 fs/gfs2/inode.c:280 init_journal+0x1c1/0x2410 fs/gfs2/ops_fstype.c:721 init_inodes+0xdc/0x320 fs/gfs2/ops_fstype.c:864 gfs2_fill_super+0x1e36/0x27b0 fs/gfs2/ops_fstype.c:1249 get_tree_bdev_flags+0x490/0x5c0 fs/super.c:1686 gfs2_get_tree+0x54/0x220 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x90/0x2b0 fs/super.c:1809 do_new_mount+0x2cf/0xb70 fs/namespace.c:3879 do_mount fs/namespace.c:4219 [inline] __do_sys_mount fs/namespace.c:4430 [inline] __se_sys_mount+0x38c/0x400 fs/namespace.c:4407 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f43ee58e90a 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:00007f43ef395e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f43ef395ef0 RCX: 00007f43ee58e90a RDX: 0000200000000400 RSI: 0000200000012500 RDI: 00007f43ef395eb0 RBP: 0000200000000400 R08: 00007f43ef395ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000012500 R13: 00007f43ef395eb0 R14: 00000000000125bb R15: 0000200000000200 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0x14d1/0x14e0 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 33 fd ff ff 48 8b 7c 24 10 e8 aa 8c 02 fe e9 24 fd ff ff e8 f0 55 98 fd 90 <0f> 0b 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc9000455f0e0 EFLAGS: 00010287 RAX: ffffffff842b2450 RBX: 0000000000000004 RCX: 0000000000080000 RDX: ffffc9000fec5000 RSI: 000000000000f1e3 RDI: 000000000000f1e4 RBP: ffffc9000455f280 R08: ffffffff842b1242 R09: fffffbfff1d7ab08 R10: dffffc0000000000 R11: fffffbfff1d7ab08 R12: 1ffff1100fe08015 R13: 00000000000000c8 R14: dffffc0000000000 R15: ffffffff936a0020 FS: 00007f43ef3966c0(0000) GS:ffff888125080000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000073d44000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400