------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.796, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 0 PID: 9186 at kernel/locking/lockdep.c:935 look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:932 Modules linked in: CPU: 0 PID: 9186 Comm: syz-executor.4 Not tainted 6.9.0-rc3-syzkaller-gfec50db7033e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:932 lr : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:932 sp : ffff80009d3a71e0 x29: ffff80009d3a71e0 x28: dfff800000000000 x27: ffff700013a74ec0 x26: ffff8000936a4580 x25: ffff8000936a4000 x24: 0000000000000000 x23: ffff700013a74e78 x22: 0000000000000000 x21: ffff8000937dd1e1 x20: ffff0000efe3b488 x19: ffff800092305ac0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff80008ae6d1bc x15: 0000000000000001 x14: 1fffe000367b9a02 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 000000000001f0e6 x9 : e431f5f9066b4d00 x8 : e431f5f9066b4d00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009d3a6958 x4 : ffff80008ef65000 x3 : ffff8000805e9200 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:932 register_lock_class+0x8c/0x6ac kernel/locking/lockdep.c:1284 __lock_acquire+0x184/0x763c kernel/locking/lockdep.c:5014 lock_acquire+0x248/0x73c kernel/locking/lockdep.c:5754 down_write_nested+0x58/0xcc kernel/locking/rwsem.c:1695 ext4_double_down_write_data_sem+0x3c/0x4c swap_inode_boot_loader fs/ext4/ioctl.c:432 [inline] __ext4_ioctl fs/ext4/ioctl.c:1437 [inline] ext4_ioctl+0x49e8/0x624c fs/ext4/ioctl.c:1627 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:890 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 2363 hardirqs last enabled at (2363): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (2363): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (2362): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2362): [] _raw_spin_lock_irqsave+0x2c/0x7c kernel/locking/spinlock.c:162 softirqs last enabled at (2182): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (2182): [] __do_softirq+0xb10/0xd2c kernel/softirq.c:583 softirqs last disabled at (2159): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---