BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 8904 Comm: sed Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __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:3735 [inline] validate_chain kernel/locking/lockdep.c:3756 [inline] __lock_acquire+0x1b64/0x7638 kernel/locking/lockdep.c:5012 lock_acquire+0x240/0x77c kernel/locking/lockdep.c:5623 do_write_seqcount_begin_nested include/linux/seqlock.h:519 [inline] do_write_seqcount_begin include/linux/seqlock.h:545 [inline] psi_group_change+0x280/0x1290 kernel/sched/psi.c:710 psi_task_change+0x1dc/0x2e8 kernel/sched/psi.c:826 psi_enqueue kernel/sched/stats.h:104 [inline] enqueue_task kernel/sched/core.c:1970 [inline] activate_task+0x268/0x2d0 kernel/sched/core.c:2002 ttwu_do_activate+0x158/0x264 kernel/sched/core.c:3611 ttwu_queue kernel/sched/core.c:3820 [inline] try_to_wake_up+0x460/0xc2c kernel/sched/core.c:4143 wake_up_process+0x18/0x24 kernel/sched/core.c:4212 wake_up_worker kernel/workqueue.c:859 [inline] insert_work+0x2bc/0x394 kernel/workqueue.c:1381 __queue_work+0xb84/0x114c kernel/workqueue.c:1532 queue_work_on+0xc4/0x17c kernel/workqueue.c:1559 queue_work include/linux/workqueue.h:512 [inline] schedule_work include/linux/workqueue.h:573 [inline] __vfree_deferred mm/vmalloc.c:2643 [inline] vfree_atomic+0xc8/0xfc mm/vmalloc.c:2661 free_thread_stack+0x464/0x6e8 kernel/fork.c:293 release_task_stack kernel/fork.c:433 [inline] put_task_stack+0xa8/0x17c kernel/fork.c:444 finish_task_switch+0x398/0x6b4 kernel/sched/core.c:4939 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xf14/0x1e48 kernel/sched/core.c:6373 preempt_schedule_irq+0x90/0x274 kernel/sched/core.c:6777 arm64_preempt_schedule_irq+0x174/0x2c4 arch/arm64/kernel/entry-common.c:260 el1_interrupt+0x40/0x58 arch/arm64/kernel/entry-common.c:463 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:470 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:522 preempt_count arch/arm64/include/asm/preempt.h:12 [inline] check_kcov_mode kernel/kcov.c:172 [inline] __sanitizer_cov_trace_pc+0x34/0xac kernel/kcov.c:206 common_file_perm+0x160/0x1cc security/apparmor/lsm.c:475 common_mmap security/apparmor/lsm.c:521 [inline] apparmor_file_mprotect+0xe0/0x10c security/apparmor/lsm.c:533 security_file_mprotect+0x80/0xc8 security/security.c:1632 do_mprotect_pkey mm/mprotect.c:622 [inline] __do_sys_mprotect mm/mprotect.c:662 [inline] __se_sys_mprotect mm/mprotect.c:659 [inline] __arm64_sys_mprotect+0x4cc/0x984 mm/mprotect.c:659 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584