bh = 34 (type: exp=4, found=256) function = gfs2_meta_buffer, file = fs/gfs2/meta_io.c, line = 493 gfs2: fsid=syz:syz.0: 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: 6540 Comm: syz.1.319 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:gfs2_withdraw+0x14da/0x14e0 fs/gfs2/util.c:341 Code: fc ff ff 48 8b 4c 24 18 80 e1 07 80 c1 03 38 c1 0f 8c 5a fd ff ff 48 8b 7c 24 18 e8 40 b3 2c fe e9 4b fd ff ff e8 26 d7 e2 fd <0f> 0b 0f 1f 40 00 55 41 57 41 56 53 41 89 f6 49 89 ff e8 0f d7 e2 RSP: 0018:ffffc900035af100 EFLAGS: 00010283 RAX: ffffffff839dadba RBX: 0000000000000004 RCX: 0000000000080000 RDX: ffffc90004104000 RSI: 000000000006b185 RDI: 000000000006b186 RBP: ffffc900035af270 R08: ffffffff839d9c3e R09: ffffed10171e67a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807bea80a8 R13: dffffc0000000000 R14: ffff88807bea92c0 R15: ffff88807bea8000 FS: 00007fea7bc566c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5dc204df98 CR3: 0000000051765000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_metatype_check_ii+0x75/0x90 fs/gfs2/util.c:520 gfs2_metatype_check_i fs/gfs2/util.h:129 [inline] gfs2_meta_buffer+0x355/0x410 fs/gfs2/meta_io.c:493 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:70 [inline] gfs2_inode_refresh+0xdd/0x1070 fs/gfs2/glops.c:481 inode_go_lock+0x12c/0x470 fs/gfs2/glops.c:510 do_promote+0x74b/0xb10 fs/gfs2/glock.c:507 finish_xmote+0x50d/0xb60 fs/gfs2/glock.c:678 do_xmote+0x775/0x10b0 fs/gfs2/glock.c:824 gfs2_glock_nq+0xc32/0x15e0 fs/gfs2/glock.c:1534 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] init_journal+0xd52/0x23c0 fs/gfs2/ops_fstype.c:797 init_inodes+0xdc/0x310 fs/gfs2/ops_fstype.c:891 gfs2_fill_super+0x1c2c/0x2750 fs/gfs2/ops_fstype.c:1249 get_tree_bdev+0x3fe/0x620 fs/super.c:1325 gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1332 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x2ba/0xb40 fs/namespace.c:3012 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3540 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fea7dde74ca 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:00007fea7bc55e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fea7bc55ef0 RCX: 00007fea7dde74ca RDX: 000000002001f680 RSI: 000000002001f6c0 RDI: 00007fea7bc55eb0 RBP: 000000002001f680 R08: 00007fea7bc55ef0 R09: 0000000000000084 R10: 0000000000000084 R11: 0000000000000246 R12: 000000002001f6c0 R13: 00007fea7bc55eb0 R14: 000000000001f706 R15: 0000000020000000 Modules linked in: ---[ end trace 5abf014996547e44 ]--- RIP: 0010:gfs2_withdraw+0x14da/0x14e0 fs/gfs2/util.c:341 Code: fc ff ff 48 8b 4c 24 18 80 e1 07 80 c1 03 38 c1 0f 8c 5a fd ff ff 48 8b 7c 24 18 e8 40 b3 2c fe e9 4b fd ff ff e8 26 d7 e2 fd <0f> 0b 0f 1f 40 00 55 41 57 41 56 53 41 89 f6 49 89 ff e8 0f d7 e2 RSP: 0018:ffffc900035af100 EFLAGS: 00010283 RAX: ffffffff839dadba RBX: 0000000000000004 RCX: 0000000000080000 RDX: ffffc90004104000 RSI: 000000000006b185 RDI: 000000000006b186 RBP: ffffc900035af270 R08: ffffffff839d9c3e R09: ffffed10171e67a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807bea80a8 R13: dffffc0000000000 R14: ffff88807bea92c0 R15: ffff88807bea8000 FS: 00007fea7bc566c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556f00a03950 CR3: 0000000051765000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400