BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events bpf_prog_free_deferred 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 _raw_spin_lock_nested+0x50/0x6c kernel/locking/spinlock.c:378 find_next_child fs/libfs.c:598 [inline] simple_recursive_removal+0x174/0x744 fs/libfs.c:622 debugfs_remove+0x60/0x88 fs/debugfs/inode.c:823 nsim_bpf_destroy_prog+0xd0/0x1dc drivers/net/netdevsim/bpf.c:280 __bpf_prog_offload_destroy kernel/bpf/offload.c:113 [inline] bpf_prog_dev_bound_destroy+0x278/0x548 kernel/bpf/offload.c:392 bpf_prog_free_deferred+0x2f4/0x5dc kernel/bpf/core.c:2796 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862