BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 16059 Comm: kworker/u8:8 Not tainted syzkaller #0 PREEMPT 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+0xa4/0xf4 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+0x1d4c/0x2380 kernel/locking/lockdep.c:5237 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x310/0x38c kernel/locking/lockdep.c:5825 _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] ttwu_queue kernel/sched/core.c:4002 [inline] try_to_wake_up+0x83c/0x122c kernel/sched/core.c:4328 wake_up_process+0x18/0x24 kernel/sched/core.c:4459 kick_pool+0x210/0x628 kernel/workqueue.c:1283 __queue_work+0x924/0x10dc kernel/workqueue.c:2340 queue_work_on+0xc0/0x100 kernel/workqueue.c:2390 queue_work include/linux/workqueue.h:669 [inline] schedule_work include/linux/workqueue.h:730 [inline] nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1014 [inline] nsim_fib_event_nb+0x524/0xa6c drivers/net/netdevsim/fib.c:1043 notifier_call_chain+0x11c/0x49c kernel/notifier.c:85 atomic_notifier_call_chain+0x70/0x134 kernel/notifier.c:223 call_fib_notifiers+0x34/0x58 net/core/fib_notifier.c:35 call_fib6_notifiers+0x44/0x70 net/ipv6/fib6_notifier.c:22 call_fib6_entry_notifiers net/ipv6/ip6_fib.c:409 [inline] fib6_del_route net/ipv6/ip6_fib.c:2046 [inline] fib6_del+0xaa4/0x1130 net/ipv6/ip6_fib.c:2087 fib6_clean_node+0x298/0x438 net/ipv6/ip6_fib.c:2249 fib6_walk_continue+0x2ec/0x69c net/ipv6/ip6_fib.c:2171 fib6_walk+0x138/0x2e8 net/ipv6/ip6_fib.c:2219 fib6_clean_tree+0xd0/0x114 net/ipv6/ip6_fib.c:2299 __fib6_clean_all+0xd4/0x1f0 net/ipv6/ip6_fib.c:2315 fib6_clean_all+0x1c/0x28 net/ipv6/ip6_fib.c:2326 rt6_sync_down_dev net/ipv6/route.c:5005 [inline] rt6_disable_ip+0x454/0x7b8 net/ipv6/route.c:5010 addrconf_ifdown.isra.0+0xd4/0x12fc net/ipv6/addrconf.c:3853 addrconf_notify+0x170/0x113c net/ipv6/addrconf.c:3776 notifier_call_chain+0x11c/0x49c kernel/notifier.c:85 raw_notifier_call_chain+0x18/0x24 kernel/notifier.c:453 call_netdevice_notifiers_info+0x88/0xe8 net/core/dev.c:2229 call_netdevice_notifiers_extack net/core/dev.c:2267 [inline] call_netdevice_notifiers net/core/dev.c:2281 [inline] netif_close_many+0x248/0x43c net/core/dev.c:1784 unregister_netdevice_many_notify+0x348/0x1a6c net/core/dev.c:12128 unregister_netdevice_many net/core/dev.c:12229 [inline] unregister_netdevice_queue+0x25c/0x324 net/core/dev.c:12073 unregister_netdevice include/linux/netdevice.h:3385 [inline] nsim_destroy+0x124/0x5d0 drivers/net/netdevsim/netdev.c:1140 __nsim_dev_port_del+0x128/0x1d8 drivers/net/netdevsim/dev.c:1473 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1485 [inline] nsim_dev_reload_destroy+0xd0/0x3a0 drivers/net/netdevsim/dev.c:1707 nsim_dev_reload_down+0x50/0xb0 drivers/net/netdevsim/dev.c:983 devlink_reload+0x14c/0x644 net/devlink/dev.c:461 devlink_pernet_pre_exit+0x168/0x23c net/devlink/core.c:509 ops_pre_exit_list net/core/net_namespace.c:160 [inline] ops_undo_list+0x11c/0x71c net/core/net_namespace.c:233 cleanup_net+0x31c/0x724 net/core/net_namespace.c:682 process_one_work+0x7cc/0x18d4 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x734/0xb84 kernel/workqueue.c:3400 kthread+0x348/0x5fc kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 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 bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (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 netdevsim netdevsim9 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim9 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim9 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim9 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (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