BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 35s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=11 refcnt=12 pending: 4*nsim_dev_hwstats_traffic_work, vmstat_shepherd, psi_avgs_work, 4*ovs_dp_masks_rebalance, free_obj_work pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 in-flight: 6539:switchdev_deferred_process_work switchdev_deferred_process_work ,24:bpf_prog_free_deferred workqueue events_long: flags=0x0 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: 2*defense_work_handler workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x6 nice=0 active=6 refcnt=7 in-flight: 535:cfg80211_wiphy_work cfg80211_wiphy_work ,7433:cfg80211_wiphy_work pending: cfg80211_wiphy_work, nsim_dev_trap_report_work, crng_reseed pwq 8: cpus=0-1 flags=0x6 nice=0 active=30 refcnt=31 in-flight: 197:linkwatch_event ,8251:cfg80211_wiphy_work cfg80211_wiphy_work ,7432:cfg80211_wiphy_work cfg80211_wiphy_work ,44:cfg80211_wiphy_work cfg80211_wiphy_work ,2074:cfg80211_wiphy_work ,8252:nsim_dev_trap_report_work ,14:cfg80211_wiphy_work cfg80211_wiphy_work ,45:cfg80211_wiphy_work cfg80211_wiphy_work pending: nsim_dev_trap_report_work, cfg80211_wiphy_work, 2*nsim_dev_trap_report_work, flush_memcg_stats_dwork, macvlan_process_broadcast, 2*nsim_dev_trap_report_work, 6*macvlan_process_broadcast, nsim_dev_trap_report_work, toggle_allocation_gate, nsim_dev_trap_report_work workqueue events_power_efficient: flags=0x82 pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3 pending: do_cache_clean, check_lifetime pwq 8: cpus=0-1 flags=0x6 nice=0 active=9 refcnt=10 in-flight: 12:crda_timeout_work pending: 2*neigh_periodic_work, gc_worker, 2*neigh_managed_work, check_lifetime, wg_ratelimiter_gc_entries, reg_check_chans_work workqueue netns: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=4 in-flight: 4359:cleanup_net workqueue mm_percpu_wq: flags=0x8 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: vmstat_update workqueue gid-cache-wq: flags=0x20002 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=5 pending: netdevice_event_work_handler inactive: update_gid_event_work_handler workqueue dm_bufio_cache: flags=0x8 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: work_fn workqueue ipv6_addrconf: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=82 in-flight: 698:addrconf_dad_work inactive: 76*addrconf_dad_work, 2*addrconf_verify_work workqueue krxrpcd: flags=0x2001a pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 pending: rxrpc_peer_keepalive_worker workqueue krdsd: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=4 pending: rds_connect_worker workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=57 in-flight: 4219(RESCUER):batadv_tt_purge inactive: 3*batadv_tt_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_tt_purge, batadv_dat_purge, 2*batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_nc_worker, batadv_dat_purge, batadv_bla_periodic_work, 5*batadv_nc_worker, 3*batadv_iv_send_outstanding_bat_ogm_packet, 6*batadv_mcast_mla_update, 13*batadv_iv_send_outstanding_bat_ogm_packet, 4*batadv_purge_orig, batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_purge_orig, batadv_tt_purge workqueue hci1: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 6489:hci_cmd_sync_work workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_tx_worker, wg_packet_decrypt_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 2: cpus=0 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-crypt-wg2: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=4 refcnt=5 in-flight: 6538:wg_packet_tx_worker pending: wg_packet_encrypt_worker, wg_packet_tx_worker, wg_packet_decrypt_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 2: cpus=0 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-wg2: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg2: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue loop1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: loop_workfn workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-crypt-wg2: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_tx_worker, wg_packet_decrypt_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=0 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-crypt-wg2: flags=0x28 pwq 2: cpus=0 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=2 refcnt=3 pending: 2*wg_packet_handshake_send_worker pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=35s workers=8 idle: 2227 6478 9 6536 11 6537 6567 pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=0s workers=6 idle: 6540 26 6568 6479 pool 8: cpus=0-1 flags=0x6 nice=0 hung=0s workers=14 manager: 8254 pool 9: cpus=0-1 node=0 flags=0x4 nice=-20 hung=0s workers=5 idle: 6495 6055 6493 55 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 2: task:kworker/0:6 state:R running task stack:0 pid:6538 tgid:6538 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: wg-crypt-wg0 wg_packet_tx_worker Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:734 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 preempt_schedule_common+0xe0/0x194 kernel/sched/core.c:6947 preempt_schedule+0x60/0x80 kernel/sched/core.c:6971 __local_bh_enable_ip+0x20c/0x35c kernel/softirq.c:414 __raw_read_unlock_bh include/linux/rwlock_api_smp.h:257 [inline] _raw_read_unlock_bh+0x3c/0x4c kernel/locking/spinlock.c:284 wg_socket_send_skb_to_peer+0x154/0x1a4 drivers/net/wireguard/socket.c:184 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x19c/0x6c8 drivers/net/wireguard/send.c:276 process_one_work+0x7e8/0x156c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847