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
loop0: detected capacity change from 32768 to 0
syz.0.0: attempt to access beyond end of device
loop0: rw=12288, sector=18720, nr_sectors = 8 limit=0
syz.0.0: attempt to access beyond end of device
loop0: rw=12288, sector=18720, nr_sectors = 8 limit=0
gfs2: fsid=syz:syz.0: fatal: I/O error - block = 2340, function = gfs2_meta_read, file = fs/gfs2/meta_io.c, line = 306
gfs2: fsid=syz:syz.0: about to withdraw this file system
gfs2: fsid=syz:syz.0: Journal recovery skipped for jid 0 until next mount.
gfs2: fsid=syz:syz.0: Glock dequeues delayed: 0
gfs2: fsid=syz:syz.0: File system withdrawn
CPU: 0 UID: 0 PID: 5354 Comm: syz.0.0 Not tainted 6.17.0-rc2-syzkaller-00028-gbe48bcf004f9 #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
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
gfs2_withdraw+0xb30/0x1430 fs/gfs2/util.c:345
gfs2_meta_read+0x946/0x980 fs/gfs2/meta_io.c:306
gfs2_meta_buffer+0x110/0x300 fs/gfs2/meta_io.c:498
gfs2_meta_inode_buffer fs/gfs2/meta_io.h:70 [inline]
gfs2_dirty_inode+0x41d/0x600 fs/gfs2/super.c:516
__mark_inode_dirty+0x2d1/0xdf0 fs/fs-writeback.c:2527
mark_inode_dirty include/linux/fs.h:2609 [inline]
gfs2_adjust_quota+0x647/0x800 fs/gfs2/quota.c:885
do_sync+0x847/0xc60 fs/gfs2/quota.c:961
gfs2_quota_sync+0x359/0x460 fs/gfs2/quota.c:1357
gfs2_sync_fs+0x4c/0xb0 fs/gfs2/super.c:658
sync_filesystem+0xeb/0x230 fs/sync.c:56
gfs2_reconfigure+0xbb/0xb20 fs/gfs2/ops_fstype.c:1555
reconfigure_super+0x227/0x890 fs/super.c:1077
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:0x7f178c18ebe9
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:00007f17885f5038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af
RAX: ffffffffffffffda RBX: 00007f178c3b5fa0 RCX: 00007f178c18ebe9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006
RBP: 00007f178c211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f178c3b6038 R14: 00007f178c3b5fa0 R15: 00007ffd5af77028
gfs2: fsid=syz:syz.0: GFS2:adding buf while withdrawn! 0x903
------------[ cut here ]------------
kernel BUG at fs/gfs2/quota.c:331!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5354 Comm: syz.0.0 Not tainted 6.17.0-rc2-syzkaller-00028-gbe48bcf004f9 #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:qd_put+0x18a/0x190 fs/gfs2/quota.c:331
Code: e7 e8 aa 3c 28 fe e9 ee fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 83 48 89 ef e8 81 3d 28 fe e9 76 ff ff ff e8 d7 54 c3 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000eecfb60 EFLAGS: 00010287
RAX: ffffffff83fc6559 RBX: ffff88804465e000 RCX: 0000000000100000
RDX: ffffc9000dde2000 RSI: 000000000003701a RDI: 000000000003701b
RBP: 00000000ffffff80 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001dd9f54 R12: ffff88804465e070
R13: ffff8880530dc000 R14: ffff88804465e030 R15: 1ffff110088cbc0e
FS: 00007f17885f56c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bcb2b1da00 CR3: 000000003fe16000 CR4: 0000000000352ef0
Call Trace:
gfs2_quota_sync+0x3c4/0x460 fs/gfs2/quota.c:1361
gfs2_sync_fs+0x4c/0xb0 fs/gfs2/super.c:658
sync_filesystem+0xeb/0x230 fs/sync.c:56
gfs2_reconfigure+0xbb/0xb20 fs/gfs2/ops_fstype.c:1555
reconfigure_super+0x227/0x890 fs/super.c:1077
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:0x7f178c18ebe9
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:00007f17885f5038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af
RAX: ffffffffffffffda RBX: 00007f178c3b5fa0 RCX: 00007f178c18ebe9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006
RBP: 00007f178c211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f178c3b6038 R14: 00007f178c3b5fa0 R15: 00007ffd5af77028
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:qd_put+0x18a/0x190 fs/gfs2/quota.c:331
Code: e7 e8 aa 3c 28 fe e9 ee fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 83 48 89 ef e8 81 3d 28 fe e9 76 ff ff ff e8 d7 54 c3 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000eecfb60 EFLAGS: 00010287
RAX: ffffffff83fc6559 RBX: ffff88804465e000 RCX: 0000000000100000
RDX: ffffc9000dde2000 RSI: 000000000003701a RDI: 000000000003701b
RBP: 00000000ffffff80 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001dd9f54 R12: ffff88804465e070
R13: ffff8880530dc000 R14: ffff88804465e030 R15: 1ffff110088cbc0e
FS: 00007f17885f56c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bcb2b1da00 CR3: 000000003fe16000 CR4: 0000000000352ef0