loop0: detected capacity change from 0 to 512 EXT4-fs (loop0): 1 truncate cleaned up ------------[ cut here ]------------ Looking for class "&ei->i_data_sem" with key __key.0, but found a different class "&ei->i_data_sem" with the same key WARNING: CPU: 0 PID: 5193 at kernel/locking/lockdep.c:932 look_up_lock_class+0x127/0x130 kernel/locking/lockdep.c:932 Modules linked in: CPU: 0 PID: 5193 Comm: syz-executor243 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:look_up_lock_class+0x127/0x130 kernel/locking/lockdep.c:932 Code: c7 c7 a0 ad cc 8a e8 88 d5 cd f6 90 0f 0b 90 90 90 31 db eb c2 c6 05 25 76 83 04 01 90 48 c7 c7 c0 b0 cc 8a e8 6a d5 cd f6 90 <0f> 0b 90 90 e9 6a ff ff ff 53 48 39 77 10 48 89 fb 74 51 66 83 7f RSP: 0018:ffffc90003aff648 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffffffff91f6e610 RCX: ffffffff814db519 RDX: ffff888025580000 RSI: ffffffff814db526 RDI: 0000000000000001 RBP: ffffffff928d22a1 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88805ab1a088 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff9280a5e0 FS: 00005555560b4380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8dc3dbf120 CR3: 0000000027110000 CR4: 0000000000350ef0 Call Trace: register_lock_class+0xb1/0x1220 kernel/locking/lockdep.c:1284 __lock_acquire+0x112/0x3b20 kernel/locking/lockdep.c:5014 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719 down_write_nested+0x3d/0x50 kernel/locking/rwsem.c:1695 ext4_double_down_write_data_sem fs/ext4/move_extent.c:55 [inline] ext4_double_down_write_data_sem fs/ext4/move_extent.c:51 [inline] ext4_move_extents+0x403/0x3940 fs/ext4/move_extent.c:613 __ext4_ioctl+0x3ab2/0x4570 fs/ext4/ioctl.c:1371 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f8dc3d47269 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 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:00007ffd760c9d78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f8dc3d47269 RDX: 00000000200000c0 RSI: 00000000c028660f RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007ffd760c9db0 R09: 00007ffd760c9db0 R10: 00007ffd760c9db0 R11: 0000000000000246 R12: 00007ffd760c9d9c R13: 000000000000003d R14: 431bde82d7b634db R15: 00007ffd760c9dd0