BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 6423 Comm: syz-executor416 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #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+0x1fb8/0x77c8 kernel/locking/lockdep.c:5202 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5825 call_timer_fn+0xf8/0x8f0 kernel/time/timer.c:1791 expire_timers kernel/time/timer.c:1840 [inline] __run_timers kernel/time/timer.c:2419 [inline] __run_timer_base+0x59c/0x7b4 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0x11c/0x194 kernel/time/timer.c:2450 handle_softirqs+0x2e0/0xbf8 kernel/softirq.c:554 __do_softirq+0x14/0x20 kernel/softirq.c:588 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:891 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:86 invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x1d8/0x544 kernel/softirq.c:655 irq_exit_rcu+0x14/0x84 kernel/softirq.c:671 __el1_irq arch/arm64/kernel/entry-common.c:561 [inline] el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:575 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:580 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596 __daif_local_irq_restore arch/arm64/include/asm/irqflags.h:175 [inline] (P) arch_local_irq_restore arch/arm64/include/asm/irqflags.h:195 [inline] (P) __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] (P) _raw_spin_unlock_irqrestore+0x44/0x98 kernel/locking/spinlock.c:194 (P) __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] (L) _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 (L) __debug_check_no_obj_freed lib/debugobjects.c:998 [inline] debug_check_no_obj_freed+0x460/0x47c lib/debugobjects.c:1019 free_pages_prepare mm/page_alloc.c:1134 [inline] free_unref_folios+0x5c4/0x17e4 mm/page_alloc.c:2704 folios_put_refs+0x748/0x878 mm/swap.c:993 folios_put include/linux/mm.h:1549 [inline] __folio_batch_release+0x84/0xc0 mm/swap.c:1053 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x458/0x12b4 mm/shmem.c:1032 shmem_truncate_range mm/shmem.c:1144 [inline] shmem_evict_inode+0x230/0x8c8 mm/shmem.c:1272 evict+0x444/0x978 fs/inode.c:725 iput_final fs/inode.c:1877 [inline] iput+0x744/0x8ec fs/inode.c:1903 dentry_unlink_inode+0x3a0/0x4e0 fs/dcache.c:412 __dentry_kill+0x178/0x5e8 fs/dcache.c:615 dput+0x1b8/0x290 fs/dcache.c:857 __fput+0x498/0x75c fs/file_table.c:439 ____fput+0x20/0x30 fs/file_table.c:459 task_work_run+0x230/0x2e0 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600