------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.799, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 1 PID: 5295 at kernel/locking/lockdep.c:935 look_up_lock_class+0xdc/0x160 kernel/locking/lockdep.c:932 Modules linked in: CPU: 1 PID: 5295 Comm: syz-executor116 Not tainted 6.9.0-rc7-next-20240510-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:look_up_lock_class+0xdc/0x160 kernel/locking/lockdep.c:932 Code: 01 0f 85 80 00 00 00 c6 05 23 29 0d 04 01 90 49 8b 16 49 8b 76 18 48 8b 8b b8 00 00 00 48 c7 c7 a0 d5 ca 8b e8 d5 c0 cd f5 90 <0f> 0b 90 90 eb 57 90 e8 58 e4 21 f9 48 c7 c7 e0 d4 ca 8b 89 de e8 RSP: 0018:ffffc900038bf570 EFLAGS: 00010046 RAX: 977bd1eba6afc600 RBX: ffffffff92ce8f20 RCX: ffff88807f4f8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900038bf680 R08: ffffffff815847d2 R09: 1ffff110172a519a R10: dffffc0000000000 R11: ffffed10172a519b R12: ffff888078370c88 R13: ffff888078370c88 R14: ffff888078370c88 R15: ffffffff948db421 FS: 0000555565e3c480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9f6833e0f8 CR3: 000000001fe1e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x102/0x980 kernel/locking/lockdep.c:1284 __lock_acquire+0xda/0x1fd0 kernel/locking/lockdep.c:5014 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 down_write_nested+0x3d/0x50 kernel/locking/rwsem.c:1695 swap_inode_boot_loader fs/ext4/ioctl.c:432 [inline] __ext4_ioctl fs/ext4/ioctl.c:1436 [inline] ext4_ioctl+0x412c/0x55a0 fs/ext4/ioctl.c:1626 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9f682c68e9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd5f6b2488 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f9f682c68e9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007ffd5f6b24bc R09: 00007ffd5f6b24bc R10: 00007ffd5f6b24bc R11: 0000000000000246 R12: 00007ffd5f6b24bc R13: 000000000000003e R14: 431bde82d7b634db R15: 00007ffd5f6b24f0