F2FS-fs (loop2): Found nat_bits in checkpoint F2FS-fs (loop2): Try to recover 1th superblock, ret: 0 F2FS-fs (loop2): Mounted with checkpoint version = 48b305e4 BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 7349 Comm: syz.2.563 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b40/0x6544 kernel/locking/lockdep.c:5049 lock_acquire+0x20c/0x644 kernel/locking/lockdep.c:5662 _raw_spin_lock_nested+0x5c/0x78 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] rq_lock kernel/sched/sched.h:1645 [inline] __schedule+0x2b8/0x1b18 kernel/sched/core.c:6477 preempt_schedule_irq+0x8c/0x1b8 kernel/sched/core.c:6873 arm64_preempt_schedule_irq+0x44/0x58 arch/arm64/kernel/entry-common.c:265 __el1_irq arch/arm64/kernel/entry-common.c:474 [inline] el1_interrupt+0x3c/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore+0x8/0x10 arch/arm64/include/asm/irqflags.h:122 lock_is_held include/linux/lockdep.h:283 [inline] __might_resched+0x98/0x4cc kernel/sched/core.c:9928 __might_sleep+0x94/0x110 kernel/sched/core.c:9895 __mutex_lock_common+0xcc/0x1f38 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 f2fs_wait_discard_bio fs/f2fs/segment.c:1632 [inline] f2fs_allocate_data_block+0x2d8/0x2e50 fs/f2fs/segment.c:3250 do_write_page+0x138/0x5e8 fs/f2fs/segment.c:3363 f2fs_do_write_node_page+0x44/0x70 fs/f2fs/segment.c:3416 __write_node_page+0x9f0/0x18fc fs/f2fs/node.c:1682 f2fs_fsync_node_pages+0x1930/0x27c0 fs/f2fs/node.c:1835 f2fs_do_sync_file+0xf98/0x1740 fs/f2fs/file.c:343 f2fs_sync_file+0x110/0x15c fs/f2fs/file.c:396 vfs_fsync_range+0x168/0x188 fs/sync.c:188 generic_write_sync include/linux/fs.h:2962 [inline] f2fs_file_write_iter+0x54c/0x1d54 fs/f2fs/file.c:4877 do_iter_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x530/0x91c fs/read_write.c:861 vfs_iter_write+0x88/0xac fs/read_write.c:902 iter_file_splice_write+0x500/0xa18 fs/splice.c:685 do_splice_from fs/splice.c:763 [inline] direct_splice_actor+0xe4/0x134 fs/splice.c:950 splice_direct_to_actor+0x3b4/0x978 fs/splice.c:896 do_splice_direct+0x158/0x244 fs/splice.c:1002 do_sendfile+0x458/0xc88 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __arm64_sys_sendfile64+0x130/0x360 fs/read_write.c:1309 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585