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 gfs2: fsid=syz:syz.0: fatal: filesystem consistency error - inode = 11 2339, function = gfs2_dinode_in, file = fs/gfs2/glops.c, line = 403 gfs2: fsid=syz:syz.0: G: s:EX n:2/923 f:aqobnN 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:5332 [syz.0.0] gfs2_quota_sync+0x359/0x460 fs/gfs2/quota.c:1357 gfs2: fsid=syz:syz.0: I: n:11/2339 t:0 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] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted 6.16.0-rc1-syzkaller-00101-g27605c8c0f69 #0 PREEMPT(full) 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+0x1463/0x14f0 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 31 f9 ff ff 48 8b 7c 24 10 e8 d8 c4 2a fe e9 22 f9 ff ff e8 8e 4d c7 fd 90 <0f> 0b 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 83 f9 ff ff 48 RSP: 0018:ffffc9000d1876e0 EFLAGS: 00010283 RAX: ffffffff83f91162 RBX: ffffc9000d1877a0 RCX: 0000000000100000 RDX: ffffc9000e38a000 RSI: 0000000000002ff7 RDI: 0000000000002ff8 RBP: ffffc9000d187870 R08: ffffc9000d187407 R09: 1ffff92001a30e80 R10: dffffc0000000000 R11: fffff52001a30e81 R12: dffffc0000000000 R13: 1ffff92001a30ef0 R14: 1ffff11006c3d015 R15: 0000000000000004 FS: 00007efdbdc3d6c0(0000) GS:ffff88808d252000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efdbcfaf328 CR3: 00000000432e1000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_dinode_in fs/gfs2/glops.c:-1 [inline] gfs2_inode_refresh fs/gfs2/glops.c:482 [inline] inode_go_instantiate+0xd42/0x1150 fs/gfs2/glops.c:503 gfs2_instantiate+0x165/0x220 fs/gfs2/glock.c:468 gfs2_glock_holder_ready fs/gfs2/glock.c:1333 [inline] gfs2_glock_wait+0x1d4/0x2a0 fs/gfs2/glock.c:1353 gfs2_glock_nq_init fs/gfs2/glock.h:238 [inline] do_sync+0x46f/0xc60 fs/gfs2/quota.c:923 gfs2_quota_sync+0x359/0x460 fs/gfs2/quota.c:1357 gfs2_sync_fs+0x4c/0xb0 fs/gfs2/super.c:660 sync_filesystem+0xeb/0x230 fs/sync.c:56 gfs2_reconfigure+0xbb/0xb20 fs/gfs2/ops_fstype.c:1555 reconfigure_super+0x224/0x890 fs/super.c:1075 vfs_cmd_reconfigure fs/fsopen.c:262 [inline] vfs_fsconfig_locked+0x171/0x320 fs/fsopen.c:291 __do_sys_fsconfig fs/fsopen.c:467 [inline] __se_sys_fsconfig+0x78e/0x8d0 fs/fsopen.c:344 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efdbcd8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007efdbdc3d038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007efdbcfb5fa0 RCX: 00007efdbcd8e929 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000004 RBP: 00007efdbce10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efdbcfb5fa0 R15: 00007ffc47cbb7a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_withdraw+0x1463/0x14f0 fs/gfs2/util.c:340 Code: ff ff 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 31 f9 ff ff 48 8b 7c 24 10 e8 d8 c4 2a fe e9 22 f9 ff ff e8 8e 4d c7 fd 90 <0f> 0b 48 8b 4c 24 10 80 e1 07 80 c1 03 38 c1 0f 8c 83 f9 ff ff 48 RSP: 0018:ffffc9000d1876e0 EFLAGS: 00010283 RAX: ffffffff83f91162 RBX: ffffc9000d1877a0 RCX: 0000000000100000 RDX: ffffc9000e38a000 RSI: 0000000000002ff7 RDI: 0000000000002ff8 RBP: ffffc9000d187870 R08: ffffc9000d187407 R09: 1ffff92001a30e80 R10: dffffc0000000000 R11: fffff52001a30e81 R12: dffffc0000000000 R13: 1ffff92001a30ef0 R14: 1ffff11006c3d015 R15: 0000000000000004 FS: 00007efdbdc3d6c0(0000) GS:ffff88808d252000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efdbdc1bfc8 CR3: 00000000432e1000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400