BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 184s!
Showing busy workqueues and worker pools:
workqueue events: flags=0x0
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=8 refcnt=9
pending: 4*nsim_dev_hwstats_traffic_work, psi_avgs_work, vmstat_shepherd, 2*psi_avgs_work
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=16 refcnt=17
pending: psi_avgs_work, 3*ovs_dp_masks_rebalance, free_obj_work, rht_deferred_worker, delayed_vfree_work, 2*nsim_dev_hwstats_traffic_work, 3*rht_deferred_worker, psi_avgs_work, bpf_prog_free_deferred, psi_avgs_work, rht_deferred_worker
workqueue events_highpri: flags=0x10
pwq 7: cpus=1 node=0 flags=0x0 nice=-20 active=1 refcnt=2
pending: fill_page_cache_func
workqueue events_long: flags=0x0
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=3 refcnt=4
pending: 3*defense_work_handler
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=7 refcnt=8
pending: br_fdb_cleanup, 3*defense_work_handler, 3*br_fdb_cleanup
workqueue events_unbound: flags=0x2
pwq 8: cpus=0-1 flags=0x6 nice=0 active=15 refcnt=16
in-flight: 1153:cfg80211_wiphy_work cfg80211_wiphy_work ,3576:cfg80211_wiphy_work cfg80211_wiphy_work ,3556:idle_cull_fn ,37:cfg80211_wiphy_work cfg80211_wiphy_work
pending: idle_cull_fn, toggle_allocation_gate, 2*nsim_dev_trap_report_work, flush_memcg_stats_dwork, 2*nsim_dev_trap_report_work, cfg80211_wiphy_work
pwq 8: cpus=0-1 flags=0x6 nice=0 active=13 refcnt=14
in-flight: 1167:cfg80211_wiphy_work cfg80211_wiphy_work ,12:cfg80211_wiphy_work cfg80211_wiphy_work ,8087:cfg80211_wiphy_work cfg80211_wiphy_work ,1012:cfg80211_wiphy_work cfg80211_wiphy_work ,13:cfg80211_wiphy_work cfg80211_wiphy_work
pending: 2*nsim_dev_trap_report_work, macvlan_process_broadcast
workqueue events_freezable: flags=0x4
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2
pending: update_balloon_stats_func
workqueue events_power_efficient: flags=0x80
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=5 refcnt=6
pending: neigh_periodic_work, check_lifetime, neigh_managed_work, check_lifetime, do_cache_clean
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=8 refcnt=9
in-flight: 24:wg_ratelimiter_gc_entries ,983:neigh_periodic_work
pending: neigh_managed_work, gc_worker, 3*check_lifetime, nft_rhash_gc
workqueue kvfree_rcu_reclaim: flags=0xa
pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=4 MAYDAY
pending: 2*kfree_rcu_monitor
workqueue mm_percpu_wq: flags=0x8
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: vmstat_update
workqueue krdsd: flags=0x6000a
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=5
in-flight: 3415(RESCUER):rds_connect_worker
workqueue bat_events: flags=0x6000a
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=55
in-flight: 3426(RESCUER):batadv_tt_purge
inactive: batadv_tt_purge, batadv_nc_worker, 3*batadv_bla_periodic_work, 2*batadv_dat_purge, 2*batadv_bla_periodic_work, 3*batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, 5*batadv_nc_worker, 6*batadv_mcast_mla_update, 11*batadv_iv_send_outstanding_bat_ogm_packet, 6*batadv_purge_orig, 4*batadv_iv_send_outstanding_bat_ogm_packet, 4*batadv_tt_purge
workqueue wg-kex-wg0: flags=0x24
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2
in-flight: 5934: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-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=0x28
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_encrypt_worker
workqueue wg-kex-wg1: flags=0x24
pwq 2: cpus=0 node=0 flags=0x2 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-kex-wg1: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg1: flags=0x28
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4
pending: wg_packet_tx_worker, wg_packet_encrypt_worker, wg_packet_decrypt_worker
workqueue wg-kex-wg0: flags=0x24
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=0x28
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-wg0: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_send_worker
workqueue wg-kex-wg2: flags=0x24
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_receive_worker
workqueue wg-kex-wg2: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3
pending: 2*wg_packet_handshake_send_worker
workqueue wg-crypt-wg2: flags=0x28
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4
pending: wg_packet_decrypt_worker, wg_packet_tx_worker, wg_packet_encrypt_worker
workqueue wg-kex-wg1: flags=0x24
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2
in-flight: 93: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-kex-wg1: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg1: flags=0x28
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=2 refcnt=3
pending: 2*wg_packet_handshake_send_worker
workqueue wg-kex-wg2: flags=0x24
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2
in-flight: 9: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-kex-wg2: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3
pending: 2*wg_packet_handshake_send_worker
workqueue wg-crypt-wg2: flags=0x28
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3
pending: wg_packet_decrypt_worker, wg_packet_encrypt_worker
workqueue wg-kex-wg2: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3
in-flight: 60:wg_packet_handshake_send_worker
pending: wg_packet_handshake_send_worker
workqueue wg-kex-wg0: flags=0x24
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_receive_worker
workqueue wg-crypt-wg0: flags=0x28
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=0x24
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_receive_worker
workqueue wg-kex-wg1: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg1: flags=0x28
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=4 refcnt=5
in-flight: 5857:wg_packet_tx_worker wg_packet_tx_worker
pending: wg_packet_encrypt_worker, wg_packet_decrypt_worker
workqueue wg-kex-wg2: flags=0x24
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2
in-flight: 10: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-kex-wg2: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2
in-flight: 2981:wg_packet_handshake_send_worker
workqueue wg-crypt-wg2: flags=0x28
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4
pending: wg_packet_decrypt_worker, wg_packet_encrypt_worker, wg_packet_tx_worker
workqueue wg-kex-wg0: flags=0x24
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=2 refcnt=3
in-flight: 5948:wg_packet_handshake_receive_worker
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-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=0x28
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=0x24
pwq 2: cpus=0 node=0 flags=0x2 nice=0 active=1 refcnt=2
in-flight: 5994: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-kex-wg1: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3
in-flight: 36:wg_packet_handshake_send_worker
pending: wg_packet_handshake_send_worker
workqueue wg-crypt-wg1: flags=0x28
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4
pending: wg_packet_tx_worker, wg_packet_encrypt_worker, wg_packet_decrypt_worker
workqueue wg-kex-wg2: flags=0x24
pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_receive_worker
workqueue wg-kex-wg2: flags=0x6
pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2
pending: wg_packet_handshake_send_worker
pool 2: cpus=0 node=0 flags=0x2 nice=0 hung=2s workers=7 manager: 5941
pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=185s workers=8 idle: 5997 44 6025 8098 5927
pool 8: cpus=0-1 flags=0x6 nice=0 hung=1s workers=13 manager: 8100
Showing backtraces of running workers in stalled CPU-bound worker pools:
pool 6:
task:kworker/1:0 state:R running task stack:22424 pid:24 tgid:24 ppid:2 task_flags:0x4208060 flags:0x00004000
Workqueue: events_power_efficient wg_ratelimiter_gc_entries
Call Trace:
context_switch kernel/sched/core.c:5360 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6964
preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:7148
preempt_schedule+0xae/0xc0 kernel/sched/core.c:7172
preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12
__raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline]
_raw_spin_unlock+0x3f/0x50 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:391 [inline]
wg_ratelimiter_gc_entries+0x384/0x450 drivers/net/wireguard/ratelimiter.c:76
process_one_work kernel/workqueue.c:3263 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
pool 6:
task:kworker/1:2 state:R running task stack:20616 pid:983 tgid:983 ppid:2 task_flags:0x4208060 flags:0x00004000
Workqueue: events_power_efficient neigh_periodic_work
Call Trace:
context_switch kernel/sched/core.c:5360 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6964
preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:7148
preempt_schedule+0xae/0xc0 kernel/sched/core.c:7172
preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12
__local_bh_enable_ip+0x13e/0x1c0 kernel/softirq.c:414
neigh_periodic_work+0xc28/0xe50 net/core/neighbour.c:1040
process_one_work kernel/workqueue.c:3263 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
pool 6:
task:kworker/1:3 state:R running task stack:22056 pid:5857 tgid:5857 ppid:2 task_flags:0x4208060 flags:0x00004000
Workqueue: wg-crypt-wg1 wg_packet_tx_worker
Call Trace:
context_switch kernel/sched/core.c:5360 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6964
preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:7148
preempt_schedule+0xae/0xc0 kernel/sched/core.c:7172
preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12
__local_bh_enable_ip+0x13e/0x1c0 kernel/softirq.c:414
wg_socket_send_skb_to_peer+0x16b/0x1d0 drivers/net/wireguard/socket.c:184
wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline]
wg_packet_tx_worker+0x1c8/0x7c0 drivers/net/wireguard/send.c:276
process_one_work kernel/workqueue.c:3263 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245