------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.781, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 0 PID: 6289 at kernel/locking/lockdep.c:935 look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:932 Modules linked in: CPU: 0 PID: 6289 Comm: syz-executor675 Not tainted 6.6.0-rc7-syzkaller-g8de1e7afcc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 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 : ffff800096e571e0 x29: ffff800096e571e0 x28: dfff800000000000 x27: ffff700012dcaec0 x26: ffff8000927fa760 x25: ffff8000927fa000 x24: 0000000000000000 x23: ffff700012dcae78 x22: 0000000000000000 x21: ffff80009292e7e1 x20: ffff0000dcbe1688 x19: ffff80009142ed80 x18: 1ffff00012dcae84 x17: 0000000000000000 x16: ffff80008a71b23c x15: 0000000000000001 x14: 1fffe0003682f032 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : 0035b66dfa3a3c00 x8 : 0035b66dfa3a3c00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800096e56ad8 x4 : ffff80008e4210a0 x3 : ffff8000805a359c 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/0x75e8 kernel/locking/lockdep.c:5013 lock_acquire+0x23c/0x71c kernel/locking/lockdep.c:5753 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:1428 [inline] ext4_ioctl+0x49b4/0x6220 fs/ext4/ioctl.c:1618 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:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 irq event stamp: 707 hardirqs last enabled at (707): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:240 hardirqs last disabled at (706): [] kasan_quarantine_put+0x38/0x1c8 mm/kasan/quarantine.c:213 softirqs last enabled at (660): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (660): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:582 softirqs last disabled at (655): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- loop0: detected capacity change from 0 to 2048