------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.777, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 0 PID: 12711 at kernel/locking/lockdep.c:933 look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:930 Modules linked in: CPU: 0 PID: 12711 Comm: syz-executor.1 Not tainted 6.1.83-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:930 lr : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:930 sp : ffff80001e717200 x29: ffff80001e717200 x28: dfff800000000000 x27: ffff800008ea9700 x26: ffff8000198757e0 x25: ffff800019875000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff800019a0a621 x20: ffff0000f604beb8 x19: ffff8000184dad00 x18: ffff80001e717420 x17: 0000000000000000 x16: ffff800012151454 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000040000 x11: 000000000001a73f x10: ffff80001e769000 x9 : 684dd5c980bc9c00 x8 : 684dd5c980bc9c00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e716af8 x4 : ffff800015922ae0 x3 : ffff8000085867c0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:930 register_lock_class+0x90/0x6a8 kernel/locking/lockdep.c:1282 __lock_acquire+0x184/0x7680 kernel/locking/lockdep.c:4928 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662 down_write_nested+0x64/0x94 kernel/locking/rwsem.c:1689 ext4_double_down_write_data_sem+0x3c/0x4c swap_inode_boot_loader fs/ext4/ioctl.c:426 [inline] __ext4_ioctl fs/ext4/ioctl.c:1424 [inline] ext4_ioctl+0x4e78/0x6afc fs/ext4/ioctl.c:1614 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 681 hardirqs last enabled at (681): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (681): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (680): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (680): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (496): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (496): [] __do_softirq+0xc1c/0xe38 kernel/softirq.c:600 softirqs last disabled at (489): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]---