loop6: detected capacity change from 0 to 32768 ------------[ cut here ]------------ Looking for class ">lock" with key init_kmem_cache_cpus.__key, but found a different class "&c->lock" with the same key WARNING: CPU: 1 PID: 6182 at kernel/locking/lockdep.c:935 look_up_lock_class+0xdc/0x160 kernel/locking/lockdep.c:932 Modules linked in: CPU: 1 PID: 6182 Comm: syz.6.184 Not tainted 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:look_up_lock_class+0xdc/0x160 kernel/locking/lockdep.c:932 Code: 01 0f 85 80 00 00 00 c6 05 cf cf 28 01 01 90 49 8b 16 49 8b 76 18 48 8b 8b c0 00 00 00 48 c7 c7 7c d5 81 83 e8 c5 6b 46 fe 90 <0f> 0b 90 90 eb 57 90 e8 68 fb e8 fe 48 c7 c7 22 d5 81 83 89 de e8 RSP: 0018:ffffc9000106b570 EFLAGS: 00010046 RAX: c4a735b809711d00 RBX: ffffffff857383e0 RCX: 0000000000000003 RDX: 0000000000000000 RSI: ffffffff83a15920 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff83cccf10 R10: 00000000ffffffff R11: 00000000ffffdfff R12: 0000000000000001 R13: 0000000000000000 R14: ffffe8ffffd19cd0 R15: ffffffff8bdc0cc0 FS: 00007f5731a036c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5730b69160 CR3: 000000015b5f6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x51/0x310 kernel/locking/lockdep.c:1284 __lock_acquire+0x81/0x2bc0 kernel/locking/lockdep.c:5014 lock_acquire+0xe8/0x2a0 kernel/locking/lockdep.c:5754 local_lock_acquire+0x20/0x80 include/linux/local_lock_internal.h:29 ___slab_alloc+0xdb2/0x10e0 mm/slub.c:3281 __slab_alloc mm/slub.c:3322 [inline] __slab_alloc_node mm/slub.c:3375 [inline] slab_alloc_node mm/slub.c:3468 [inline] slab_alloc mm/slub.c:3486 [inline] __kmem_cache_alloc_lru mm/slub.c:3493 [inline] kmem_cache_alloc+0x1d6/0x280 mm/slub.c:3502 mempool_init_node+0x9e/0xf0 mm/mempool.c:207 mempool_init+0x11/0x20 mm/mempool.c:236 mempool_init_slab_pool include/linux/mempool.h:67 [inline] bioset_init+0x13e/0x2f0 block/bio.c:1752 bch2_fs_fsio_init+0x1c/0x30 fs/bcachefs/fs-io.c:1071 bch2_fs_alloc+0xdb8/0xea0 fs/bcachefs/super.c:916 bch2_fs_open+0x2cf/0x7a0 fs/bcachefs/super.c:1968 bch2_mount+0x26c/0x5b0 fs/bcachefs/fs.c:1831 legacy_get_tree+0x2d/0x60 fs/fs_context.c:662 vfs_get_tree+0x2a/0xf0 fs/super.c:1771 do_new_mount+0x153/0x3a0 fs/namespace.c:3337 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount+0x177/0x1e0 fs/namespace.c:3863 do_syscall_64+0x4d/0x120 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f5730b874ca Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5731a02e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5731a02ef0 RCX: 00007f5730b874ca RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007f5731a02eb0 RBP: 00000000200000c0 R08: 00007f5731a02ef0 R09: 0000000000808040 R10: 0000000000808040 R11: 0000000000000246 R12: 0000000020000000 R13: 00007f5731a02eb0 R14: 0000000000005911 R15: 0000000020000200