------------[ cut here ]------------ WARNING: CPU: 0 PID: 7242 at kernel/locking/lockdep.c:896 look_up_lock_class+0x134/0x13c Modules linked in: CPU: 0 PID: 7242 Comm: syz.6.671 Not tainted 5.15.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 : ffff800020b672e0 x29: ffff800020b672e0 x28: dfff800000000000 x27: 0000000000000001 x26: ffff80001b725d20 x25: ffff80001b725000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff80001b84f661 x20: ffff0000ee1b9668 x19: ffff800017277e80 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000082ec988 x15: 0000000000000406 x14: 1ffff0000295806a x13: ffff800020b674a0 x12: dfff800000000000 x11: ffff8000082efed8 x10: ffff800014ac034c x9 : ffff8000173c9d00 x8 : ffff80001b84f660 x7 : ffff800008deb540 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: 1205 hardirqs last enabled at (1205): [] free_unref_page_list+0x71c/0x7a8 mm/page_alloc.c:3478 hardirqs last disabled at (1204): [] free_unref_page_list+0x768/0x7a8 mm/page_alloc.c:3452 softirqs last enabled at (1036): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (1036): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (1019): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (1019): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (1019): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (1019): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 5b35161e32a55280 ]---