BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 8833 Comm: syz.3.312 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3855 [inline] validate_chain kernel/locking/lockdep.c:3876 [inline] __lock_acquire+0xf9c/0x30a4 kernel/locking/lockdep.c:5237 lock_acquire+0x14c/0x2e0 kernel/locking/lockdep.c:5868 _raw_spin_lock_nested+0x50/0x6c kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested kernel/sched/core.c:636 [inline] raw_spin_rq_lock kernel/sched/sched.h:1519 [inline] rq_lock kernel/sched/sched.h:1841 [inline] __schedule+0x338/0x2864 kernel/sched/core.c:6865 preempt_schedule_irq+0x80/0x188 kernel/sched/core.c:7288 arm64_preempt_schedule_irq+0x44/0x58 arch/arm64/kernel/entry-common.c:305 __el1_irq arch/arm64/kernel/entry-common.c:656 [inline] el1_interrupt+0x3c/0x54 arch/arm64/kernel/entry-common.c:668 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:673 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:592 __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) lock_acquire+0x178/0x2e0 kernel/locking/lockdep.c:5871 (P) fs_reclaim_acquire+0xb8/0x118 mm/page_alloc.c:4251 might_alloc include/linux/sched/mm.h:318 [inline] slab_pre_alloc_hook mm/slub.c:4131 [inline] slab_alloc_node mm/slub.c:4209 [inline] __kmalloc_cache_noprof+0x58/0x3fc mm/slub.c:4391 kmalloc_noprof include/linux/slab.h:905 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] xskq_create+0x60/0x168 net/xdp/xsk_queue.c:29 xsk_init_queue+0xb0/0x118 net/xdp/xsk.c:1026 xsk_setsockopt+0x448/0x684 net/xdp/xsk.c:1440 do_sock_setsockopt+0x1ec/0x328 net/socket.c:2344 __sys_setsockopt net/socket.c:2369 [inline] __do_sys_setsockopt net/socket.c:2375 [inline] __se_sys_setsockopt net/socket.c:2372 [inline] __arm64_sys_setsockopt+0x170/0x1e0 net/socket.c:2372 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596