------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key __key.0, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 1 PID: 27965 at kernel/locking/lockdep.c:932 look_up_lock_class+0x133/0x140 kernel/locking/lockdep.c:932 Modules linked in: CPU: 1 PID: 27965 Comm: syz-executor.0 Not tainted 6.8.0-rc7-syzkaller-00229-g10d48d70e82d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:look_up_lock_class+0x133/0x140 kernel/locking/lockdep.c:932 Code: c7 c7 a0 b2 0c 8b e8 0c 45 8b f6 90 0f 0b 90 90 90 31 db eb be c6 05 fc fb c2 04 01 90 48 c7 c7 c0 b5 0c 8b e8 ee 44 8b f6 90 <0f> 0b 90 90 e9 62 ff ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000384f8b8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffffffff93db2128 RCX: ffffc90004f51000 RDX: 0000000000040000 RSI: ffffffff814f7586 RDI: 0000000000000001 RBP: ffffffff946f2fe1 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88807aeb2088 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff9462b720 FS: 00007f810a3d86c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002015e000 CR3: 000000001929e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0xb1/0x1230 kernel/locking/lockdep.c:1284 __lock_acquire+0x112/0x3b40 kernel/locking/lockdep.c:5014 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719 down_write_nested+0x3d/0x50 kernel/locking/rwsem.c:1695 ext4_double_down_write_data_sem+0x67/0x80 fs/ext4/move_extent.c:58 swap_inode_boot_loader fs/ext4/ioctl.c:432 [inline] __ext4_ioctl+0x163e/0x4570 fs/ext4/ioctl.c:1437 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd5/0x270 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f810967dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f810a3d80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f81097ac050 RCX: 00007f810967dda9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000006 RBP: 00007f81096ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f81097ac050 R15: 00007ffff1ced258