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: journal 0 mapped with 3 extents in 0ms gfs2: fsid=syz:syz.0: first mount done, others may mount gfs2: fsid=syz:syz.0: found 1 quota changes ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= gfs2: fsid=syz:syz.0: fatal: filesystem consistency error - inode = 11 2339, function = gfs2_dinode_in, file = fs/gfs2/glops.c, line = 402 gfs2: fsid=syz:syz.0: G: s:EX n:2/923 f:aqonN t:EX d:EX/0 a:0 v:0 r:2 m:20 p:1 gfs2: fsid=syz:syz.0: H: s:EX f:H e:0 p:5319 [syz.0.0] gfs2_quota_sync+0x370/0x470 fs/gfs2/quota.c:1358 gfs2: fsid=syz:syz.0: I: n:11/2339 t:0 f:0x00 d:0x00000000 s:0 p:0 CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 gfs2_withdraw+0xc3/0x1b0 fs/gfs2/util.c:249 gfs2_dinode_in fs/gfs2/glops.c:-1 [inline] gfs2_inode_refresh fs/gfs2/glops.c:491 [inline] inode_go_instantiate+0xe69/0x12a0 fs/gfs2/glops.c:512 gfs2_instantiate+0x168/0x220 fs/gfs2/glock.c:442 gfs2_glock_holder_ready fs/gfs2/glock.c:1250 [inline] gfs2_glock_wait+0x1d4/0x2a0 fs/gfs2/glock.c:1270 gfs2_glock_nq_init fs/gfs2/glock.h:253 [inline] do_sync+0x49a/0xcb0 fs/gfs2/quota.c:924 gfs2_quota_sync+0x370/0x470 fs/gfs2/quota.c:1358 gfs2_sync_fs+0x4c/0xb0 fs/gfs2/super.c:661 sync_filesystem+0xee/0x230 fs/sync.c:56 gfs2_reconfigure+0xbb/0xb20 fs/gfs2/ops_fstype.c:1554 reconfigure_super+0x227/0x8a0 fs/super.c:1080 do_remount fs/namespace.c:3400 [inline] path_mount+0xdc5/0x10e0 fs/namespace.c:4146 do_mount fs/namespace.c:4167 [inline] __do_sys_mount fs/namespace.c:4383 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4360 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5158f9e04a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5159d7ce18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5159d7cea0 RCX: 00007f5158f9e04a RDX: 0000200000000040 RSI: 0000200000000100 RDI: 0000000000000000 RBP: 0000200000000040 R08: 00007f5159d7cea0 R09: 0000000000080061 R10: 0000000000080061 R11: 0000000000000246 R12: 0000200000000100 R13: 00007f5159d7ce60 R14: 0000000000000000 R15: 00002000000001c0 gfs2: fsid=syz:syz.0: about to withdraw this file system ------------[ cut here ]------------ kernel BUG at fs/gfs2/quota.c:1521! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:gfs2_quota_cleanup+0x75e/0x760 fs/gfs2/quota.c:1520 Code: ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 5b fd ff ff 4c 89 f7 e8 92 63 0b fe e9 4e fd ff ff e8 f8 f3 82 07 e8 a3 9a 9e fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 RSP: 0018:ffffc90003c87a40 EFLAGS: 00010283 RAX: ffffffff84271ffd RBX: 0000000000000002 RCX: 0000000000100000 RDX: ffffc90020802000 RSI: 000000000002ce60 RDI: 000000000002ce61 RBP: ffffc90003c87b50 R08: ffff888012bf80af R09: 1ffff1100257f015 R10: dffffc0000000000 R11: ffffed100257f016 R12: 1ffff92000790f4c R13: ffff8880439bdc00 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f5159d7d6c0(0000) GS:ffff88808c885000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4ad926d949 CR3: 00000000132c5000 CR4: 0000000000352ef0 Call Trace: gfs2_make_fs_ro+0x2a0/0x320 fs/gfs2/super.c:568 gfs2_reconfigure+0x6a5/0xb20 fs/gfs2/ops_fstype.c:1594 reconfigure_super+0x227/0x8a0 fs/super.c:1080 do_remount fs/namespace.c:3400 [inline] path_mount+0xdc5/0x10e0 fs/namespace.c:4146 do_mount fs/namespace.c:4167 [inline] __do_sys_mount fs/namespace.c:4383 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4360 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5158f9e04a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5159d7ce18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5159d7cea0 RCX: 00007f5158f9e04a RDX: 0000200000000040 RSI: 0000200000000100 RDI: 0000000000000000 RBP: 0000200000000040 R08: 00007f5159d7cea0 R09: 0000000000080061 R10: 0000000000080061 R11: 0000000000000246 R12: 0000200000000100 R13: 00007f5159d7ce60 R14: 0000000000000000 R15: 00002000000001c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_quota_cleanup+0x75e/0x760 fs/gfs2/quota.c:1520 Code: ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 5b fd ff ff 4c 89 f7 e8 92 63 0b fe e9 4e fd ff ff e8 f8 f3 82 07 e8 a3 9a 9e fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 RSP: 0018:ffffc90003c87a40 EFLAGS: 00010283 RAX: ffffffff84271ffd RBX: 0000000000000002 RCX: 0000000000100000 RDX: ffffc90020802000 RSI: 000000000002ce60 RDI: 000000000002ce61 RBP: ffffc90003c87b50 R08: ffff888012bf80af R09: 1ffff1100257f015 R10: dffffc0000000000 R11: ffffed100257f016 R12: 1ffff92000790f4c R13: ffff8880439bdc00 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f5159d7d6c0(0000) GS:ffff88808c885000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f922d3d42b0 CR3: 00000000132c5000 CR4: 0000000000352ef0