F2FS-fs (loop6): Mounted with checkpoint version = 48b305e6 syz.6.253: attempt to access beyond end of device loop6: rw=2049, sector=53248, nr_sectors = 256 limit=40427 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 8250 Comm: syz.6.253 Not tainted 6.13.0-rc2-syzkaller-g2e7aff49b5da #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lookup_chain_cache_add kernel/locking/lockdep.c:3851 [inline] validate_chain kernel/locking/lockdep.c:3872 [inline] __lock_acquire+0x2070/0x7904 kernel/locking/lockdep.c:5226 lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 stack_depot_save_flags+0x214/0x890 lib/stackdepot.c:640 kasan_save_stack+0x54/0x6c mm/kasan/common.c:48 __kasan_record_aux_stack+0xb8/0xd0 mm/kasan/generic.c:544 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:554 insert_work+0x54/0x2d4 kernel/workqueue.c:2183 __queue_work+0xe20/0x1308 kernel/workqueue.c:2339 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2390 queue_work include/linux/workqueue.h:662 [inline] schedule_work include/linux/workqueue.h:723 [inline] f2fs_handle_critical_error+0x230/0x53c fs/f2fs/super.c:4209 f2fs_stop_checkpoint+0x58/0x6c fs/f2fs/checkpoint.c:35 f2fs_write_end_io+0x7b4/0xaf0 fs/f2fs/data.c:352 bio_endio+0x840/0x87c block/bio.c:1645 submit_bio_noacct+0x15c/0x166c block/blk-core.c:875 submit_bio+0x374/0x564 block/blk-core.c:910 f2fs_submit_write_bio+0x1bc/0x438 fs/f2fs/data.c:525 __submit_merged_bio+0x258/0x79c fs/f2fs/data.c:540 __f2fs_submit_merged_write fs/f2fs/data.c:636 [inline] __submit_merged_write_cond+0x428/0x4e8 fs/f2fs/data.c:658 f2fs_submit_merged_write_cond fs/f2fs/data.c:675 [inline] f2fs_write_cache_pages fs/f2fs/data.c:3236 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3321 [inline] f2fs_write_data_pages+0x210c/0x2ab4 fs/f2fs/data.c:3348 do_writepages+0x304/0x7d0 mm/page-writeback.c:2702 filemap_fdatawrite_wbc mm/filemap.c:397 [inline] __filemap_fdatawrite_range mm/filemap.c:430 [inline] filemap_write_and_wait_range+0x200/0x314 mm/filemap.c:684 f2fs_collapse_range+0x284/0x304 fs/f2fs/file.c:1527 f2fs_fallocate+0x3fc/0x954 fs/f2fs/file.c:1934 vfs_fallocate+0x484/0x5c0 fs/open.c:327 ksys_fallocate fs/open.c:351 [inline] __do_sys_fallocate fs/open.c:356 [inline] __se_sys_fallocate fs/open.c:354 [inline] __arm64_sys_fallocate+0xc0/0x110 fs/open.c:354 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3 F2FS-fs (loop6): Stopped filesystem due to reason: 3