BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 5266 Comm: syz-executor Not tainted 6.1.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b88/0x7680 kernel/locking/lockdep.c:5049 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662 fs_reclaim_acquire+0xbc/0x12c mm/page_alloc.c:4698 might_alloc include/linux/sched/mm.h:271 [inline] prepare_alloc_pages+0x13c/0x508 mm/page_alloc.c:5329 __alloc_pages+0x150/0x730 mm/page_alloc.c:5547 alloc_pages+0x494/0x760 folio_alloc+0x28/0x6c mm/mempolicy.c:2292 filemap_alloc_folio+0xc4/0x4a4 mm/filemap.c:999 __filemap_get_folio+0x704/0xb6c mm/filemap.c:1993 pagecache_get_page+0x3c/0x16c mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:646 [inline] grab_cache_page include/linux/pagemap.h:778 [inline] f2fs_grab_cache_page+0x1a4/0x3b4 fs/f2fs/f2fs.h:2727 f2fs_grab_meta_page+0x70/0x21c fs/f2fs/checkpoint.c:49 f2fs_update_meta_page+0x30/0xd0 fs/f2fs/segment.c:2389 do_checkpoint+0x1750/0x37f4 fs/f2fs/checkpoint.c:1547 f2fs_write_checkpoint+0x111c/0x1824 fs/f2fs/checkpoint.c:1704 f2fs_issue_checkpoint+0x280/0x3b0 f2fs_sync_fs+0x1e4/0x580 fs/f2fs/super.c:1707 sync_filesystem+0x1a0/0x218 fs/sync.c:66 generic_shutdown_super+0x70/0x328 fs/super.c:474 kill_block_super+0x70/0xdc fs/super.c:1470 kill_f2fs_super+0x264/0x328 fs/f2fs/super.c:4674 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2148/0x3474 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585