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: 6116, name: syz-executor.0 preempt_count: 1, expected: 0 RCU nest depth: 1, expected: 1 4 locks held by syz-executor.0/6116: #0: ffff88804d1b00d0 (&type->s_umount_key#51){+.+.}-{4:4}, at: do_remount fs/namespace.c:3321 [inline] #0: ffff88804d1b00d0 (&type->s_umount_key#51){+.+.}-{4:4}, at: path_mount+0xcd2/0xfe0 fs/namespace.c:4115 #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: ffff888041a54088 (&lockref->lock#3){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline] #3: ffff888041a54088 (&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: 1 UID: 0 PID: 6116 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_reconfigure+0x617/0xb20 fs/gfs2/ops_fstype.c:1597 reconfigure_super+0x224/0x890 fs/super.c:1077 do_remount fs/namespace.c:3324 [inline] path_mount+0xd18/0xfe0 fs/namespace.c:4115 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:0x7f138461dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f138399e0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f138474bf80 RCX: 00007f138461dda9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f138466a47a R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000800b0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f138474bf80 R15: 00007ffff807a4d8 gfs2: fsid=syz:syz.0: Corruption found in quota_change0file: duplicate identifier in slot 26671 gfs2: fsid=syz:syz.0: warning: assertion "!qd->qd_change" failed - function = gfs2_qd_dispose, file = fs/gfs2/quota.c, line = 129 CPU: 1 UID: 0 PID: 6116 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_reconfigure+0x617/0xb20 fs/gfs2/ops_fstype.c:1597 reconfigure_super+0x224/0x890 fs/super.c:1077 do_remount fs/namespace.c:3324 [inline] path_mount+0xd18/0xfe0 fs/namespace.c:4115 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:0x7f138461dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f138399e0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f138474bf80 RCX: 00007f138461dda9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f138466a47a R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000800b0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f138474bf80 R15: 00007ffff807a4d8 gfs2: fsid=syz:syz.0: found 1 quota changes