------------[ 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: 5294 at kernel/locking/lockdep.c:932 look_up_lock_class+0x133/0x140 kernel/locking/lockdep.c:932 Modules linked in: CPU: 0 PID: 5294 Comm: syz-executor180 Not tainted 6.9.0-rc6-syzkaller-00234-g7367539ad4b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:look_up_lock_class+0x133/0x140 kernel/locking/lockdep.c:932 Code: c7 c7 20 be 2c 8b e8 4c e7 74 f6 90 0f 0b 90 90 90 31 db eb be c6 05 d1 33 cd 04 01 90 48 c7 c7 40 c1 2c 8b e8 2e e7 74 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:ffffc900042b7638 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffffffff94049ac8 RCX: ffffffff81517339 RDX: ffff888025a1bc00 RSI: ffffffff81517346 RDI: 0000000000000001 RBP: ffffffff949a36a1 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 20676e696b6f6f4c R12: ffff8880795b7088 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff948d7aa0 FS: 000055558d994480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f677b5c400a CR3: 000000007e1d6000 CR4: 0000000000350ef0 Call Trace: register_lock_class+0xb1/0x1230 kernel/locking/lockdep.c:1284 __lock_acquire+0x111/0x3b30 kernel/locking/lockdep.c:5014 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 down_write_nested+0x3d/0x50 kernel/locking/rwsem.c:1695 ext4_double_down_write_data_sem fs/ext4/move_extent.c:58 [inline] ext4_move_extents+0x9d8/0x3590 fs/ext4/move_extent.c:613 __ext4_ioctl+0x3ae4/0x4570 fs/ext4/ioctl.c:1371 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __x64_sys_ioctl+0x196/0x220 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f677b57aaa9 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:00007ffdb3b57fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f677b57aaa9 RDX: 0000000020000080 RSI: 00000000c028660f RDI: 0000000000000005 RBP: 0000000000000000 R08: 00007ffdb3b5801c R09: 00007ffdb3b5801c R10: 00007ffdb3b5801c R11: 0000000000000246 R12: 00007ffdb3b5801c R13: 0000000000000040 R14: 431bde82d7b634db R15: 00007ffdb3b58050