------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.786, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 0 PID: 5597 at kernel/locking/lockdep.c:933 look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:930 Modules linked in: CPU: 0 PID: 5597 Comm: syz.3.345 Not tainted 6.1.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:930 Code: 8b 16 48 c7 c0 20 01 da 90 48 39 c2 74 46 f6 05 4a 77 de 03 01 75 3d c6 05 41 77 de 03 01 48 c7 c7 60 23 0c 8b e8 5e 75 ab f6 <0f> 0b eb 26 e8 15 56 8f f9 48 c7 c7 a0 22 0c 8b 89 de e8 07 f4 fd RSP: 0018:ffffc90011dcf410 EFLAGS: 00010046 RAX: 8b9849ec06b66d00 RBX: ffffffff90c4cf20 RCX: 0000000000040000 RDX: ffffc90004fc9000 RSI: 000000000000622b RDI: 000000000000622c RBP: ffffc90011dcf510 R08: ffffffff8152afae R09: ffffed10171c4f1c R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 1ffff920023b9e90 R14: ffff8880722a2aa8 R15: ffffffff974c3f41 FS: 00007fb9aca626c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fad01737a8c CR3: 000000007c683000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x100/0x990 kernel/locking/lockdep.c:1282 __lock_acquire+0xd3/0x1f80 kernel/locking/lockdep.c:4928 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 down_write_nested+0x39/0x60 kernel/locking/rwsem.c:1689 ext4_move_extents+0x3a0/0xe10 fs/ext4/move_extent.c:615 __ext4_ioctl fs/ext4/ioctl.c:1358 [inline] ext4_ioctl+0x3a8d/0x5f60 fs/ext4/ioctl.c:1614 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb9abb7e719 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:00007fb9aca62038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb9abd35f80 RCX: 00007fb9abb7e719 RDX: 00000000200000c0 RSI: 00000000c028660f RDI: 0000000000000004 RBP: 00007fb9abbf139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb9abd35f80 R15: 00007ffe21048d28