syz.0.427 (8873): drop_caches: 2 syz.0.427 (8873): drop_caches: 2 ------------[ cut here ]------------ Looking for class "%s: %ld partial slabs counted but counter=%ld " with key init_kmem_cache_cpus.__key, but found a different class "&c->lock" with the same key WARNING: CPU: 1 PID: 8873 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: 8873 Comm: syz.0.427 Not tainted 6.13.0-rc3-next-20241220-syzkaller #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 2d e4 12 04 01 90 49 8b 16 49 8b 76 18 48 8b 8b b8 00 00 00 48 c7 c7 20 bb 0a 8c e8 a5 fb 8d f5 90 <0f> 0b 90 90 eb 61 90 e8 a8 5e f0 f8 e8 83 68 ad f5 48 c7 c7 60 ba RSP: 0018:ffffc90004826e70 EFLAGS: 00010046 RAX: ebb71ca223700300 RBX: ffffffff93c51960 RCX: 0000000000080000 RDX: ffffc90013ed3000 RSI: 00000000000120b3 RDI: 00000000000120b4 RBP: ffffc90004826f80 R08: ffffffff817feaa2 R09: fffffbfff1cfa1a8 R10: dffffc0000000000 R11: fffffbfff1cfa1a8 R12: ffffe8ffffd71960 R13: ffffe8ffffd71960 R14: ffffe8ffffd71960 R15: ffffffff9a43a300 FS: 00007fde9356e6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efdb6fd8108 CR3: 000000006ca86000 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+0xf3/0x2100 kernel/locking/lockdep.c:5101 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 local_lock_acquire+0x20/0x80 include/linux/local_lock_internal.h:29 ___slab_alloc+0x119d/0x14a0 mm/slub.c:3875 __slab_alloc+0x58/0xa0 mm/slub.c:3916 __slab_alloc_node mm/slub.c:3991 [inline] slab_alloc_node mm/slub.c:4152 [inline] kmem_cache_alloc_noprof+0x268/0x380 mm/slub.c:4171 f2fs_kmem_cache_alloc fs/f2fs/f2fs.h:2855 [inline] xattr_alloc fs/f2fs/xattr.c:30 [inline] lookup_all_xattrs fs/f2fs/xattr.c:333 [inline] f2fs_getxattr+0x477/0x13b0 fs/f2fs/xattr.c:533 vfs_getxattr_alloc+0x472/0x5c0 fs/xattr.c:393 ima_read_xattr+0x38/0x60 security/integrity/ima/ima_appraise.c:230 process_measurement+0x117a/0x1fb0 security/integrity/ima/ima_main.c:353 ima_file_check+0xd9/0x120 security/integrity/ima/ima_main.c:600 security_file_post_open+0xb9/0x280 security/security.c:3130 do_open fs/namei.c:3830 [inline] path_openat+0x2cbd/0x3580 fs/namei.c:3987 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1427 do_sys_open fs/open.c:1442 [inline] __do_sys_open fs/open.c:1450 [inline] __se_sys_open fs/open.c:1446 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1446 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:0x7fde95f85d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fde9356e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fde96176320 RCX: 00007fde95f85d29 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000000020000140 RBP: 00007fde96001b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fde96176320 R15: 00007ffe73ec8c08