BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 22186 Comm: kworker/u8:7 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP 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:3773 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3855 [inline] validate_chain kernel/locking/lockdep.c:3876 [inline] __lock_acquire+0x15e0/0x1a5c kernel/locking/lockdep.c:5237 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x3ac/0x440 kernel/locking/lockdep.c:5825 _raw_spin_lock_nested+0x50/0x6c kernel/locking/spinlock.c:382 raw_spin_rq_lock_nested kernel/sched/core.c:652 [inline] raw_spin_rq_lock kernel/sched/sched.h:1624 [inline] rq_lock kernel/sched/sched.h:1968 [inline] ttwu_queue kernel/sched/core.c:3976 [inline] try_to_wake_up+0x96c/0x1178 kernel/sched/core.c:4302 wake_up_process+0x18/0x24 kernel/sched/core.c:4434 kick_pool+0x214/0x600 kernel/workqueue.c:1313 __queue_work+0xab8/0x13d0 kernel/workqueue.c:2394 queue_work_on+0xbc/0x100 kernel/workqueue.c:2444 queue_work include/linux/workqueue.h:698 [inline] schedule_work include/linux/workqueue.h:759 [inline] nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1014 [inline] nsim_fib_event_nb+0x518/0xa60 drivers/net/netdevsim/fib.c:1043 notifier_call_chain+0x114/0x568 kernel/notifier.c:85 atomic_notifier_call_chain+0x70/0x12c kernel/notifier.c:223 call_fib_notifiers+0x34/0x58 net/core/fib_notifier.c:36 call_fib6_notifiers+0x44/0x70 net/ipv6/fib6_notifier.c:23 call_fib6_entry_notifiers net/ipv6/ip6_fib.c:412 [inline] fib6_del_route net/ipv6/ip6_fib.c:2054 [inline] fib6_del+0xa5c/0x117c net/ipv6/ip6_fib.c:2095 fib6_clean_node+0x2f0/0x42c net/ipv6/ip6_fib.c:2257 fib6_walk_continue+0x2ec/0x698 net/ipv6/ip6_fib.c:2179 fib6_walk+0x134/0x2e0 net/ipv6/ip6_fib.c:2227 fib6_clean_tree+0xe0/0x128 net/ipv6/ip6_fib.c:2307 __fib6_clean_all+0xd0/0x1e4 net/ipv6/ip6_fib.c:2323 fib6_clean_all+0x1c/0x34 net/ipv6/ip6_fib.c:2334 rt6_sync_down_dev net/ipv6/route.c:5023 [inline] rt6_disable_ip+0x1f8/0x790 net/ipv6/route.c:5028 addrconf_ifdown.isra.0+0xdc/0x1284 net/ipv6/addrconf.c:3865 addrconf_notify+0x2c8/0x132c net/ipv6/addrconf.c:3788 notifier_call_chain+0x114/0x568 kernel/notifier.c:85 raw_notifier_call_chain+0x18/0x24 kernel/notifier.c:453 call_netdevice_notifiers_info+0x88/0xe8 net/core/dev.c:2249 call_netdevice_notifiers_extack net/core/dev.c:2287 [inline] call_netdevice_notifiers net/core/dev.c:2301 [inline] netif_close_many+0x24c/0x440 net/core/dev.c:1805 netif_close_many_and_unlock+0x24/0x1b4 net/core/dev.c:12315 unregister_netdevice_many_notify+0x400/0x1d68 net/core/dev.c:12385 unregister_netdevice_many net/core/dev.c:12484 [inline] unregister_netdevice_queue+0x250/0x314 net/core/dev.c:12294 unregister_netdevice include/linux/netdevice.h:3444 [inline] nsim_destroy+0x184/0x6c0 drivers/net/netdevsim/netdev.c:1193 __nsim_dev_port_del+0x124/0x220 drivers/net/netdevsim/dev.c:1547 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1561 [inline] nsim_dev_reload_destroy+0xc0/0x3a4 drivers/net/netdevsim/dev.c:1785 nsim_dev_reload_down+0x50/0xbc drivers/net/netdevsim/dev.c:1038 devlink_reload+0x164/0x640 net/devlink/dev.c:462 devlink_pernet_pre_exit+0x1a8/0x294 net/devlink/core.c:558 ops_pre_exit_list net/core/net_namespace.c:161 [inline] ops_undo_list+0x118/0x730 net/core/net_namespace.c:234 cleanup_net+0x38c/0x77c net/core/net_namespace.c:702 process_one_work+0x810/0x1b1c kernel/workqueue.c:3314 process_scheduled_works kernel/workqueue.c:3397 [inline] worker_thread+0x42c/0xc90 kernel/workqueue.c:3478 kthread+0x2f0/0x388 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:858 netdevsim netdevsim6 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim6 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim6 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim6 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 bond1 (unregistering): (slave geneve2): Releasing active interface geneve2 (unregistering): left allmulticast mode bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (unregistering): Released all slaves bond1 (unregistering): Released all slaves hsr_slave_0: left promiscuous mode hsr_slave_1: left promiscuous mode veth1_macvtap: left promiscuous mode veth0_macvtap: left promiscuous mode veth1_vlan: left promiscuous mode veth0_vlan: left promiscuous mode bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (unregistering): Released all slaves bond1 (unregistering): Released all slaves hsr_slave_0: left promiscuous mode hsr_slave_1: left promiscuous mode