loop0: detected capacity change from 0 to 512 EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue. Quota mode: writeback. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4158 at kernel/locking/lockdep.c:896 look_up_lock_class+0x134/0x13c Modules linked in: CPU: 1 PID: 4158 Comm: syz-executor169 Not tainted 5.15.155-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 : ffff80001cfa72e0 x29: ffff80001cfa72e0 x28: dfff800000000000 x27: 0000000000000001 x26: ffff800018440d20 x25: ffff800018440000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff80001856a6a1 x20: ffff0000dc1ff020 x19: ffff80001708ea00 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082ecb00 x15: 000000000000000b x14: 1ffff0000292806a x13: ffff80001cfa74a0 x12: dfff800000000000 x11: ffff8000082f0050 x10: ffff80001494034c x9 : ffff800017207d00 x8 : ffff80001856a6a0 x7 : ffff800008de2164 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: 4621 hardirqs last enabled at (4621): [] seqcount_lockdep_reader_access+0x208/0x2cc include/linux/seqlock.h:105 hardirqs last disabled at (4620): [] seqcount_lockdep_reader_access+0x74/0x2cc include/linux/seqlock.h:102 softirqs last enabled at (4496): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (4494): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 636a38e14bd4eb6a ]---