loop0: detected capacity change from 0 to 512 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4240 at kernel/locking/lockdep.c:896 look_up_lock_class+0x134/0x13c Modules linked in: CPU: 1 PID: 4240 Comm: syz-executor172 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 204000c5 (nzCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0x134/0x13c lr : look_up_lock_class+0x74/0x13c sp : ffff8000202f72e0 x29: ffff8000202f72e0 x28: dfff800000000000 x27: 0000000000000001 x26: ffff80001b724d20 x25: ffff80001b724000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff80001b84e661 x20: ffff0000e186b450 x19: ffff800017250180 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082eca78 x15: 000000000000000b x14: 1ffff0000295806a x13: ffff8000202f74a0 x12: dfff800000000000 x11: ffff8000082effc8 x10: ffff800014ac034c x9 : ffff8000173c8d00 x8 : ffff80001b84e660 x7 : ffff800008debda8 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+0xc0/0x130 kernel/locking/rwsem.c:1667 ext4_double_down_write_data_sem+0x3c/0x4c swap_inode_boot_loader fs/ext4/ioctl.c:176 [inline] __ext4_ioctl fs/ext4/ioctl.c:1056 [inline] ext4_ioctl+0x4224/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: 3753 hardirqs last enabled at (3753): [] seqcount_lockdep_reader_access+0x208/0x2cc include/linux/seqlock.h:105 hardirqs last disabled at (3752): [] seqcount_lockdep_reader_access+0x74/0x2cc include/linux/seqlock.h:102 softirqs last enabled at (3220): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (3218): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 970c37457eb25254 ]---