BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 195s! BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 195s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=7/256 refcnt=8 in-flight: 786:nsim_fib_event_work nsim_fib_event_work pending: 2*nsim_dev_hwstats_traffic_work, psi_avgs_work, ovs_dp_masks_rebalance, kfree_rcu_monitor pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=4/256 refcnt=5 pending: psi_avgs_work, vmstat_shepherd, kfree_rcu_monitor, ovs_dp_masks_rebalance workqueue events_long: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: defense_work_handler pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: defense_work_handler workqueue events_unbound: flags=0x2 pwq 4: cpus=0-1 flags=0x4 nice=0 active=6/512 refcnt=7 pending: toggle_allocation_gate, 2*nsim_dev_trap_report_work, flush_memcg_stats_dwork, crng_reseed, idle_cull_fn pwq 4: cpus=0-1 flags=0x4 nice=0 active=5/512 refcnt=6 pending: 2*cfg80211_wiphy_work, 2*macvlan_process_broadcast, idle_cull_fn workqueue events_freezable: flags=0x4 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: update_balloon_stats_func workqueue events_power_efficient: flags=0x80 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=6/256 refcnt=7 pending: wg_ratelimiter_gc_entries, neigh_managed_work, neigh_periodic_work, do_cache_clean, reg_check_chans_work, check_lifetime pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=3/256 refcnt=4 pending: neigh_managed_work, neigh_periodic_work, gc_worker workqueue mm_percpu_wq: flags=0x8 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: vmstat_update pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: vmstat_update workqueue writeback: flags=0x4a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wb_workfn workqueue dm_bufio_cache: flags=0x8 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: work_fn workqueue mld: flags=0x40008 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/1 refcnt=8 pending: mld_dad_work inactive: 6*mld_dad_work pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/1 refcnt=5 pending: mld_dad_work inactive: 3*mld_dad_work workqueue ipv6_addrconf: flags=0xe000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=7 pending: addrconf_dad_work inactive: addrconf_dad_work, 2*addrconf_verify_work workqueue krxrpcd: flags=0xa001a pwq 5: cpus=0-1 node=0 flags=0x4 nice=-20 active=1/1 refcnt=5 pending: rxrpc_peer_keepalive_worker inactive: rxrpc_peer_keepalive_worker workqueue bat_events: flags=0xe000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=12 pending: batadv_nc_worker inactive: 3*batadv_iv_send_outstanding_bat_ogm_packet, batadv_mcast_mla_update, batadv_purge_orig, batadv_tt_purge, batadv_dat_purge, batadv_bla_periodic_work workqueue hci1: flags=0xa0012 pwq 5: cpus=0-1 node=0 flags=0x4 nice=-20 active=1/1 refcnt=5 pending: hci_cmd_timeout inactive: hci_conn_timeout workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=3 pending: 2*wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg2: flags=0x28 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker pool 2: cpus=1 node=0 flags=0x0 nice=0 hung=196s workers=6 idle: 5969 5974 23 5852 27 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 2: task:kworker/1:2 state:R running task stack:25128 pid:786 ppid:2 flags:0x00004000 Workqueue: events nsim_fib_event_work Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_timeout+0x160/0x280 kernel/time/timer.c:2167 schedule_timeout_uninterruptible kernel/time/timer.c:2201 [inline] msleep+0xa1/0xe0 kernel/time/timer.c:2322 nsim_fib6_rt_add drivers/net/netdevsim/fib.c:693 [inline] nsim_fib6_rt_insert drivers/net/netdevsim/fib.c:759 [inline] nsim_fib6_event drivers/net/netdevsim/fib.c:856 [inline] nsim_fib_event drivers/net/netdevsim/fib.c:889 [inline] nsim_fib_event_work+0x2695/0x3170 drivers/net/netdevsim/fib.c:1494 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293