loop0: detected capacity change from 0 to 32768 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: filesystem consistency error - inode = 1 35, function = gfs2_dinode_in, file = fs/gfs2/glops.c, line = 399 gfs2: fsid=syz:syz.0: G: s:SH n:2/23 f:aqobnN t:SH d:EX/0 a:0 v:0 r:2 m:20 p:1 gfs2: fsid=syz:syz.0: H: s:SH f:eEcH e:0 p:0 [(none)] init_inodes+0xdc/0x320 fs/gfs2/ops_fstype.c:864 gfs2: fsid=syz:syz.0: I: n:1/35 t:8 f:0x00 d:0x00000000 s:0 p:0 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] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5329 Comm: syz.0.0 Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:gfs2_withdraw+0x1459/0x1460 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 51 fd ff ff 48 8b 7c 24 10 e8 92 ae 10 fe e9 42 fd ff ff e8 c8 d0 a6 fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d3bf3e0 EFLAGS: 00010283 RAX: ffffffff83ee1948 RBX: 0000000000000004 RCX: 0000000000040000 RDX: ffffc9000da29000 RSI: 000000000000cf30 RDI: 000000000000cf31 RBP: ffffc9000d3bf570 R08: ffffffff83ee079e R09: 1ffff92001a77e18 R10: dffffc0000000000 R11: fffff52001a77e19 R12: 1ffff11008785815 R13: 1ffff92001a77e90 R14: dffffc0000000000 R15: ffff888043c2c340 FS: 00007f7b34e5c6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055faeb06d000 CR3: 000000004fc9c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_inode_refresh+0xcbd/0x10b0 fs/gfs2/glops.c:482 gfs2_instantiate+0x190/0x260 fs/gfs2/glock.c:468 gfs2_glock_holder_ready fs/gfs2/glock.c:1345 [inline] gfs2_glock_wait+0x1df/0x2b0 fs/gfs2/glock.c:1365 gfs2_glock_nq_init fs/gfs2/glock.h:238 [inline] init_journal+0xd82/0x2420 fs/gfs2/ops_fstype.c:770 init_inodes+0xdc/0x320 fs/gfs2/ops_fstype.c:864 gfs2_fill_super+0x1bd1/0x24d0 fs/gfs2/ops_fstype.c:1249 get_tree_bdev_flags+0x48c/0x5c0 fs/super.c:1636 gfs2_get_tree+0x54/0x220 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7b33f7feba 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:00007f7b34e5be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f7b34e5bef0 RCX: 00007f7b33f7feba RDX: 000000002001f680 RSI: 000000002001f6c0 RDI: 00007f7b34e5beb0 RBP: 000000002001f680 R08: 00007f7b34e5bef0 R09: 0000000000010013 R10: 0000000000010013 R11: 0000000000000246 R12: 000000002001f6c0 R13: 00007f7b34e5beb0 R14: 000000000001f675 R15: 00000000200017c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0x1459/0x1460 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 51 fd ff ff 48 8b 7c 24 10 e8 92 ae 10 fe e9 42 fd ff ff e8 c8 d0 a6 fd 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d3bf3e0 EFLAGS: 00010283 RAX: ffffffff83ee1948 RBX: 0000000000000004 RCX: 0000000000040000 RDX: ffffc9000da29000 RSI: 000000000000cf30 RDI: 000000000000cf31 RBP: ffffc9000d3bf570 R08: ffffffff83ee079e R09: 1ffff92001a77e18 R10: dffffc0000000000 R11: fffff52001a77e19 R12: 1ffff11008785815 R13: 1ffff92001a77e90 R14: dffffc0000000000 R15: ffff888043c2c340 FS: 00007f7b34e5c6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055faeb06d000 CR3: 000000004fc9c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400