BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 5893 Comm: udevd Not tainted 6.1.118-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/0x5c 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 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162 cgroup_rstat_updated+0xec/0x2e8 kernel/cgroup/rstat.c:45 memcg_rstat_updated+0x50/0x1d0 mm/memcontrol.c:611 __mod_memcg_lruvec_state+0x29c/0x48c mm/memcontrol.c:799 __mod_lruvec_state+0x64/0x7c mm/memcontrol.c:821 __update_lru_size include/linux/mm_inline.h:46 [inline] lru_gen_update_size+0x638/0xb78 include/linux/mm_inline.h:198 lru_gen_add_folio+0x598/0x870 include/linux/mm_inline.h:261 lruvec_add_folio include/linux/mm_inline.h:322 [inline] lru_add_fn+0x5ac/0xe08 mm/swap.c:228 folio_batch_move_lru+0x290/0x4f4 mm/swap.c:246 lru_add_drain_cpu+0xb4/0x4ec mm/swap.c:669 lru_add_drain+0x8c/0x168 mm/swap.c:773 __pagevec_release+0x68/0x10c mm/swap.c:1072 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] shmem_undo_range+0x560/0x16b8 mm/shmem.c:946 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x200/0x8a8 mm/shmem.c:1173 evict+0x418/0x894 fs/inode.c:701 iput_final fs/inode.c:1830 [inline] iput+0x7c0/0x8a4 fs/inode.c:1856 dentry_unlink_inode+0x37c/0x4bc fs/dcache.c:405 __dentry_kill+0x324/0x5e4 fs/dcache.c:611 dentry_kill+0xc8/0x250 dput+0x218/0x454 fs/dcache.c:918 __fput+0x488/0x7c8 fs/file_table.c:328 ____fput+0x20/0x30 fs/file_table.c:348 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+0x2080/0x2cb8 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