BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 11480 Comm: kworker/u8:5 Tainted: G W syzkaller #0 PREEMPT Tainted: [W]=WARN Hardware name: linux,dummy-virt (DT) Workqueue: netns cleanup_net Call trace: show_stack+0x18/0x24 arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x7c/0xb0 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 add_chain_cache kernel/locking/lockdep.c:3789 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3871 [inline] validate_chain kernel/locking/lockdep.c:3892 [inline] __lock_acquire+0x15e0/0x1a5c kernel/locking/lockdep.c:5253 lock_acquire kernel/locking/lockdep.c:5886 [inline] lock_acquire+0x3d0/0x44c kernel/locking/lockdep.c:5843 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:165 [inline] _raw_spin_lock_irq+0x54/0x78 kernel/locking/spinlock.c:189 spin_lock_irq include/linux/spinlock.h:377 [inline] backlog_lock_irq_disable net/core/dev.c:246 [inline] flush_required net/core/dev.c:6595 [inline] flush_all_backlogs net/core/dev.c:6641 [inline] unregister_netdevice_many_notify+0x65c/0x19a8 net/core/dev.c:12496 unregister_netdevice_many net/core/dev.c:12589 [inline] unregister_netdevice_queue+0x250/0x314 net/core/dev.c:12390 unregister_netdevice include/linux/netdevice.h:3487 [inline] nsim_destroy+0x18c/0x6cc drivers/net/netdevsim/netdev.c:1196 __nsim_dev_port_del+0x124/0x220 drivers/net/netdevsim/dev.c:1472 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1486 [inline] nsim_dev_reload_destroy+0xc0/0x3a0 drivers/net/netdevsim/dev.c:1710 nsim_dev_reload_down+0x50/0xbc drivers/net/netdevsim/dev.c:963 devlink_reload+0x164/0x640 net/devlink/dev.c:462 devlink_pernet_pre_exit+0x1a8/0x294 net/devlink/core.c:578 ops_pre_exit_list net/core/net_namespace.c:161 [inline] ops_undo_list+0x128/0x710 net/core/net_namespace.c:235 cleanup_net+0x38c/0x77c net/core/net_namespace.c:706 process_one_work+0x830/0x1c00 kernel/workqueue.c:3387 process_scheduled_works kernel/workqueue.c:3470 [inline] worker_thread+0x42c/0xc90 kernel/workqueue.c:3551 kthread+0x2ec/0x384 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 netdevsim netdevsim4 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim4 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim4 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim4 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0