BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 51s! Showing busy workqueues and worker pools: workqueue events: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=14 refcnt=15 in-flight: 2567:nsim_fib_event_work nsim_fib_event_work ,9:nsim_fib_event_work nsim_fib_event_work ,6212:nsim_fib_event_work pending: 3*nsim_dev_hwstats_traffic_work, 2*psi_avgs_work, vmstat_shepherd, 3*ovs_dp_masks_rebalance pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=12 refcnt=13 in-flight: 26:request_firmware_work_func ,76:nsim_fib_event_work ,6613:nsim_fib_event_work pending: nsim_dev_hwstats_traffic_work, psi_avgs_work, drm_fb_helper_damage_work, 2*ovs_dp_masks_rebalance, nsim_dev_hwstats_traffic_work, free_obj_work, ovs_dp_masks_rebalance, delayed_vfree_work workqueue events_long: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: 2*defense_work_handler pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=4 refcnt=5 pending: 4*defense_work_handler workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: flush_memcg_stats_dwork pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 4113:toggle_allocation_gate workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x6 nice=0 active=14 refcnt=15 in-flight: 345:cfg80211_wiphy_work cfg80211_wiphy_work ,12:cfg80211_wiphy_work cfg80211_wiphy_work ,3874:nsim_dev_trap_report_work ,3157:nsim_dev_trap_report_work ,656:cfg80211_wiphy_work cfg80211_wiphy_work ,2808:linkwatch_event linkwatch_event ,633:crng_reseed ,5267:cfg80211_wiphy_work cfg80211_wiphy_work pending: 2*nsim_dev_trap_report_work pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3 pending: nsim_dev_trap_report_work workqueue events_power_efficient: flags=0x182 pwq 8: cpus=0-1 flags=0x6 nice=0 active=4 refcnt=5 in-flight: 42:wg_ratelimiter_gc_entries ,41:neigh_periodic_work pending: fb_flashcursor, do_cache_clean pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3 in-flight: 5108:gc_worker pending: neigh_periodic_work workqueue kvfree_rcu_reclaim: flags=0xa pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 540:kfree_rcu_work kfree_rcu_work pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=4 MAYDAY workqueue mm_percpu_wq: flags=0x8 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: vmstat_update pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: vmstat_update workqueue writeback: flags=0x4a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=4 MAYDAY in-flight: 34(RESCUER):wb_workfn workqueue mld: flags=0x40108 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=91 pending: mld_ifc_work inactive: 8*mld_ifc_work, mld_dad_work, mld_ifc_work, mld_dad_work, 7*mld_ifc_work, mld_dad_work, 5*mld_ifc_work, mld_dad_work, 21*mld_ifc_work, 2*mld_dad_work, 2*mld_ifc_work, 2*mld_dad_work, mld_ifc_work, mld_dad_work, mld_ifc_work, mld_dad_work, 2*mld_ifc_work, mld_dad_work, 5*mld_ifc_work, mld_dad_work, mld_ifc_work, mld_dad_work, 4*mld_ifc_work, mld_dad_work, 9*mld_ifc_work, mld_dad_work, mld_ifc_work, mld_dad_work, 5*mld_ifc_work pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=8 pending: mld_ifc_work inactive: 6*mld_ifc_work workqueue ipv6_addrconf: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=430 in-flight: 488:addrconf_dad_work inactive: 426*addrconf_dad_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=40 MAYDAY in-flight: 3904(RESCUER):batadv_dat_purge inactive: batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, 2*batadv_tt_purge, 2*batadv_mcast_mla_update, 3*batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_purge_orig, 11*batadv_iv_send_outstanding_bat_ogm_packet, batadv_mcast_mla_update, batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_mcast_mla_update, 3*batadv_purge_orig, 3*batadv_tt_purge, batadv_dat_purge workqueue wg-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 1864:wg_packet_handshake_send_worker pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 13:wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_tx_worker, wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg2: flags=0x124 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-crypt-wg2: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_decrypt_worker, wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_decrypt_worker workqueue wg-crypt-wg0: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_tx_worker, wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 4639:wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg2: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg0: flags=0x124 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-crypt-wg0: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_tx_worker, wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 120:wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_tx_worker, wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg2: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_tx_worker, wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 3973:wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_tx_worker, wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x124 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg2: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg0: flags=0x124 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_receive_worker workqueue wg-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3 in-flight: 4224:wg_packet_handshake_send_worker pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=51s workers=8 idle: 6235 1656 6234 7050 10 pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=8s workers=8 idle: 7052 6140 24 6564 6144 pool 8: cpus=0-1 flags=0x6 nice=0 hung=0s workers=21 manager: 4514 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 2: task:kworker/0:3 state:R running task stack:0 pid:2567 tgid:2567 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1274/0x2aa0 kernel/sched/core.c:6863 preempt_schedule_irq+0x80/0x188 kernel/sched/core.c:7190 raw_irqentry_exit_cond_resched+0x30/0x44 kernel/entry/common.c:173 irqentry_exit+0x1b0/0x2f4 kernel/entry/common.c:216 exit_to_kernel_mode+0x10/0x1c arch/arm64/kernel/entry-common.c:58 __el1_irq arch/arm64/kernel/entry-common.c:500 [inline] el1_interrupt+0x4c/0x60 arch/arm64/kernel/entry-common.c:510 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:515 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:592 __slab_free+0x160/0x23c mm/slub.c:5941 (P) do_slab_free mm/slub.c:6618 [inline] ___cache_free+0x150/0x170 mm/slub.c:6737 qlink_free+0x48/0x94 mm/kasan/quarantine.c:163 qlist_free_all+0x44/0xb8 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x118/0x124 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x2c/0x88 mm/kasan/common.c:350 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4953 [inline] slab_alloc_node mm/slub.c:5263 [inline] __kmalloc_cache_noprof+0x34c/0x698 mm/slub.c:5771 kmalloc_noprof include/linux/slab.h:957 [inline] kzalloc_noprof include/linux/slab.h:1094 [inline] nsim_fib6_rt_create drivers/net/netdevsim/fib.c:547 [inline] nsim_fib6_rt_insert drivers/net/netdevsim/fib.c:752 [inline] nsim_fib6_event drivers/net/netdevsim/fib.c:856 [inline] nsim_fib_event+0x9a4/0x6fc0 drivers/net/netdevsim/fib.c:889 nsim_fib_event_work+0x1c8/0x308 drivers/net/netdevsim/fib.c:1493 process_one_work+0x7c0/0x1558 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x990/0xed8 kernel/workqueue.c:3421 kthread+0x5ac/0x70c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 pool 2: task:kworker/0:0 state:R running task stack:0 pid:9 tgid:9 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1274/0x2aa0 kernel/sched/core.c:6863 preempt_schedule_irq+0x80/0x188 kernel/sched/core.c:7190 raw_irqentry_exit_cond_resched+0x30/0x44 kernel/entry/common.c:173 irqentry_exit+0x1b0/0x2f4 kernel/entry/common.c:216 exit_to_kernel_mode+0x10/0x1c arch/arm64/kernel/entry-common.c:58 __el1_irq arch/arm64/kernel/entry-common.c:500 [inline] el1_interrupt+0x4c/0x60 arch/arm64/kernel/entry-common.c:510 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:515 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:592 fib_alias_hw_flags_set+0x570/0x8c4 net/ipv4/fib_trie.c:1062 (P) nsim_fib4_event drivers/net/netdevsim/fib.c:-1 [inline] nsim_fib_event+0x5c78/0x6fc0 drivers/net/netdevsim/fib.c:884 nsim_fib_event_work+0x1c8/0x308 drivers/net/netdevsim/fib.c:1493 process_one_work+0x7c0/0x1558 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x990/0xed8 kernel/workqueue.c:3421 kthread+0x5ac/0x70c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 pool 2: task:kworker/0:4 state:R running task stack:0 pid:6212 tgid:6212 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events nsim_fib_event_work Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:742 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1274/0x2aa0 kernel/sched/core.c:6863 preempt_schedule_irq+0x80/0x188 kernel/sched/core.c:7190 raw_irqentry_exit_cond_resched+0x30/0x44 kernel/entry/common.c:173 irqentry_exit+0x1b0/0x2f4 kernel/entry/common.c:216 exit_to_kernel_mode+0x10/0x1c arch/arm64/kernel/entry-common.c:58 __el1_irq arch/arm64/kernel/entry-common.c:500 [inline] el1_interrupt+0x4c/0x60 arch/arm64/kernel/entry-common.c:510 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:515 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:592 should_resched arch/arm64/include/asm/preempt.h:78 [inline] (P) __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] (P) _raw_spin_unlock_irqrestore+0x64/0x98 kernel/locking/spinlock.c:194 (P) debug_object_active_state+0x16c/0x350 lib/debugobjects.c:1055 debug_rcu_head_queue kernel/rcu/rcu.h:237 [inline] __call_rcu_common kernel/rcu/tree.c:3104 [inline] call_rcu+0x6c/0x978 kernel/rcu/tree.c:3239 free_slab+0x54/0x160 mm/slub.c:3338 discard_slab+0x48/0x98 mm/slub.c:3346 __slab_free+0x208/0x23c mm/slub.c:6004 do_slab_free mm/slub.c:6618 [inline] ___cache_free+0x150/0x170 mm/slub.c:6737 qlink_free+0x48/0x94 mm/kasan/quarantine.c:163 qlist_free_all+0x44/0xb8 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x118/0x124 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x2c/0x88 mm/kasan/common.c:350 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4953 [inline] slab_alloc_node mm/slub.c:5263 [inline] __kmalloc_cache_noprof+0x34c/0x698 mm/slub.c:5771 kmalloc_noprof include/linux/slab.h:957 [inline] kzalloc_noprof include/linux/slab.h:1094 [inline] nsim_fib4_rt_create drivers/net/netdevsim/fib.c:280 [inline] nsim_fib4_rt_insert drivers/net/netdevsim/fib.c:426 [inline] nsim_fib4_event drivers/net/netdevsim/fib.c:464 [inline] nsim_fib_event+0x3c4/0x6fc0 drivers/net/netdevsim/fib.c:884 nsim_fib_event_work+0x1c8/0x308 drivers/net/netdevsim/fib.c:1493 process_one_work+0x7c0/0x1558 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x990/0xed8 kernel/workqueue.c:3421 kthread+0x5ac/0x70c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844