------------[ cut here ]------------ WARNING: CPU: 0 PID: 6275 at kernel/rcu/srcutree.c:664 cleanup_srcu_struct+0x3c0/0x474 kernel/rcu/srcutree.c:681 Modules linked in: CPU: 0 PID: 6275 Comm: syz-executor.4 Not tainted 6.9.0-rc7-syzkaller-gfda5695d692c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : cleanup_srcu_struct+0x3c0/0x474 kernel/rcu/srcutree.c:681 lr : cleanup_srcu_struct+0x234/0x474 kernel/rcu/srcutree.c:660 sp : ffff80009b1279c0 x29: ffff80009b127a00 x28: ffff80008e841000 x27: dfff800000000000 x26: 0000000000000008 x25: ffff0000f0317000 x24: ffff80008eeb1218 x23: ffff0000e5a84248 x22: ffff0000f0317180 x21: dfff800000000000 x20: 1fffe0001e062e30 x19: 0000000000000008 x18: 1fffe000367b8996 x17: ffff80008eead000 x16: ffff80008ae89f60 x15: 0000000000000001 x14: 1fffffbff7ef5a3c x13: 0000000000000000 x12: 0000000000000000 x11: ffff7fbff7ef5a3d x10: 0000000000ff0100 x9 : fffffffffffffffc x8 : 0000000000000005 x7 : ffff800080253444 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800080242024 x2 : 0000000000000000 x1 : 0000000000000080 x0 : 0000000000000000 Call trace: cleanup_srcu_struct+0x3c0/0x474 kernel/rcu/srcutree.c:681 bch2_fs_btree_iter_exit+0x3dc/0x484 fs/bcachefs/btree_iter.c:3279 __bch2_fs_free fs/bcachefs/super.c:562 [inline] bch2_fs_release+0x1dc/0x56c fs/bcachefs/super.c:610 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x2a8/0x41c lib/kobject.c:737 bch2_fs_free+0x288/0x2f0 fs/bcachefs/super.c:675 bch2_kill_sb+0x48/0x58 fs/bcachefs/fs.c:2013 deactivate_locked_super+0xc4/0x12c fs/super.c:472 deactivate_super+0xe0/0x100 fs/super.c:505 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 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+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 4345830 hardirqs last enabled at (4345829): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (4345829): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (4345830): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (4345584): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (4345584): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (4345569): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- rcu: cleanup_srcu_struct: Active srcu_struct 00000000062f582e read state: 1 gp state: 5/8