------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key init_once.__key.799, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 0 PID: 9818 at kernel/locking/lockdep.c:939 look_up_lock_class+0xdc/0x170 kernel/locking/lockdep.c:936 Modules linked in: CPU: 0 UID: 0 PID: 9818 Comm: syz.6.592 Not tainted 6.12.0-rc7-syzkaller-00012-g3022e9d00ebe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:look_up_lock_class+0xdc/0x170 kernel/locking/lockdep.c:936 Code: 01 0f 85 8a 00 00 00 c6 05 58 48 3f 04 01 90 49 8b 16 49 8b 76 18 48 8b 8b b8 00 00 00 48 c7 c7 c0 eb 0a 8c e8 15 53 8e f5 90 <0f> 0b 90 90 eb 61 90 e8 18 6d f2 f8 e8 93 91 ad f5 48 c7 c7 00 eb RSP: 0018:ffffc9000bf4f4f0 EFLAGS: 00010046 RAX: 283fb3d48243c300 RBX: ffffffff93ccec68 RCX: 0000000000040000 RDX: ffffc9001b6dc000 RSI: 000000000000919a RDI: 000000000000919b RBP: ffffc9000bf4f600 R08: ffffffff8155d312 R09: fffffbfff1cf9fd0 R10: dffffc0000000000 R11: fffffbfff1cf9fd0 R12: ffff88805f9fd1c8 R13: ffff88805f9fd1c8 R14: ffff88805f9fd1c8 R15: ffffffff9a5083e1 FS: 00007f3e4b9a56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd85283ff8 CR3: 0000000061b7c000 CR4: 0000000000350ef0 Call Trace: register_lock_class+0x102/0x980 kernel/locking/lockdep.c:1290 __lock_acquire+0xf0/0x2050 kernel/locking/lockdep.c:5077 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 down_write_nested+0xa2/0x220 kernel/locking/rwsem.c:1693 swap_inode_boot_loader fs/ext4/ioctl.c:432 [inline] __ext4_ioctl fs/ext4/ioctl.c:1436 [inline] ext4_ioctl+0x4124/0x5590 fs/ext4/ioctl.c:1626 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3e4ab7e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3e4b9a5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3e4ad36130 RCX: 00007f3e4ab7e719 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000008 RBP: 00007f3e4abf1616 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3e4ad36130 R15: 00007ffccd14d838