------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.797, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 1 PID: 8118 at kernel/locking/lockdep.c:939 look_up_lock_class+0xec/0x160 kernel/locking/lockdep.c:936 Modules linked in: CPU: 1 UID: 0 PID: 8118 Comm: syz.7.321 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0xec/0x160 kernel/locking/lockdep.c:936 lr : look_up_lock_class+0xec/0x160 kernel/locking/lockdep.c:936 sp : ffff80009fa37060 x29: ffff80009fa37060 x28: dfff800000000000 x27: 0000000000000000 x26: ffff8000974058c0 x25: ffff800097405000 x24: 0000000000000000 x23: 0000000000000000 x22: 1ffff00011f1a0bc x21: ffff80009753b5e1 x20: ffff0000e39fb410 x19: ffff800092f4b7e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff8000831615b0 x15: 0000000000000001 x14: 1fffe000366c80e2 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000000179f x9 : 9108a8cbc0c72300 x8 : 9108a8cbc0c72300 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009fa36798 x4 : ffff80008f9bd220 x3 : ffff800080626d8c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: look_up_lock_class+0xec/0x160 kernel/locking/lockdep.c:936 (P) look_up_lock_class+0xec/0x160 kernel/locking/lockdep.c:936 (L) register_lock_class+0x8c/0x6b4 kernel/locking/lockdep.c:1290 __lock_acquire+0x18c/0x77c8 kernel/locking/lockdep.c:5077 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5825 down_write_nested+0x58/0xcc kernel/locking/rwsem.c:1693 ext4_double_down_write_data_sem+0x3c/0x4c ext4_move_extents+0x288/0xa40 fs/ext4/move_extent.c:621 __ext4_ioctl fs/ext4/ioctl.c:1370 [inline] ext4_ioctl+0x3ce0/0x6298 fs/ext4/ioctl.c:1626 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 283 hardirqs last enabled at (283): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (283): [] _raw_spin_unlock_irq+0x30/0x80 kernel/locking/spinlock.c:202 hardirqs last disabled at (282): [] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:117 [inline] hardirqs last disabled at (282): [] _raw_spin_lock_irq+0x28/0x70 kernel/locking/spinlock.c:170 softirqs last enabled at (260): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (258): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---