------------[ 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: 1 PID: 6875 at kernel/locking/lockdep.c:941 look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:938 Modules linked in: CPU: 1 PID: 6875 Comm: syz-executor.0 Not tainted 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:938 Code: 8b 16 48 c7 c0 60 81 f2 8e 48 39 c2 74 46 f6 05 5c b5 82 03 01 75 3d c6 05 53 b5 82 03 01 48 c7 c7 20 a1 ea 89 e8 5e 53 a1 f7 <0f> 0b eb 26 e8 25 d4 1f fa 48 c7 c7 60 a0 ea 89 89 de e8 b7 fc fd RSP: 0018:ffffc90006d47590 EFLAGS: 00010046 RAX: b8055bb1d7c18600 RBX: ffffffff8edca8e0 RCX: 0000000000000002 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffc90006d47698 R08: dffffc0000000000 R09: ffffed10173a5163 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 1ffff92000da8ec0 R14: ffff88807723b488 R15: ffffffff909eb601 FS: 00007f0467e5f700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04671a80c0 CR3: 000000001d622000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x104/0x990 kernel/locking/lockdep.c:1290 __lock_acquire+0xd3/0x2070 kernel/locking/lockdep.c:4965 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5705 down_write_nested+0x3d/0x50 kernel/locking/rwsem.c:1689 swap_inode_boot_loader fs/ext4/ioctl.c:423 [inline] __ext4_ioctl fs/ext4/ioctl.c:1418 [inline] ext4_ioctl+0xe1b/0x4d70 fs/ext4/ioctl.c:1608 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xa7/0xf0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f046708c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0467e5f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f04671abf80 RCX: 00007f046708c169 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000003 RBP: 00007f04670e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffebef8851f R14: 00007f0467e5f300 R15: 0000000000022000