------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.775, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 1 PID: 6234 at kernel/locking/lockdep.c:941 look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 Modules linked in: CPU: 1 PID: 6234 Comm: syz-executor183 Not tainted 6.4.0-rc5-syzkaller-g177239177378 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 lr : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 sp : ffff8000971a71e0 x29: ffff8000971a71e0 x28: dfff800000000000 x27: ffff800080edb4a4 x26: ffff80009222c6e0 x25: ffff80009222c000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff8000923bfc21 x20: ffff0000e0bbe688 x19: ffff800090e7a200 x18: 1ffff00012e34e80 x17: 0000000000000000 x16: ffff80008a43bfbc x15: 0000000000000002 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 568da6b79317a100 x8 : 568da6b79317a100 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000971a6ad8 x4 : ffff80008df9ee80 x3 : ffff8000805974f4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 register_lock_class+0x8c/0x6a4 kernel/locking/lockdep.c:1290 __lock_acquire+0x184/0x7604 kernel/locking/lockdep.c:4965 lock_acquire+0x23c/0x71c kernel/locking/lockdep.c:5705 down_write_nested+0x58/0xcc kernel/locking/rwsem.c:1689 ext4_double_down_write_data_sem+0x3c/0x4c swap_inode_boot_loader fs/ext4/ioctl.c:423 [inline] __ext4_ioctl fs/ext4/ioctl.c:1418 [inline] ext4_ioctl+0x4de8/0x6910 fs/ext4/ioctl.c:1608 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/0x244 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 1179 hardirqs last enabled at (1179): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:240 hardirqs last disabled at (1178): [] kasan_quarantine_put+0x38/0x1c8 mm/kasan/quarantine.c:213 softirqs last enabled at (1018): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1016): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- loop0: detected capacity change from 0 to 512