loop0: detected capacity change from 0 to 32798 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 (magic number) function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 492 gfs2: fsid=syz:syz.s: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:352! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4431 Comm: syz.0.20 Not tainted 6.1.135-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:gfs2_withdraw+0x16ec/0x1780 fs/gfs2/util.c:352 Code: f9 ff ff 48 8b 4c 24 20 80 e1 07 80 c1 03 38 c1 0f 8c ae f9 ff ff 48 8b 7c 24 20 e8 fe f2 3d fe e9 9f f9 ff ff e8 d4 84 ec fd <0f> 0b 48 8b 4c 24 20 80 e1 07 80 c1 03 38 c1 0f 8c 01 fa ff ff 48 RSP: 0018:ffffc90004dbf3a0 EFLAGS: 00010283 RAX: ffffffff83943ecc RBX: 1ffff920009b7e88 RCX: 0000000000080000 RDX: ffffc9000e9f2000 RSI: 00000000000258a7 RDI: 00000000000258a8 RBP: ffffc90004dbf518 R08: dffffc0000000000 R09: fffff520009b7e15 R10: fffff520009b7e15 R11: 1ffff920009b7e14 R12: 1ffff1100fbf5857 R13: ffffffff8ab27ee0 R14: 0000000000000004 R15: ffff88807dfac2bc FS: 00007f89a4ec16c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd29217fab8 CR3: 0000000057bed000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_meta_check_ii+0x6e/0x80 fs/gfs2/util.c:511 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline] gfs2_meta_buffer+0x232/0x310 fs/gfs2/meta_io.c:492 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:72 [inline] gfs2_inode_refresh+0xb5/0xfc0 fs/gfs2/glops.c:480 gfs2_instantiate+0x15e/0x210 fs/gfs2/glock.c:520 gfs2_glock_holder_ready fs/gfs2/glock.c:1328 [inline] gfs2_glock_wait+0x1d0/0x2a0 fs/gfs2/glock.c:1348 gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline] gfs2_lookupi+0x405/0x640 fs/gfs2/inode.c:312 gfs2_lookup_simple+0xa3/0xf0 fs/gfs2/inode.c:264 init_journal+0x1a1/0x2300 fs/gfs2/ops_fstype.c:745 init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x1718/0x1f80 fs/gfs2/ops_fstype.c:1246 get_tree_bdev+0x3f1/0x610 fs/super.c:1366 gfs2_get_tree+0x4d/0x1e0 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x24a/0xa40 fs/namespace.c:3057 do_mount fs/namespace.c:3400 [inline] __do_sys_mount fs/namespace.c:3608 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3585 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f89a3f9010a 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:00007f89a4ec0e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f89a4ec0ef0 RCX: 00007f89a3f9010a RDX: 0000200000000400 RSI: 0000200000012500 RDI: 00007f89a4ec0eb0 RBP: 0000200000000400 R08: 00007f89a4ec0ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000012500 R13: 00007f89a4ec0eb0 R14: 00000000000125bb R15: 00002000000014c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0x16ec/0x1780 fs/gfs2/util.c:352 Code: f9 ff ff 48 8b 4c 24 20 80 e1 07 80 c1 03 38 c1 0f 8c ae f9 ff ff 48 8b 7c 24 20 e8 fe f2 3d fe e9 9f f9 ff ff e8 d4 84 ec fd <0f> 0b 48 8b 4c 24 20 80 e1 07 80 c1 03 38 c1 0f 8c 01 fa ff ff 48 RSP: 0018:ffffc90004dbf3a0 EFLAGS: 00010283 RAX: ffffffff83943ecc RBX: 1ffff920009b7e88 RCX: 0000000000080000 RDX: ffffc9000e9f2000 RSI: 00000000000258a7 RDI: 00000000000258a8 RBP: ffffc90004dbf518 R08: dffffc0000000000 R09: fffff520009b7e15 R10: fffff520009b7e15 R11: 1ffff920009b7e14 R12: 1ffff1100fbf5857 R13: ffffffff8ab27ee0 R14: 0000000000000004 R15: ffff88807dfac2bc FS: 00007f89a4ec16c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd29217fab8 CR3: 0000000057bed000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400