BUG: MAX_LOCKDEP_ENTRIES too low! turning off the locking correctness validator. CPU: 1 PID: 22878 Comm: syz-executor.3 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 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_common+0x45/0xc0 kernel/sched/core.c:5233 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 __mutex_lock_common kernel/locking/mutex.c:957 [inline] __mutex_lock+0xd38/0x1120 kernel/locking/mutex.c:1096 device_add+0xc9c/0x1db0 drivers/base/core.c:3248 netdev_register_kobject+0x181/0x430 net/core/net-sysfs.c:1986 register_netdevice+0xd33/0x14a0 net/core/dev.c:10209 register_netdev+0x2d/0x50 net/core/dev.c:10333 sit_init_net+0x3a4/0xac0 net/ipv6/sit.c:1917 ops_init+0xaf/0x470 net/core/net_namespace.c:140 setup_net+0x40f/0xa30 net/core/net_namespace.c:333 copy_net_ns+0x31e/0x760 net/core/net_namespace.c:474 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x385/0x440 kernel/nsproxy.c:178 copy_process+0x2c31/0x71a0 kernel/fork.c:2116 kernel_clone+0xe7/0xab0 kernel/fork.c:2500 __do_compat_sys_ia32_clone+0xac/0xe0 arch/x86/kernel/sys_ia32.c:254 do_syscall_32_irqs_on arch/x86/entry/common.c:77 [inline] __do_fast_syscall_32+0x56/0x90 arch/x86/entry/common.c:140 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:165 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f1d549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f54d55fc EFLAGS: 00000296 ORIG_RAX: 0000000000000078 RAX: ffffffffffffffda RBX: 00000000fae22dd4 RCX: 0000000000000000 RDX: 0000000099999999 RSI: 0000000000000000 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000