------------[ 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: 1 PID: 4469 at kernel/locking/lockdep.c:941 look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 Modules linked in: CPU: 1 PID: 4469 Comm: syz-executor242 Not tainted 6.1.34-syzkaller #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 : ffff80001df97200 x29: ffff80001df97200 x28: dfff800000000000 x27: ffff800008ea1048 x26: ffff8000195e37e0 x25: ffff8000195e3000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff800019778441 x20: ffff0000e2188c90 x19: ffff800018230d00 x18: 1ffff00003bf2e80 x17: 0000000000000000 x16: ffff8000121062b4 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: ff808000081af018 x10: 0000000000000000 x9 : 11d9c5592620d600 x8 : 11d9c5592620d600 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001df96af8 x4 : ffff8000156a2a40 x3 : ffff8000085879f4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 register_lock_class+0x90/0x6a8 kernel/locking/lockdep.c:1290 __lock_acquire+0x184/0x764c kernel/locking/lockdep.c:4935 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5669 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:1421 [inline] ext4_ioctl+0x4e4c/0x6ad0 fs/ext4/ioctl.c:1611 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:581 irq event stamp: 629 hardirqs last enabled at (629): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242 hardirqs last disabled at (628): [] kasan_quarantine_put+0x9c/0x204 mm/kasan/quarantine.c:215 softirqs last enabled at (484): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (482): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- loop0: detected capacity change from 0 to 512