BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 5459 Comm: kworker/u4:29 Not tainted 6.1.140-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: netns cleanup_net Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b40/0x6544 kernel/locking/lockdep.c:5049 lock_acquire+0x20c/0x644 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162 debug_object_activate+0x7c/0x468 lib/debugobjects.c:698 debug_work_activate kernel/workqueue.c:510 [inline] __queue_work+0xca8/0x123c kernel/workqueue.c:1519 queue_work_on+0xc0/0x16c kernel/workqueue.c:1548 queue_work include/linux/workqueue.h:512 [inline] schedule_work include/linux/workqueue.h:573 [inline] nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:-1 [inline] nsim_fib_event_nb+0xacc/0xdf8 drivers/net/netdevsim/fib.c:1043 notifier_call_chain kernel/notifier.c:87 [inline] atomic_notifier_call_chain+0x174/0x2a0 kernel/notifier.c:225 call_fib_notifiers+0x44/0x74 net/core/fib_notifier.c:35 call_fib6_notifiers+0x50/0x80 net/ipv6/fib6_notifier.c:22 fib6_del_route net/ipv6/ip6_fib.c:-1 [inline] fib6_del+0xccc/0x1184 net/ipv6/ip6_fib.c:2032 fib6_clean_node+0x224/0x49c net/ipv6/ip6_fib.c:2194 fib6_walk_continue+0x654/0x878 net/ipv6/ip6_fib.c:2116 fib6_walk+0x140/0x254 net/ipv6/ip6_fib.c:2164 fib6_clean_tree net/ipv6/ip6_fib.c:2244 [inline] __fib6_clean_all+0x1dc/0x310 net/ipv6/ip6_fib.c:2260 fib6_clean_all+0x3c/0x50 net/ipv6/ip6_fib.c:2271 rt6_sync_down_dev net/ipv6/route.c:4944 [inline] rt6_disable_ip+0x104/0x7c8 net/ipv6/route.c:4949 addrconf_ifdown+0x144/0x15dc net/ipv6/addrconf.c:3804 addrconf_notify+0x2f4/0xca8 net/ipv6/addrconf.c:-1 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd4/0x164 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:2001 [inline] call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] dev_close_many+0x2cc/0x440 net/core/dev.c:1601 unregister_netdevice_many+0x3c4/0x1740 net/core/dev.c:10952 unregister_netdevice_queue+0x2ac/0x2f8 net/core/dev.c:10909 unregister_netdevice include/linux/netdevice.h:3075 [inline] nsim_destroy+0x58/0x164 drivers/net/netdevsim/netdev.c:382 __nsim_dev_port_del+0x144/0x1a4 drivers/net/netdevsim/dev.c:1433 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1445 [inline] nsim_dev_reload_destroy+0x240/0x43c drivers/net/netdevsim/dev.c:1662 nsim_dev_reload_down+0x9c/0xd4 drivers/net/netdevsim/dev.c:968 devlink_reload+0x1b4/0x570 net/devlink/leftover.c:4472 devlink_pernet_pre_exit+0x118/0x2a8 net/devlink/leftover.c:12501 ops_pre_exit_list net/core/net_namespace.c:162 [inline] cleanup_net+0x470/0xa74 net/core/net_namespace.c:620 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 netdevsim netdevsim2 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim2 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim2 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim2 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 device hsr_slave_0 left promiscuous mode device hsr_slave_1 left promiscuous mode batman_adv: batadv0: Interface deactivated: batadv_slave_0 batman_adv: batadv0: Removing interface: batadv_slave_0 batman_adv: batadv0: Interface deactivated: batadv_slave_1 batman_adv: batadv0: Removing interface: batadv_slave_1 device bridge_slave_1 left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state device bridge_slave_0 left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state device veth1_macvtap left promiscuous mode device veth0_macvtap left promiscuous mode device veth1_vlan left promiscuous mode device veth0_vlan left promiscuous mode team0 (unregistering): Port device team_slave_1 removed team0 (unregistering): Port device team_slave_0 removed bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): Released all slaves 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 netdevsim netdevsim8 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim8 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim8 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim8 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0