------------[ cut here ]------------ WARNING: CPU: 1 PID: 5991 at kernel/locking/lockdep.c:896 look_up_lock_class+0xa0/0x120 kernel/locking/lockdep.c:895 Modules linked in: CPU: 1 PID: 5991 Comm: syz.3.428 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:look_up_lock_class+0xa0/0x120 kernel/locking/lockdep.c:895 Code: 00 48 85 db 74 4c 4c 39 7b 40 74 05 48 8b 1b eb eb 48 8b 83 b0 00 00 00 49 3b 46 18 74 36 48 c7 c0 c0 1f 2d 90 49 39 06 74 2a <0f> 0b eb 26 e8 77 e1 d1 f9 48 c7 c7 00 4c 8b 8a 89 de e8 d9 d0 fe RSP: 0018:ffffc90002ee7510 EFLAGS: 00010006 RAX: ffffffff902d1fc0 RBX: ffffffff901a7800 RCX: ffff888021cc9dc0 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff888060a15c30 RBP: ffffc90002ee7610 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 1ffff920005dceb0 R14: ffff888060a15c30 R15: ffffffff96990c81 FS: 00007f963814c6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f801ff8 CR3: 0000000065115000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x100/0x9a0 kernel/locking/lockdep.c:1245 __lock_acquire+0xd7/0x1ff0 kernel/locking/lockdep.c:4891 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 down_write_nested+0x3b/0x60 kernel/locking/rwsem.c:1667 ext4_move_extents+0x3a1/0xe80 fs/ext4/move_extent.c:610 __ext4_ioctl fs/ext4/ioctl.c:990 [inline] ext4_ioctl+0x2fcb/0x5b80 fs/ext4/ioctl.c:1276 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f9639d15ff9 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:00007f963814c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9639ece130 RCX: 00007f9639d15ff9 RDX: 0000000020000000 RSI: 00000000c028660f RDI: 0000000000000007 RBP: 00007f9639d88296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9639ece130 R15: 00007ffceb233508