gfs2: fsid=syz:syz.s: fatal: invalid metadata block bh = 2073 (magic number) function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 493 gfs2: fsid=syz:syz.s: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/util.c:341! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4290 Comm: syz.1.2 Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:gfs2_withdraw+0x13d4/0x1460 fs/gfs2/util.c:341 Code: e9 68 f9 ff ff 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 0f 8c d4 f9 ff ff 48 8b 3c 24 e8 26 9e 50 fe e9 c6 f9 ff ff e8 9c 30 0b fe <0f> 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 0f 8c 34 fa ff ff 48 8b RSP: 0018:ffffc9000309f160 EFLAGS: 00010283 RAX: ffffffff836c8cd4 RBX: ffff88805c2ac000 RCX: 0000000000080000 RDX: ffffc90013998000 RSI: 0000000000050f48 RDI: 0000000000050f49 RBP: ffffc9000309f2b8 R08: dffffc0000000000 R09: fffffbfff1ff343e R10: fffffbfff1ff343e R11: 1ffffffff1ff343d R12: dffffc0000000000 R13: 1ffff92000613e3c R14: ffff88805c2ac2bc R15: 0000000000000004 FS: 00007f4324e646c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f432791ed0f CR3: 000000002257c000 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:498 gfs2_metatype_check_i fs/gfs2/util.h:126 [inline] gfs2_meta_buffer+0x232/0x310 fs/gfs2/meta_io.c:493 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:70 [inline] gfs2_inode_refresh+0xb5/0xfe0 fs/gfs2/glops.c:481 inode_go_lock+0x127/0x470 fs/gfs2/glops.c:510 do_promote+0x741/0xab0 fs/gfs2/glock.c:507 finish_xmote+0x514/0xb70 fs/gfs2/glock.c:678 do_xmote+0x7b6/0x1120 fs/gfs2/glock.c:824 gfs2_glock_nq+0xc7a/0x1550 fs/gfs2/glock.c:1534 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] gfs2_lookupi+0x406/0x5e0 fs/gfs2/inode.c:321 gfs2_lookup_simple+0xa3/0xf0 fs/gfs2/inode.c:273 init_journal+0x1a1/0x2220 fs/gfs2/ops_fstype.c:748 init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:891 gfs2_fill_super+0x1701/0x1f50 fs/gfs2/ops_fstype.c:1249 get_tree_bdev+0x3f1/0x610 fs/super.c:1325 gfs2_get_tree+0x4d/0x1e0 fs/gfs2/ops_fstype.c:1332 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x24a/0xa40 fs/namespace.c:3012 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3540 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f432788610a 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:00007f4324e63e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f4324e63ef0 RCX: 00007f432788610a RDX: 0000200000000400 RSI: 0000200000012500 RDI: 00007f4324e63eb0 RBP: 0000200000000400 R08: 00007f4324e63ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000012500 R13: 00007f4324e63eb0 R14: 00000000000125bb R15: 00002000000014c0 Modules linked in: ---[ end trace 92aba1c0eb6649f9 ]--- RIP: 0010:gfs2_withdraw+0x13d4/0x1460 fs/gfs2/util.c:341 Code: e9 68 f9 ff ff 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 0f 8c d4 f9 ff ff 48 8b 3c 24 e8 26 9e 50 fe e9 c6 f9 ff ff e8 9c 30 0b fe <0f> 0b 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 0f 8c 34 fa ff ff 48 8b RSP: 0018:ffffc9000309f160 EFLAGS: 00010283 RAX: ffffffff836c8cd4 RBX: ffff88805c2ac000 RCX: 0000000000080000 RDX: ffffc90013998000 RSI: 0000000000050f48 RDI: 0000000000050f49 RBP: ffffc9000309f2b8 R08: dffffc0000000000 R09: fffffbfff1ff343e R10: fffffbfff1ff343e R11: 1ffffffff1ff343d R12: dffffc0000000000 R13: 1ffff92000613e3c R14: ffff88805c2ac2bc R15: 0000000000000004 FS: 00007f4324e646c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f432791ed0f CR3: 000000002257c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400