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: inum=2340 error=-28, nblocks=1, full=1 fail_pt=0 gfs2: fsid=syz:syz.0: rgrp 18 has an error, marking it readonly until umount gfs2: fsid=syz:syz.0: umount on all nodes and run fsck.gfs2 to fix the error gfs2: fsid=syz:syz.0: R: n:18 f:80000000 b:4294967295/4294967295 i:4294967295 q:0 r:1 e:0 gfs2: fsid=syz:syz.0: L: f:00 b:4294967295 i:4294967295 gfs2: fsid=syz:syz.0: warning: assertion "!qd->qd_change" failed - function = gfs2_qd_dispose, file = fs/gfs2/quota.c, line = 129 CPU: 0 UID: 0 PID: 5330 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_assert_warn_i+0x18c/0x2c0 fs/gfs2/util.c:304 gfs2_qd_dispose+0x43d/0x540 fs/gfs2/quota.c:129 gfs2_qd_list_dispose fs/gfs2/quota.c:146 [inline] gfs2_quota_cleanup+0x42d/0x770 fs/gfs2/quota.c:1550 gfs2_make_fs_ro+0x2a0/0x320 fs/gfs2/super.c:568 gfs2_put_super+0x235/0x870 fs/gfs2/super.c:603 generic_shutdown_super+0x13d/0x2d0 fs/super.c:751 kill_block_super+0x44/0xa0 fs/super.c:1903 deactivate_locked_super+0xbe/0x110 fs/super.c:586 cleanup_mnt+0x204/0x2a0 fs/namespace.c:1392 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9a8e39f7ca 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:00007f9a8f184e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffec RBX: 00007f9a8f184ea0 RCX: 00007f9a8e39f7ca RDX: 0000200000000300 RSI: 0000200000000340 RDI: 00007f9a8f184e60 RBP: 0000200000000300 R08: 00007f9a8f184ea0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000340 R13: 00007f9a8f184e60 R14: 000000000001261d R15: 0000200000005c00 ------------[ cut here ]------------ error WARNING: fs/gfs2/rgrp.c:2628 at gfs2_check_blk_type+0x458/0x690 fs/gfs2/rgrp.c:2628, CPU#0: syz.0.0/5330 Modules linked in: CPU: 0 UID: 0 PID: 5330 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_check_blk_type+0x458/0x690 fs/gfs2/rgrp.c:2628 Code: e0 01 00 00 8b 1b 89 df 44 89 f6 e8 22 33 73 fd 4d 89 f5 44 39 f3 76 2e e8 05 31 73 fd 31 db e9 84 00 00 00 e8 f9 30 73 fd 90 <0f> 0b 90 bb f9 ff ff ff 49 bd 00 00 00 00 00 fc ff df 4c 8b 64 24 RSP: 0018:ffffc9000d8ef920 EFLAGS: 00010287 RAX: ffffffff8454efd4 RBX: 000000000000081d RCX: 0000000000100000 RDX: ffffc9000f381000 RSI: 00000000000a708d RDI: 00000000000a708e RBP: ffffc9000d8efa10 R08: ffff8880530e0647 R09: 1ffff1100a61c0c8 R10: dffffc0000000000 R11: ffffed100a61c0c9 R12: ffff8880448abaf0 R13: 0000020000000013 R14: ffffc9000d8ef960 R15: 1ffff11008915764 FS: 00007f9a8f1856c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc12da8bac CR3: 00000000537b3000 CR4: 0000000000352ef0 Call Trace: evict_should_delete fs/gfs2/super.c:1264 [inline] gfs2_evict_inode+0xe4e/0x1400 fs/gfs2/super.c:1466 evict+0x624/0xb50 fs/inode.c:822 free_local_statfs_inodes fs/gfs2/super.c:1549 [inline] gfs2_put_super+0x63e/0x870 fs/gfs2/super.c:633 generic_shutdown_super+0x13d/0x2d0 fs/super.c:751 kill_block_super+0x44/0xa0 fs/super.c:1903 deactivate_locked_super+0xbe/0x110 fs/super.c:586 cleanup_mnt+0x204/0x2a0 fs/namespace.c:1392 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9a8e39f7ca 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:00007f9a8f184e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffec RBX: 00007f9a8f184ea0 RCX: 00007f9a8e39f7ca RDX: 0000200000000300 RSI: 0000200000000340 RDI: 00007f9a8f184e60 RBP: 0000200000000300 R08: 00007f9a8f184ea0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000340 R13: 00007f9a8f184e60 R14: 000000000001261d R15: 0000200000005c00