------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 1 PID: 6361 at kernel/locking/lockdep.c:238 hlock_class kernel/locking/lockdep.c:238 [inline] WARNING: CPU: 1 PID: 6361 at kernel/locking/lockdep.c:238 check_wait_context kernel/locking/lockdep.c:4854 [inline] WARNING: CPU: 1 PID: 6361 at kernel/locking/lockdep.c:238 __lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5187 Modules linked in: CPU: 1 UID: 0 PID: 6361 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:hlock_class kernel/locking/lockdep.c:238 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4854 [inline] RIP: 0010:__lock_acquire+0x379/0xd20 kernel/locking/lockdep.c:5187 Code: eb 33 90 e8 19 33 18 03 85 c0 74 22 83 3d 62 68 81 0d 00 75 19 90 48 c7 c7 e3 84 21 8d 48 c7 c6 fa 72 11 8d e8 18 35 e7 ff 90 <0f> 0b 90 90 90 31 c0 48 8b 3c 24 0f b6 98 c4 00 00 00 41 8b 46 20 RSP: 0018:ffffc900042ef8d0 EFLAGS: 00010046 RAX: 2133feebd6238400 RBX: ffffe8ffffc7e698 RCX: ffff888026e45940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000014f2 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1017124863 R12: 0000000000008000 R13: 0000000000000000 R14: ffff888026e46460 R15: ffff888026e46460 FS: 0000555557387500(0000) GS:ffff8881269c1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f17dc68e000 CR3: 0000000032e14000 CR4: 00000000003526f0 Call Trace: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868 __rt_spin_trylock kernel/locking/spinlock_rt.c:109 [inline] rt_spin_trylock+0xea/0x180 kernel/locking/spinlock_rt.c:118 spin_lock_irqsave_sdp_contention kernel/rcu/srcutree.c:375 [inline] srcu_gp_start_if_needed+0x24a/0x10b0 kernel/rcu/srcutree.c:1277 __call_srcu kernel/rcu/srcutree.c:1391 [inline] __synchronize_srcu+0x2fa/0x390 kernel/rcu/srcutree.c:1443 bch2_fs_btree_iter_exit+0x3f9/0x490 fs/bcachefs/btree_iter.c:3750 __bch2_fs_free fs/bcachefs/super.c:617 [inline] bch2_fs_release+0x2ab/0x830 fs/bcachefs/super.c:667 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x22b/0x480 lib/kobject.c:737 deactivate_locked_super+0xb9/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1375 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f35ed437057 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff896d60a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f35ed4b18f4 RCX: 00007f35ed437057 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff896d6160 RBP: 00007fff896d6160 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff896d71e0 R13: 00007f35ed4b18f4 R14: 00007fff896d7220 R15: 0000000000000005