gfs2: fsid=syz:syz.s: fatal: filesystem consistency error inode = 1 18 function = gfs2_dinode_in, file = fs/gfs2/glops.c, line = 465 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: 0 PID: 5372 Comm: syz.5.202 Not tainted 5.15.169-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 20 15 37 fe e9 4b fd ff ff e8 46 4b ed fd <0f> 0b 0f 1f 40 00 55 41 57 41 56 53 41 89 f6 49 89 ff e8 2f 4b ed RSP: 0018:ffffc90003b170c0 EFLAGS: 00010246 RAX: ffffffff8393289a RBX: 0000000000000004 RCX: 0000000000040000 RDX: ffffc900126bf000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90003b17230 R08: ffffffff8393171e R09: fffff52000762d59 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807ccb40a8 R13: dffffc0000000000 R14: ffff88807ccb52c0 R15: ffff88807ccb4000 FS: 00007fb36e3046c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aa3ebde950 CR3: 00000000755ca000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_dinode_in fs/gfs2/glops.c:465 [inline] gfs2_inode_refresh+0xbd6/0x1070 fs/gfs2/glops.c:485 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] check_journal_clean+0x11b/0x350 fs/gfs2/util.c:60 init_journal+0x1830/0x23c0 fs/gfs2/ops_fstype.c:832 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:0x7fb36feaeeba 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:00007fb36e303e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fb36e303ef0 RCX: 00007fb36feaeeba RDX: 00000000200124c0 RSI: 0000000020012500 RDI: 00007fb36e303eb0 RBP: 00000000200124c0 R08: 00007fb36e303ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020012500 R13: 00007fb36e303eb0 R14: 00000000000124a0 R15: 0000000020000000 Modules linked in: ---[ end trace fb8371a87577a8f0 ]--- 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 20 15 37 fe e9 4b fd ff ff e8 46 4b ed fd <0f> 0b 0f 1f 40 00 55 41 57 41 56 53 41 89 f6 49 89 ff e8 2f 4b ed RSP: 0018:ffffc90003b170c0 EFLAGS: 00010246 RAX: ffffffff8393289a RBX: 0000000000000004 RCX: 0000000000040000 RDX: ffffc900126bf000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90003b17230 R08: ffffffff8393171e R09: fffff52000762d59 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807ccb40a8 R13: dffffc0000000000 R14: ffff88807ccb52c0 R15: ffff88807ccb4000 FS: 00007fb36e3046c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c3b325440 CR3: 00000000755ca000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400