BUG: MAX_LOCKDEP_ENTRIES too low! turning off the locking correctness validator. CPU: 1 PID: 9516 Comm: kworker/1:6 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: events_power_efficient htable_gc Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 alloc_list_entry kernel/locking/lockdep.c:1353 [inline] add_lock_to_list.constprop.0.cold+0x11/0x18 kernel/locking/lockdep.c:1374 check_prev_add kernel/locking/lockdep.c:3007 [inline] check_prevs_add kernel/locking/lockdep.c:3060 [inline] validate_chain kernel/locking/lockdep.c:3675 [inline] __lock_acquire+0x2f37/0x54c0 kernel/locking/lockdep.c:4901 lock_acquire kernel/locking/lockdep.c:5511 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5476 do_write_seqcount_begin_nested include/linux/seqlock.h:520 [inline] do_write_seqcount_begin include/linux/seqlock.h:545 [inline] vtime_task_switch_generic+0xb5/0x5a0 kernel/sched/cputime.c:768 vtime_task_switch include/linux/vtime.h:49 [inline] finish_task_switch.isra.0+0x4bd/0x810 kernel/sched/core.c:4188 context_switch kernel/sched/core.c:4325 [inline] __schedule+0x919/0x21b0 kernel/sched/core.c:5073 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:5530 irqentry_exit_cond_resched kernel/entry/common.c:392 [inline] irqentry_exit_cond_resched kernel/entry/common.c:384 [inline] irqentry_exit+0x7a/0xa0 kernel/entry/common.c:428 asm_sysvec_reschedule_ipi+0x12/0x20 arch/x86/include/asm/idtentry.h:637 RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:205 Code: 1d ed d3 bc 7e 65 8b 05 e6 d3 bc 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 25 09 09 00 e8 a0 c8 34 00 fb 65 8b 05 c8 d3 bc 7e <85> c0 74 58 5b 5d c3 65 8b 05 f6 da bc 7e 85 c0 75 a2 0f 0b eb 9e RSP: 0018:ffffc9000241fc88 EFLAGS: 00000206 RAX: 0000000080000000 RBX: 00000000fffffe00 RCX: 1ffffffff1f66262 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff875774ed R08: 0000000000000001 R09: ffffffff8fa9aa37 R10: 0000000000000001 R11: 1ffffffff1ed5c5c R12: dffffc0000000000 R13: ffffc9000732a000 R14: 0000000000000000 R15: 0000000000001853 spin_unlock_bh include/linux/spinlock.h:399 [inline] htable_selective_cleanup+0x22d/0x320 net/netfilter/xt_hashlimit.c:374 htable_gc+0x1d/0xb0 net/netfilter/xt_hashlimit.c:385 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294