------------[ 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: 0 PID: 14396 at kernel/locking/lockdep.c:936 look_up_lock_class+0x140/0x150 kernel/locking/lockdep.c:936 Modules linked in: CPU: 0 UID: 0 PID: 14396 Comm: syz.3.3101 Not tainted 6.12.0-syzkaller-00239-gc6d64479d609 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:look_up_lock_class+0x140/0x150 kernel/locking/lockdep.c:936 Code: c7 c7 a0 d0 6c 8b e8 0f 2e 2c f6 90 0f 0b 90 90 90 31 db eb be c6 05 d4 26 26 05 01 90 48 c7 c7 80 d3 6c 8b e8 f1 2d 2c f6 90 <0f> 0b 90 90 e9 58 ff ff ff 0f 1f 80 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc9000be8f658 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffffffff96edad30 RCX: ffffc9000c511000 RDX: 0000000000040000 RSI: ffffffff814e6e86 RDI: 0000000000000001 RBP: ffffffff9a8f93c1 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 20676e696b6f6f4c R12: ffff88805b97dbb0 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff9a82a820 FS: 00007f975f2dc6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f95b509a000 CR3: 0000000055614000 CR4: 0000000000350ef0 Call Trace: register_lock_class+0xb1/0x1240 kernel/locking/lockdep.c:1290 __lock_acquire+0x135/0x3ce0 kernel/locking/lockdep.c:5077 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 down_write_nested+0x97/0x210 kernel/locking/rwsem.c:1693 ext4_double_down_write_data_sem fs/ext4/move_extent.c:51 [inline] ext4_double_down_write_data_sem fs/ext4/move_extent.c:47 [inline] ext4_move_extents+0x3e1/0x3940 fs/ext4/move_extent.c:621 __ext4_ioctl+0x32df/0x4620 fs/ext4/ioctl.c:1365 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f975e57e759 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:00007f975f2dc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f975e735f80 RCX: 00007f975e57e759 RDX: 0000000020000080 RSI: 00000000c028660f RDI: 0000000000000005 RBP: 00007f975e5f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f975e735f80 R15: 00007fff23deb3e8