------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.780, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 0 PID: 9201 at kernel/locking/lockdep.c:935 look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:932 Modules linked in: CPU: 0 PID: 9201 Comm: syz-executor.4 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #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:932 lr : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:932 sp : ffff8000979571e0 x29: ffff8000979571e0 x28: dfff800000000000 x27: ffff700012f2aec0 x26: ffff80009341f300 x25: ffff80009341f000 x24: 0000000000000000 x23: ffff700012f2ae78 x22: 0000000000000000 x21: ffff800093555d81 x20: ffff000197c1e688 x19: ffff80009209f310 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80008ad6b09c x15: 0000000000000001 x14: 1fffe00036800002 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 0000000000002081 x9 : bffcaf6dfd2d7e00 x8 : bffcaf6dfd2d7e00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800097956ad8 x4 : ffff80008ed822c0 x3 : ffff8000805ba130 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+0x23c/0x71c 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+0x49b4/0x621c fs/ext4/ioctl.c:1627 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:857 __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: 249 hardirqs last enabled at (249): [] bh_lru_install fs/buffer.c:1348 [inline] hardirqs last enabled at (249): [] __find_get_block+0x974/0xdc4 fs/buffer.c:1403 hardirqs last disabled at (248): [] bh_lru_install fs/buffer.c:1325 [inline] hardirqs last disabled at (248): [] __find_get_block+0x49c/0xdc4 fs/buffer.c:1403 softirqs last enabled at (204): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (202): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---