------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.786, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 0 PID: 14978 at kernel/locking/lockdep.c:935 look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:932 Modules linked in: CPU: 0 PID: 14978 Comm: syz-executor.4 Not tainted 6.6.0-rc3-syzkaller-00055-g9ed22ae6be81 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:932 Code: 8b 16 48 c7 c0 80 b2 5b 90 48 39 c2 74 46 f6 05 4b 28 b8 03 01 75 3d c6 05 42 28 b8 03 01 48 c7 c7 c0 c4 0a 8b e8 5e de 86 f6 <0f> 0b eb 26 e8 b5 c3 6d f9 48 c7 c7 00 c4 0a 8b 89 de e8 e7 b8 fd RSP: 0018:ffffc9000b967390 EFLAGS: 00010046 RAX: 14249d91b4849300 RBX: ffffffff9043abb0 RCX: ffff88801fcebb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000b967490 R08: ffffffff81543302 R09: 1ffff1101730516a R10: dffffc0000000000 R11: ffffed101730516b R12: 0000000000000001 R13: 1ffff9200172ce80 R14: ffff888068d94888 R15: ffffffff9201eec1 FS: 00007f5e7b6466c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb889576bf8 CR3: 00000000262ce000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x104/0x990 kernel/locking/lockdep.c:1284 __lock_acquire+0x190/0x7f70 kernel/locking/lockdep.c:5013 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5753 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:1428 [inline] ext4_ioctl+0x40f4/0x5530 fs/ext4/ioctl.c:1618 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xf8/0x170 fs/ioctl.c:857 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:0x7f5e7a87cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5e7b6460c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5e7a99c050 RCX: 00007f5e7a87cae9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007f5e7a8c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5e7a99c050 R15: 00007fff1f404868