bcachefs (loop0): mounting version 1.7: (unknown version) opts=compression=lz4,prjquota,nodiscard,norecovery,nojournal_transaction_names bcachefs (loop0): recovering from clean shutdown, journal seq 7 bcachefs (loop0): alloc_read... done bcachefs (loop0): stripes_read... done bcachefs (loop0): snapshots_read... done bcachefs (loop0): reading quotas ============================= WARNING: suspicious RCU usage 6.6.0-rc1-syzkaller #0 Not tainted ----------------------------- fs/bcachefs/snapshot.h:41 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 4 locks held by syz-executor.0/2362: #0: ffff888108700268 (&c->state_lock){+.+.}-{3:3}, at: bch2_fs_start+0x42/0x300 fs/bcachefs/super.c:935 #1: ffff888108703fe0 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x0/0x30 include/linux/rcupdate.h:308 #2: ffff8881013b7c70 (&dev->mutex){....}-{3:3}, at: six_trylock_type+0x0/0x10 fs/bcachefs/six.h:296 #3: ffff8881013b4070 (&dev->mutex){....}-{3:3}, at: six_trylock_type+0x0/0x10 fs/bcachefs/six.h:296 stack backtrace: CPU: 1 PID: 2362 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x8d/0xe0 lib/dump_stack.c:106 lockdep_rcu_suspicious+0x15d/0x1b0 kernel/locking/lockdep.c:6711 snapshot_t fs/bcachefs/snapshot.h:41 [inline] bch2_fs_quota_read_inode fs/bcachefs/quota.c:566 [inline] bch2_fs_quota_read+0x5fb/0x850 fs/bcachefs/quota.c:622 bch2_fs_recovery+0xef4/0x1310 fs/bcachefs/recovery.c:846 bch2_fs_start+0x200/0x300 fs/bcachefs/super.c:961 bch2_fs_open+0xf66/0x15a0 fs/bcachefs/super.c:1948 bch2_mount+0x273/0x5b0 fs/bcachefs/fs.c:1829 legacy_get_tree+0x2d/0x60 fs/fs_context.c:638 vfs_get_tree+0x24/0xb0 fs/super.c:1750 do_new_mount+0x153/0x390 fs/namespace.c:3335 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x177/0x1e0 fs/namespace.c:3861 do_syscall_64+0x46/0xc0 entry_SYSCALL_64_after_hwframe+0x6f/0xd9 RIP: 0033:0x7fa2ae07f3aa 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:00007fa2aedd0ef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa2aedd0f80 RCX: 00007fa2ae07f3aa RDX: 0000000020005d80 RSI: 0000000020005dc0 RDI: 00007fa2aedd0f40 RBP: 0000000020005d80 R08: 00007fa2aedd0f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020005dc0 R13: 00007fa2aedd0f40 R14: 0000000000005d5e R15: 0000000020005e00 bcachefs (loop0): bch2_fs_quota_read_inode: snapshot tree 0 not found bcachefs (loop0): inconsistency detected - emergency read only bcachefs (loop0): bch2_fs_quota_read(): error ENOENT_snapshot_tree bcachefs (loop0): bch2_fs_recovery(): error ENOENT_snapshot_tree bcachefs (loop0): bch2_fs_start(): error starting filesystem ENOENT_snapshot_tree bcachefs (loop0): shutting down bcachefs (loop0): shutdown complete