loop6: detected capacity change from 0 to 32771 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.0: fatal: invalid metadata block - bh = 8330 (bad magic number), function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 499 gfs2: fsid=syz:syz.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:340! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 11312 Comm: syz.6.1529 Not tainted 6.16.0-rc3-syzkaller-00044-g7595b66ae9de #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:gfs2_withdraw+0xfc0/0x12b0 fs/gfs2/util.c:340 Code: 81 16 fe e9 0c f1 ff ff 4c 89 ff e8 8a 81 16 fe e9 75 f1 ff ff 48 8b 7c 24 20 e8 7b 81 16 fe e9 38 f1 ff ff e8 d1 9a b0 fd 90 <0f> 0b e8 c9 9a b0 fd 48 8b 54 24 28 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc900001072c0 EFLAGS: 00010283 RAX: 00000000000220d6 RBX: ffff888035ec0000 RCX: ffffc9001582d000 RDX: 0000000000080000 RSI: ffffffff840b821f RDI: 0000000000000001 RBP: 0000000000000004 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000001 R12: 0000000000000040 R13: ffffc90000107350 R14: ffff888035ec02bd R15: ffff888035ec00a8 FS: 00007ff43e7a46c0(0000) GS:ffff888124759000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556a7d85c8 CR3: 000000007daf0000 CR4: 0000000000350ef0 Call Trace: gfs2_meta_check_ii+0x5f/0x90 fs/gfs2/util.c:501 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline] gfs2_meta_buffer+0x39c/0x3f0 fs/gfs2/meta_io.c:499 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:70 [inline] gfs2_inode_refresh fs/gfs2/glops.c:478 [inline] inode_go_instantiate+0xe5/0x11d0 fs/gfs2/glops.c:503 gfs2_instantiate+0x16c/0x250 fs/gfs2/glock.c:468 gfs2_glock_holder_ready fs/gfs2/glock.c:1333 [inline] gfs2_glock_holder_ready fs/gfs2/glock.c:1329 [inline] gfs2_glock_wait+0x214/0x330 fs/gfs2/glock.c:1353 gfs2_glock_nq+0x12f2/0x19f0 fs/gfs2/glock.c:1594 gfs2_glock_nq_init fs/gfs2/glock.h:238 [inline] gfs2_lookupi+0x34e/0x6e0 fs/gfs2/inode.c:329 gfs2_lookup_meta+0xa9/0x180 fs/gfs2/inode.c:280 init_journal fs/gfs2/ops_fstype.c:708 [inline] init_inodes+0x49b/0x2eb0 fs/gfs2/ops_fstype.c:851 gfs2_fill_super+0x1c03/0x2d60 fs/gfs2/ops_fstype.c:1253 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1681 gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8e/0x340 fs/super.c:1804 do_new_mount fs/namespace.c:3885 [inline] path_mount+0x1414/0x2020 fs/namespace.c:4209 do_mount fs/namespace.c:4222 [inline] __do_sys_mount fs/namespace.c:4433 [inline] __se_sys_mount fs/namespace.c:4410 [inline] __x64_sys_mount+0x28d/0x310 fs/namespace.c:4410 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff43d9900ca 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:00007ff43e7a3e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff43e7a3ef0 RCX: 00007ff43d9900ca RDX: 0000200000037f40 RSI: 0000200000037f80 RDI: 00007ff43e7a3eb0 RBP: 0000200000037f40 R08: 00007ff43e7a3ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000037f80 R13: 00007ff43e7a3eb0 R14: 0000000000037f14 R15: 0000200000000200 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0xfc0/0x12b0 fs/gfs2/util.c:340 Code: 81 16 fe e9 0c f1 ff ff 4c 89 ff e8 8a 81 16 fe e9 75 f1 ff ff 48 8b 7c 24 20 e8 7b 81 16 fe e9 38 f1 ff ff e8 d1 9a b0 fd 90 <0f> 0b e8 c9 9a b0 fd 48 8b 54 24 28 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc900001072c0 EFLAGS: 00010283 RAX: 00000000000220d6 RBX: ffff888035ec0000 RCX: ffffc9001582d000 RDX: 0000000000080000 RSI: ffffffff840b821f RDI: 0000000000000001 RBP: 0000000000000004 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000001 R12: 0000000000000040 R13: ffffc90000107350 R14: ffff888035ec02bd R15: ffff888035ec00a8 FS: 00007ff43e7a46c0(0000) GS:ffff888124759000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556a7d85c8 CR3: 000000007daf0000 CR4: 0000000000350ef0