BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 43s! Showing busy workqueues and worker pools: workqueue events: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=15 refcnt=16 in-flight: 1859:reg_todo pending: nsim_dev_hwstats_traffic_work, vmstat_shepherd, psi_avgs_work, 3*ovs_dp_masks_rebalance, delayed_vfree_work, drm_fb_helper_damage_work, 2*psi_avgs_work, ovs_dp_masks_rebalance, free_obj_work, 2*psi_avgs_work pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=5 refcnt=6 pending: 5*nsim_dev_hwstats_traffic_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 workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x6 nice=0 active=2 refcnt=3 in-flight: 42:cfg80211_wiphy_work cfg80211_wiphy_work pwq 8: cpus=0-1 flags=0x6 nice=0 active=18 refcnt=19 in-flight: 12:cfg80211_wiphy_work cfg80211_wiphy_work ,41:cfg80211_wiphy_work cfg80211_wiphy_work ,5335:cfg80211_wiphy_work cfg80211_wiphy_work ,6676:cfg80211_wiphy_work cfg80211_wiphy_work ,8036:cfg80211_wiphy_work cfg80211_wiphy_work ,6641:cfg80211_wiphy_work cfg80211_wiphy_work ,806:cfg80211_wiphy_work cfg80211_wiphy_work pending: flush_memcg_stats_dwork, cfg80211_wiphy_work, crng_reseed, toggle_allocation_gate workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x6 nice=0 active=6 refcnt=7 pending: 6*macvlan_process_broadcast pwq 8: cpus=0-1 flags=0x6 nice=0 active=10 refcnt=11 in-flight: 721:nsim_dev_trap_report_work pending: 4*macvlan_process_broadcast, 5*nsim_dev_trap_report_work workqueue events_power_efficient: flags=0x182 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: neigh_periodic_work pwq 8: cpus=0-1 flags=0x6 nice=0 active=5 refcnt=6 in-flight: 15:neigh_periodic_work pending: do_cache_clean, fb_flashcursor, wg_ratelimiter_gc_entries, neigh_managed_work workqueue mm_percpu_wq: flags=0x8 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: vmstat_update workqueue kblockd: flags=0x18 pwq 7: cpus=1 node=0 flags=0x0 nice=-20 active=1 refcnt=2 pending: blk_mq_timeout_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=49 in-flight: 4308(RESCUER):batadv_tt_purge inactive: 3*batadv_tt_purge, batadv_purge_orig, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, 2*batadv_bla_periodic_work, 2*batadv_dat_purge, batadv_tt_purge, 2*batadv_mcast_mla_update, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, 4*batadv_mcast_mla_update, 6*batadv_iv_send_outstanding_bat_ogm_packet, 5*batadv_purge_orig, 9*batadv_iv_send_outstanding_bat_ogm_packet, batadv_tt_purge workqueue hci1: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 53:hci_cmd_sync_work workqueue wg-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 in-flight: 8283:wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x128 pwq 2: cpus=0 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-crypt-wg1: flags=0x128 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-wg2: 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-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 workqueue wg-crypt-wg0: flags=0x128 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=0x128 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-wg2: flags=0x128 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=0x128 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=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_decrypt_worker, wg_packet_tx_worker workqueue wg-crypt-wg2: flags=0x128 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=0x128 pwq 2: cpus=0 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-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=0x128 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-wg2: 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-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 workqueue bond1: flags=0x2000a pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=6 MAYDAY pending: bond_mii_monitor inactive: bond_3ad_state_machine_handler workqueue wg-crypt-wg0: flags=0x128 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=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=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_tx_worker, wg_packet_decrypt_worker workqueue wg-crypt-wg2: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=43s workers=7 idle: 9 6603 11 7988 8006 6560 pool 8: cpus=0-1 flags=0x6 nice=0 hung=0s workers=12 manager: 8284 pool 9: cpus=0-1 node=0 flags=0x4 nice=-20 hung=0s workers=6 idle: 6553 6554 6556 6144 6549 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 2: task:kworker/0:2 state:R running task stack:0 pid:1859 tgid:1859 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events reg_todo Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5325 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6929 preempt_schedule_common+0xe0/0x194 kernel/sched/core.c:7113 preempt_schedule+0x60/0x80 kernel/sched/core.c:7137 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x94/0x98 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock kernel/sched/wait.c:127 [inline] __wake_up+0x14c/0x1a8 kernel/sched/wait.c:146 netlink_unlock_table net/netlink/af_netlink.c:461 [inline] netlink_broadcast_filtered+0xcd8/0xde8 net/netlink/af_netlink.c:1539 netlink_broadcast+0x50/0x68 net/netlink/af_netlink.c:1559 uevent_net_broadcast_untagged lib/kobject_uevent.c:331 [inline] kobject_uevent_net_broadcast+0x33c/0x548 lib/kobject_uevent.c:410 kobject_uevent_env+0x528/0x884 lib/kobject_uevent.c:608 call_crda net/wireless/reg.c:586 [inline] reg_query_database+0x270/0x468 net/wireless/reg.c:1129 reg_process_hint_core net/wireless/reg.c:2665 [inline] reg_process_hint+0x154/0xd54 net/wireless/reg.c:3011 reg_process_pending_hints net/wireless/reg.c:3099 [inline] reg_todo+0x310/0x968 net/wireless/reg.c:3190 process_one_work+0x7e8/0x155c kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3427 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844