gfs2: fsid=syz:syz.0: first mount done, others may mount BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6121, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 1, expected: 1 4 locks held by syz-executor.0/6121: #0: ffff8880338920d0 (&type->s_umount_key#50/1){+.+.}-{4:4}, at: alloc_super+0x204/0x990 fs/super.c:345 #1: ffffffff8df7ef98 (qd_lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline] #1: ffffffff8df7ef98 (qd_lock){+.+.}-{3:3}, at: gfs2_quota_init+0x845/0x1240 fs/gfs2/quota.c:1458 #2: ffffffff8d9a8d80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #2: ffffffff8d9a8d80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #2: ffffffff8d9a8d80 (rcu_read_lock){....}-{1:3}, at: __rt_spin_lock kernel/locking/spinlock_rt.c:50 [inline] #2: ffffffff8d9a8d80 (rcu_read_lock){....}-{1:3}, at: rt_spin_lock+0x1bb/0x2c0 kernel/locking/spinlock_rt.c:57 #3: ffff888025224088 (&lockref->lock#3){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline] #3: ffff888025224088 (&lockref->lock#3){+.+.}-{3:3}, at: lockref_get_not_dead+0x28/0xd0 lib/lockref.c:155 Preemption disabled at: [] bit_spin_lock include/linux/bit_spinlock.h:25 [inline] [] hlist_bl_lock include/linux/list_bl.h:148 [inline] [] spin_lock_bucket+0x3b/0x150 fs/gfs2/quota.c:98 CPU: 0 UID: 0 PID: 6121 Comm: syz-executor.0 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 __might_resched+0x44b/0x5d0 kernel/sched/core.c:8957 __rt_spin_lock kernel/locking/spinlock_rt.c:48 [inline] rt_spin_lock+0xc7/0x2c0 kernel/locking/spinlock_rt.c:57 spin_lock include/linux/spinlock_rt.h:44 [inline] lockref_get_not_dead+0x28/0xd0 lib/lockref.c:155 gfs2_qd_search_bucket+0x139/0x210 fs/gfs2/quota.c:269 gfs2_quota_init+0x85d/0x1240 fs/gfs2/quota.c:1460 gfs2_make_fs_rw+0x181/0x2b0 fs/gfs2/super.c:149 gfs2_fill_super+0x1af1/0x2120 fs/gfs2/ops_fstype.c:1278 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1692 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8f/0x2b0 fs/super.c:1815 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3808 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4324 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:0x7f33d31df5aa Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f33d255def8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f33d255df80 RCX: 00007f33d31df5aa RDX: 0000000020000080 RSI: 0000000020012700 RDI: 00007f33d255df40 RBP: 0000000020000080 R08: 00007f33d255df80 R09: 0000000000000008 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000020012700 R13: 00007f33d255df40 R14: 0000000000012692 R15: 00000000200001c0 gfs2: fsid=syz:syz.0: Corruption found in quota_change0file: duplicate identifier in slot 44452 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: 6121 Comm: syz-executor.0 Tainted: G W syzkaller #0 PREEMPT_{RT,(full)} Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 gfs2_assert_warn_i+0x194/0x2c0 fs/gfs2/util.c:407 gfs2_qd_dispose+0x4aa/0x5b0 fs/gfs2/quota.c:129 gfs2_quota_init+0xcce/0x1240 fs/gfs2/quota.c:1469 gfs2_make_fs_rw+0x181/0x2b0 fs/gfs2/super.c:149 gfs2_fill_super+0x1af1/0x2120 fs/gfs2/ops_fstype.c:1278 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1692 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8f/0x2b0 fs/super.c:1815 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3808 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4324 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:0x7f33d31df5aa Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f33d255def8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f33d255df80 RCX: 00007f33d31df5aa RDX: 0000000020000080 RSI: 0000000020012700 RDI: 00007f33d255df40 RBP: 0000000020000080 R08: 00007f33d255df80 R09: 0000000000000008 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000020012700 R13: 00007f33d255df40 R14: 0000000000012692 R15: 00000000200001c0 gfs2: fsid=syz:syz.0: found 1 quota changes