------------[ 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: 12321 at kernel/locking/lockdep.c:932 look_up_lock_class+0x16c/0x178 kernel/locking/lockdep.c:932 Modules linked in: CPU: 1 PID: 12321 Comm: syz-executor.0 Tainted: G W 6.10.0-rc1-syzkaller-00267-gcc8ed4d0a848 #0 Hardware name: linux,dummy-virt (DT) pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0x16c/0x178 kernel/locking/lockdep.c:932 lr : look_up_lock_class+0x16c/0x178 kernel/locking/lockdep.c:932 sp : ffff80008d7675b0 x29: ffff80008d7675b0 x28: ffff0000136f9e00 x27: 0000000000000001 x26: ffff80008946d000 x25: 1ffff00011aeced6 x24: ffff80008946d6c0 x23: 0000000000000000 x22: 0000000000000000 x21: ffff000016f8f088 x20: ffff80008953bb01 x19: ffff800088c32398 x18: ffff0000136fa880 x17: 20646e756f662074 x16: 7562202c302e7965 x15: 6b5f5f2079656b20 x14: 6874697720226d65 x13: 205d313233323154 x12: ffff60000d4cf403 x11: 1fffe0000d4cf402 x10: ffff60000d4cf402 x9 : dfff800000000000 x8 : ffff00006a67a013 x7 : 0000000000000001 x6 : ffff60000d4cf402 x5 : ffff00006a67a010 x4 : 1fffe000026df3c1 x3 : dfff800000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000136f9e00 Call trace: look_up_lock_class+0x16c/0x178 kernel/locking/lockdep.c:932 register_lock_class+0xc4/0xe24 kernel/locking/lockdep.c:1284 __lock_acquire+0xfc/0x6440 kernel/locking/lockdep.c:5014 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x4a8/0x7f0 kernel/locking/lockdep.c:5719 down_write_nested+0xb4/0x1a8 kernel/locking/rwsem.c:1695 ext4_double_down_write_data_sem+0x58/0x68 fs/ext4/move_extent.c:58 swap_inode_boot_loader fs/ext4/ioctl.c:432 [inline] __ext4_ioctl+0x16ac/0x3f28 fs/ext4/ioctl.c:1436 ext4_ioctl+0x10/0x1c 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+0x124/0x190 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x6c/0x25c arch/arm64/kernel/syscall.c:48 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:133 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x50/0x180 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 11161 hardirqs last enabled at (11161): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (11161): [] _raw_spin_unlock_irqrestore+0x80/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (11160): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (11160): [] _raw_spin_lock_irqsave+0x7c/0x80 kernel/locking/spinlock.c:162 softirqs last enabled at (11150): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (11150): [] handle_softirqs+0x8a8/0xd80 kernel/softirq.c:582 softirqs last disabled at (11125): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---