BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 248 Comm: kworker/u8:5 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: netns cleanup_net Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lookup_chain_cache_add kernel/locking/lockdep.c:3851 [inline] validate_chain kernel/locking/lockdep.c:3872 [inline] __lock_acquire+0x1fb8/0x77c8 kernel/locking/lockdep.c:5202 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5825 do_write_seqcount_begin_nested include/linux/seqlock.h:454 [inline] do_write_seqcount_begin include/linux/seqlock.h:480 [inline] psi_group_change+0x270/0x11d8 kernel/sched/psi.c:792 psi_task_change+0xf4/0x228 kernel/sched/psi.c:912 psi_enqueue kernel/sched/stats.h:158 [inline] enqueue_task+0x1d0/0x204 kernel/sched/core.c:2029 activate_task kernel/sched/core.c:2067 [inline] ttwu_do_activate+0x19c/0x688 kernel/sched/core.c:3680 ttwu_queue kernel/sched/core.c:3953 [inline] try_to_wake_up+0x6a4/0x1274 kernel/sched/core.c:4281 wake_up_process+0x18/0x24 kernel/sched/core.c:4414 kick_pool+0x3f0/0x59c kernel/workqueue.c:1279 __queue_work+0xe28/0x1308 kernel/workqueue.c:2340 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2390 nsim_fib_event_nb+0xae4/0xdec drivers/net/netdevsim/fib.c:1043 notifier_call_chain+0x1b4/0x538 kernel/notifier.c:93 atomic_notifier_call_chain+0xd0/0x180 kernel/notifier.c:231 call_fib_notifiers+0x44/0x78 net/core/fib_notifier.c:35 call_fib6_notifiers+0x60/0x80 net/ipv6/fib6_notifier.c:22 fib6_del+0xd74/0x1278 net/ipv6/ip6_fib.c:2047 fib6_clean_node+0x24c/0x4d0 net/ipv6/ip6_fib.c:2209 fib6_walk_continue+0x5b8/0x7e0 net/ipv6/ip6_fib.c:2131 fib6_walk+0x144/0x258 net/ipv6/ip6_fib.c:2179 fib6_clean_tree net/ipv6/ip6_fib.c:2259 [inline] __fib6_clean_all+0x29c/0x418 net/ipv6/ip6_fib.c:2275 fib6_clean_all+0x3c/0x50 net/ipv6/ip6_fib.c:2286 rt6_sync_down_dev net/ipv6/route.c:4908 [inline] rt6_disable_ip+0x130/0x718 net/ipv6/route.c:4913 addrconf_ifdown+0x154/0x17c8 net/ipv6/addrconf.c:3858 addrconf_notify+0x340/0xce8 notifier_call_chain+0x1b4/0x538 kernel/notifier.c:93 raw_notifier_call_chain+0x3c/0x50 kernel/notifier.c:461 call_netdevice_notifiers_info net/core/dev.c:1996 [inline] call_netdevice_notifiers_extack net/core/dev.c:2034 [inline] call_netdevice_notifiers net/core/dev.c:2048 [inline] dev_close_many+0x308/0x474 net/core/dev.c:1589 unregister_netdevice_many_notify+0x454/0x1c64 net/core/dev.c:11381 unregister_netdevice_many net/core/dev.c:11469 [inline] unregister_netdevice_queue+0x2d8/0x324 net/core/dev.c:11343 unregister_netdevice include/linux/netdevice.h:3118 [inline] nsim_destroy+0x15c/0x50c drivers/net/netdevsim/netdev.c:778 __nsim_dev_port_del+0x140/0x1a0 drivers/net/netdevsim/dev.c:1428 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline] nsim_dev_reload_destroy+0x240/0x43c drivers/net/netdevsim/dev.c:1661 nsim_dev_reload_down+0xac/0xe8 drivers/net/netdevsim/dev.c:968 devlink_reload+0x188/0x79c net/devlink/dev.c:461 devlink_pernet_pre_exit+0x1c0/0x418 net/devlink/core.c:509 ops_pre_exit_list net/core/net_namespace.c:163 [inline] cleanup_net+0x4dc/0x9b4 net/core/net_namespace.c:606 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 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 bridge_slave_1: left allmulticast mode bridge_slave_1: left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state bridge_slave_0: left allmulticast mode bridge_slave_0: left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state bridge_slave_1: left allmulticast mode bridge_slave_1: left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state bridge_slave_0: left allmulticast mode bridge_slave_0: left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state bond0 (unregistering): (slave bond_slave_0): Releasing backup interface bond0 (unregistering): (slave bond_slave_1): Releasing backup interface bond0 (unregistering): Released all slaves 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 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 hsr_slave_0: left promiscuous mode 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 veth1_macvtap: left promiscuous mode veth0_macvtap: left promiscuous mode veth1_vlan: left promiscuous mode veth0_vlan: left promiscuous mode veth1_macvtap: left promiscuous mode veth0_macvtap: left promiscuous mode veth1_vlan: left promiscuous mode veth0_vlan: left promiscuous mode team0 (unregistering): Port device team_slave_1 removed team0 (unregistering): Port device team_slave_0 removed team0 (unregistering): Port device team_slave_1 removed team0 (unregistering): Port device team_slave_0 removed netdevsim netdevsim3 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim3 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim3 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim3 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 bridge_slave_1: left allmulticast mode bridge_slave_1: left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state bridge_slave_0: left allmulticast mode bridge_slave_0: left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state