BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 6415 Comm: syz-executor Not tainted 6.1.148-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_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162 sb_mark_inode_writeback+0x7c/0x4a0 fs/fs-writeback.c:1277 __folio_start_writeback+0x5ac/0xa68 mm/page-writeback.c:3016 set_page_writeback+0x5c/0x7c mm/folio-compat.c:56 __block_write_full_page+0x7b0/0xed4 fs/buffer.c:1787 block_write_full_page+0x124/0x154 fs/buffer.c:-1 blkdev_writepage+0x30/0x40 block/fops.c:391 __writepage+0x70/0x18c mm/page-writeback.c:2447 write_cache_pages+0x73c/0xdd4 mm/page-writeback.c:2382 generic_writepages+0xf4/0x160 mm/page-writeback.c:2473 blkdev_writepages+0x28/0x38 block/fops.c:426 do_writepages+0x2c0/0x4fc mm/page-writeback.c:2491 filemap_fdatawrite_wbc+0x124/0x174 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] __filemap_fdatawrite mm/filemap.c:427 [inline] filemap_flush+0xbc/0x10c mm/filemap.c:454 sync_blockdev_nowait+0x64/0x80 block/bdev.c:186 sync_filesystem+0x13c/0x218 fs/sync.c:60 generic_shutdown_super+0x70/0x324 fs/super.c:474 kill_block_super+0x70/0xdc fs/super.c:1470 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xe8/0x108 fs/super.c:363 cleanup_mnt+0x37c/0x404 fs/namespace.c:1182 __cleanup_mnt+0x20/0x30 fs/namespace.c:1189 task_work_run+0x1ec/0x270 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x1f70/0x2b0c arch/arm64/kernel/signal.c:1137 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+0x98/0x138 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