------------[ 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: 1 PID: 8601 at kernel/locking/lockdep.c:939 look_up_lock_class+0xec/0x160 kernel/locking/lockdep.c:936 Modules linked in: CPU: 1 UID: 0 PID: 8601 Comm: syz.2.339 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 : ffff80009be771e0 x29: ffff80009be771e0 x28: dfff800000000000 x27: 0000000000000000 x26: ffff8000973358c0 x25: ffff800097335000 x24: 0000000000000000 x23: 0000000000000000 x22: 1ffff00011f020ba x21: ffff80009746b5e1 x20: ffff0000dd07bdf8 x19: ffff800092ea6da0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff80008b3e435c x15: ffff700011f11534 x14: 1ffff00011f11534 x13: 0000000000000004 x12: ffffffffffffffff x11: 0000000000040000 x10: 0000000000001ca9 x9 : 68aaa29f46efe000 x8 : 68aaa29f46efe000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009be76918 x4 : ffff80008f8fd0c0 x3 : ffff800080391e14 x2 : 0000000000000000 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: 6281 hardirqs last enabled at (6281): [] lookup_bh_lru fs/buffer.c:1388 [inline] hardirqs last enabled at (6281): [] __find_get_block+0x3a4/0xd84 fs/buffer.c:1400 hardirqs last disabled at (6280): [] lookup_bh_lru fs/buffer.c:1365 [inline] hardirqs last disabled at (6280): [] __find_get_block+0x64/0xd84 fs/buffer.c:1400 softirqs last enabled at (6250): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (6248): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---