loop0: detected capacity change from 0 to 512 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4178 at kernel/locking/lockdep.c:896 look_up_lock_class+0x134/0x13c Modules linked in: CPU: 1 PID: 4178 Comm: syz-executor170 Not tainted 5.15.149-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 pstate: 204000c5 (nzCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0x134/0x13c lr : look_up_lock_class+0x8c/0x13c sp : ffff80001d1b70c0 x29: ffff80001d1b70c0 x28: dfff800000000000 x27: 0000000000000001 x26: ffff800018416d20 x25: ffff800018416000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff800018540621 x20: ffff0000df193450 x19: ffff800017064d00 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082e9dc8 x15: 0000000020000180 x14: 1ffff0000292406a x13: ffff80001d1b7280 x12: dfff800000000000 x11: ffff8000082ed318 x10: ffff80001492034c x9 : ffff8000171ddd00 x8 : ffff800018540620 x7 : ffff800008ddac90 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000001 Call trace: look_up_lock_class+0x134/0x13c register_lock_class+0x90/0x6a4 kernel/locking/lockdep.c:1245 __lock_acquire+0x184/0x7638 kernel/locking/lockdep.c:4891 lock_acquire+0x240/0x77c kernel/locking/lockdep.c:5623 down_write_nested+0x118/0x26c kernel/locking/rwsem.c:1657 ext4_double_down_write_data_sem+0x3c/0x4c ext4_move_extents+0x2b4/0xb60 fs/ext4/move_extent.c:610 __ext4_ioctl fs/ext4/ioctl.c:990 [inline] ext4_ioctl+0x32f8/0x61bc fs/ext4/ioctl.c:1276 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 4023 hardirqs last enabled at (4023): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (4022): [] kasan_quarantine_put+0x9c/0x204 mm/kasan/quarantine.c:204 softirqs last enabled at (3818): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (3816): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 93e30e4b1956e4bb ]---