loop1: detected capacity change from 0 to 512 ------------[ 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: 6852 at kernel/locking/lockdep.c:939 look_up_lock_class+0xdc/0x170 kernel/locking/lockdep.c:936 Modules linked in: CPU: 1 UID: 0 PID: 6852 Comm: syz.1.195 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:look_up_lock_class+0xdc/0x170 kernel/locking/lockdep.c:936 Code: 01 0f 85 8a 00 00 00 c6 05 fb f1 46 04 01 90 49 8b 16 49 8b 76 18 48 8b 8b b8 00 00 00 48 c7 c7 c0 eb 0a 8c e8 75 22 97 f5 90 <0f> 0b 90 90 eb 61 90 e8 08 8d f2 f8 e8 d3 61 b6 f5 48 c7 c7 00 eb RSP: 0018:ffffc90002e4f350 EFLAGS: 00010046 RAX: 917e0d2b1b2d3d00 RBX: ffffffff93c119e8 RCX: 0000000000040000 RDX: ffffc9000c2a1000 RSI: 0000000000009829 RDI: 000000000000982a RBP: ffffc90002e4f460 R08: ffffffff8155d222 R09: 1ffff110170e519a R10: dffffc0000000000 R11: ffffed10170e519b R12: ffffe8ffffd5f320 R13: ffffe8ffffd5f320 R14: ffffe8ffffd5f320 R15: ffffffff9a3fa1f0 FS: 00007f22c2e586c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f22c1f618a0 CR3: 0000000056ca4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x102/0x980 kernel/locking/lockdep.c:1290 __lock_acquire+0xf0/0x2050 kernel/locking/lockdep.c:5077 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 local_lock_acquire+0x20/0x80 include/linux/local_lock_internal.h:29 ___slab_alloc+0x11e2/0x14b0 mm/slub.c:3867 __slab_alloc+0x58/0xa0 mm/slub.c:3908 __slab_alloc_node mm/slub.c:3961 [inline] slab_alloc_node mm/slub.c:4122 [inline] kmem_cache_alloc_noprof+0x1c1/0x2a0 mm/slub.c:4141 ext4_mb_add_groupinfo+0x6c3/0xfa0 fs/ext4/mballoc.c:3356 ext4_mb_init_backend fs/ext4/mballoc.c:3435 [inline] ext4_mb_init+0x15ab/0x27e0 fs/ext4/mballoc.c:3733 __ext4_fill_super fs/ext4/super.c:5512 [inline] ext4_fill_super+0x5f4c/0x6e60 fs/ext4/super.c:5686 get_tree_bdev_flags+0x48c/0x5c0 fs/super.c:1636 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f22c1f7feba 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:00007f22c2e57e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f22c2e57ef0 RCX: 00007f22c1f7feba RDX: 00000000200004c0 RSI: 0000000020000500 RDI: 00007f22c2e57eb0 RBP: 00000000200004c0 R08: 00007f22c2e57ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000500 R13: 00007f22c2e57eb0 R14: 00000000000004f7 R15: 0000000020001080