------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.782, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 1 PID: 12839 at kernel/locking/lockdep.c:933 look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:930 Modules linked in: CPU: 1 PID: 12839 Comm: syz-executor.2 Not tainted 6.1.77-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:930 Code: 8b 16 48 c7 c0 20 11 35 90 48 39 c2 74 46 f6 05 88 ea d4 03 01 75 3d c6 05 7f ea d4 03 01 48 c7 c7 60 0d ec 8a e8 0e 1e c8 f6 <0f> 0b eb 26 e8 d5 21 aa f9 48 c7 c7 a0 0c ec 8a 89 de e8 a0 f7 fd RSP: 0018:ffffc9000583f5b0 EFLAGS: 00010046 RAX: 5376e2331526c000 RBX: ffffffff902121a0 RCX: 0000000000040000 RDX: ffffc90006b32000 RSI: 000000000000547b RDI: 000000000000547c RBP: ffffc9000583f6b0 R08: ffffffff81527d8e R09: ffffed1017324f1c R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 1ffff92000b07ec4 R14: ffff88804a22a0a0 R15: ffffffff91e16561 FS: 00007fefef8886c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32232000 CR3: 0000000040730000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x100/0x990 kernel/locking/lockdep.c:1282 __lock_acquire+0xd3/0x1f80 kernel/locking/lockdep.c:4928 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 down_write_nested+0x39/0x60 kernel/locking/rwsem.c:1689 swap_inode_boot_loader fs/ext4/ioctl.c:426 [inline] __ext4_ioctl fs/ext4/ioctl.c:1424 [inline] ext4_ioctl+0x460f/0x5f60 fs/ext4/ioctl.c:1614 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fefeea7dda9 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:00007fefef8880c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fefeebac120 RCX: 00007fefeea7dda9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 000000000000000a RBP: 00007fefeeaca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fefeebac120 R15: 00007fff21c2def8