gfs2: fsid=syz:syz.0: fatal: invalid metadata block bh = 2081 (magic number) function = gfs2_quota_init, file = fs/gfs2/quota.c, line = 1406 gfs2: fsid=syz:syz.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:352! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4365 Comm: syz.0.1 Not tainted 6.1.126-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:gfs2_withdraw+0x1542/0x1550 fs/gfs2/util.c:352 Code: fd ff ff 48 8b 4c 24 18 80 e1 07 80 c1 03 38 c1 0f 8c 94 fd ff ff 48 8b 7c 24 18 e8 f8 32 18 fe e9 85 fd ff ff e8 2e a0 c0 fd <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 41 57 41 56 53 41 89 RSP: 0018:ffffc9000476f5c0 EFLAGS: 00010246 RAX: ffffffff83c9fbd2 RBX: ffff8880298942bc RCX: 0000000000080000 RDX: ffffc90005bb9000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000476f738 R08: ffffffff83c9e9a6 R09: fffff520008ede59 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888029894000 R13: dffffc0000000000 R14: 0000000000000004 R15: 1ffff920008edecc FS: 00007fed089596c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3fb58eb028 CR3: 000000002459e000 CR4: 00000000003506f0 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_quota_init+0xdd4/0x1110 fs/gfs2/quota.c:1406 gfs2_make_fs_rw+0x436/0x5b0 fs/gfs2/super.c:155 gfs2_fill_super+0x2327/0x2680 fs/gfs2/ops_fstype.c:1271 get_tree_bdev+0x3fe/0x620 fs/super.c:1366 gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x2ba/0xb40 fs/namespace.c:3056 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3584 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fed07b874ca 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:00007fed08958e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fed08958ef0 RCX: 00007fed07b874ca RDX: 0000000020000240 RSI: 0000000020001140 RDI: 00007fed08958eb0 RBP: 0000000020000240 R08: 00007fed08958ef0 R09: 0000000000000400 R10: 0000000000000400 R11: 0000000000000246 R12: 0000000020001140 R13: 00007fed08958eb0 R14: 0000000000012516 R15: 0000000020001100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0x1542/0x1550 fs/gfs2/util.c:352 Code: fd ff ff 48 8b 4c 24 18 80 e1 07 80 c1 03 38 c1 0f 8c 94 fd ff ff 48 8b 7c 24 18 e8 f8 32 18 fe e9 85 fd ff ff e8 2e a0 c0 fd <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 41 57 41 56 53 41 89 RSP: 0018:ffffc9000476f5c0 EFLAGS: 00010246 RAX: ffffffff83c9fbd2 RBX: ffff8880298942bc RCX: 0000000000080000 RDX: ffffc90005bb9000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000476f738 R08: ffffffff83c9e9a6 R09: fffff520008ede59 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888029894000 R13: dffffc0000000000 R14: 0000000000000004 R15: 1ffff920008edecc FS: 00007fed089596c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff8075a5440 CR3: 000000002459e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400