------------[ cut here ]------------ Looking for class "CESS_PRIVATE(sdp, lock)" with key init_srcu_struct_data.__key, but found a different class "&ACCESS_PRIVATE(sdp, lock)" with the same key WARNING: CPU: 1 PID: 7317 at kernel/locking/lockdep.c:944 look_up_lock_class+0xf0/0x168 kernel/locking/lockdep.c:941 Modules linked in: CPU: 1 UID: 0 PID: 7317 Comm: syz-executor Not tainted 6.15.0-rc4-syzkaller-00028-ge0f4c8dd9d2d #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0xf0/0x168 kernel/locking/lockdep.c:941 lr : look_up_lock_class+0xf0/0x168 kernel/locking/lockdep.c:941 sp : ffff80009f147520 x29: ffff80009f147520 x28: 0000000000000000 x27: fffffdffbf775a58 x26: ffff800080597c64 x25: 0000000000000001 x24: 0000000000000000 x23: ffff800096f4c000 x22: 0000000000000000 x21: ffff800096f8f700 x20: fffffdffbf775a58 x19: ffff800092b500f8 x18: 1fffe00036711a76 x17: 0000000000000000 x16: ffff80008ada5d6c x15: 0000000000000001 x14: 1fffe00036711ae2 x13: 0000000000000000 x12: 0000000000000000 x11: ffff600036711ae3 x10: 0000000000ff0100 x9 : 2cc387ba4a2cd200 x8 : 2cc387ba4a2cd200 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009f146e78 x4 : ffff80008f3f4fa0 x3 : ffff8000807ab99c x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000000 Call trace: look_up_lock_class+0xf0/0x168 kernel/locking/lockdep.c:941 (P) register_lock_class+0x48/0x348 kernel/locking/lockdep.c:1295 __lock_acquire+0xa8/0x3058 kernel/locking/lockdep.c:5110 lock_acquire+0x14c/0x2e0 kernel/locking/lockdep.c:5866 __raw_spin_trylock include/linux/spinlock_api_smp.h:90 [inline] _raw_spin_trylock+0x58/0xb0 kernel/locking/spinlock.c:138 spin_lock_irqsave_sdp_contention kernel/rcu/srcutree.c:375 [inline] srcu_gp_start_if_needed+0x2c0/0x10d0 kernel/rcu/srcutree.c:1275 __call_srcu kernel/rcu/srcutree.c:1389 [inline] __synchronize_srcu+0x2b8/0x348 kernel/rcu/srcutree.c:1441 synchronize_srcu_expedited+0x24/0x34 kernel/rcu/srcutree.c:1467 bch2_fs_btree_iter_exit+0x378/0x420 fs/bcachefs/btree_iter.c:3610 __bch2_fs_free fs/bcachefs/super.c:555 [inline] bch2_fs_release+0x22c/0x714 fs/bcachefs/super.c:609 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x2b0/0x438 lib/kobject.c:737 bch2_fs_free+0x308/0x378 fs/bcachefs/super.c:672 bch2_kill_sb+0x48/0x58 fs/bcachefs/fs.c:2621 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1435 __cleanup_mnt+0x20/0x30 fs/namespace.c:1442 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x16c/0x1ec arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xb0/0x150 arch/arm64/kernel/entry-common.c:745 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 1470834 hardirqs last enabled at (1470833): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (1470833): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (1470834): [] spin_lock_irqsave_sdp_contention kernel/rcu/srcutree.c:375 [inline] hardirqs last disabled at (1470834): [] srcu_gp_start_if_needed+0x2b0/0x10d0 kernel/rcu/srcutree.c:1275 softirqs last enabled at (1467572): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (1467572): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (1467567): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---