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: 4142 at kernel/locking/lockdep.c:896 look_up_lock_class+0x134/0x13c Modules linked in: CPU: 1 PID: 4142 Comm: syz-executor704 Not tainted 5.15.153-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 : ffff80001d0a7260 x29: ffff80001d0a7260 x28: dfff800000000000 x27: 0000000000000001 x26: ffff800018403d20 x25: ffff800018403000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff80001852d6a1 x20: ffff0000df163e48 x19: ffff800017052180 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082eb264 x15: 000000000000000b x14: 1ffff0000292206a x13: ffff80001d0a7420 x12: dfff800000000000 x11: ffff8000082ee7b4 x10: ffff80001491034c x9 : ffff8000171cad00 x8 : ffff80001852d6a0 x7 : ffff800008ddb73c 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 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: 4853 hardirqs last enabled at (4853): [] seqcount_lockdep_reader_access+0x208/0x2cc include/linux/seqlock.h:105 hardirqs last disabled at (4852): [] seqcount_lockdep_reader_access+0x74/0x2cc include/linux/seqlock.h:102 softirqs last enabled at (4726): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (4724): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 878d20f9380019a2 ]---