------------[ 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: 0 PID: 7421 at kernel/locking/lockdep.c:939 look_up_lock_class+0xec/0x160 kernel/locking/lockdep.c:936 Modules linked in: CPU: 0 UID: 0 PID: 7421 Comm: syz.5.217 Not tainted 6.12.0-rc6-syzkaller-g563047e691f2 #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 : ffff8000a3de71e0 x29: ffff8000a3de71e0 x28: dfff800000000000 x27: 0000000000000000 x26: ffff8000973358c0 x25: ffff800097335000 x24: 0000000000000000 x23: 0000000000000000 x22: 1ffff00011f020ba x21: ffff80009746b5e1 x20: ffff0000ee80dbb0 x19: ffff800092e97dc8 x18: 0000000000000008 x17: 0000000000000000 x16: ffff8000830cb670 x15: 0000000000000001 x14: 1fffe000366c6ce2 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 00000000000020b2 x9 : 02bfb4c1e4f8cb00 x8 : 02bfb4c1e4f8cb00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a3de6918 x4 : ffff80008f8fd0c0 x3 : ffff80008062728c 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 swap_inode_boot_loader fs/ext4/ioctl.c:432 [inline] __ext4_ioctl fs/ext4/ioctl.c:1436 [inline] ext4_ioctl+0x49f0/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: 4975 hardirqs last enabled at (4975): [] seqcount_lockdep_reader_access+0x80/0x104 include/linux/seqlock.h:74 hardirqs last disabled at (4974): [] seqcount_lockdep_reader_access+0x3c/0x104 include/linux/seqlock.h:71 softirqs last enabled at (4924): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (4922): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---