BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 59s! Showing busy workqueues and worker pools: workqueue events: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=13 refcnt=14 in-flight: 876:request_firmware_work_func for 117s pending: 2*nsim_dev_hwstats_traffic_work, delayed_vfree_work, 3*psi_avgs_work, vmstat_shepherd, 2*psi_avgs_work, free_obj_work, l2cap_chan_timeout, psi_avgs_work pwq 6: cpus=1 node=0 flags=0x2 nice=0 active=3 refcnt=4 pending: 3*nsim_dev_hwstats_traffic_work workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x4 nice=0 active=11 refcnt=12 in-flight: 1418:cfg80211_wiphy_work for 39s ,1367:cfg80211_wiphy_work for 62s cfg80211_wiphy_work ,3288:cfg80211_wiphy_work for 80s cfg80211_wiphy_work ,5039:nsim_dev_trap_report_work for 1s ,40:cfg80211_wiphy_work for 83s cfg80211_wiphy_work ,1495:cfg80211_wiphy_work for 79s cfg80211_wiphy_work pending: cfg80211_wiphy_work pwq 8: cpus=0-1 flags=0x4 nice=0 active=25 refcnt=26 in-flight: 42:cfg80211_wiphy_work for 77s cfg80211_wiphy_work ,61:cfg80211_wiphy_work for 83s cfg80211_wiphy_work ,210:cfg80211_wiphy_work for 83s cfg80211_wiphy_work ,13:cfg80211_wiphy_work for 75s cfg80211_wiphy_work ,3169:cfg80211_wiphy_work for 73s cfg80211_wiphy_work pending: macvlan_process_broadcast, 2*nsim_dev_trap_report_work, 3*macvlan_process_broadcast, nsim_dev_trap_report_work, 3*macvlan_process_broadcast, flush_memcg_stats_dwork, 2*macvlan_process_broadcast, nsim_dev_trap_report_work, toggle_allocation_gate workqueue events_power_efficient: flags=0x82 pwq 8: cpus=0-1 flags=0x4 nice=0 active=8 refcnt=9 pending: 3*neigh_periodic_work, gc_worker, 3*neigh_periodic_work, reg_check_chans_work pwq 8: cpus=0-1 flags=0x4 nice=0 active=6 refcnt=7 in-flight: 5040:neigh_periodic_work for 1s pending: do_cache_clean, 2*neigh_periodic_work, wg_ratelimiter_gc_entries, fb_flashcursor workqueue events_dfl_long: flags=0x2 pwq 8: cpus=0-1 flags=0x4 nice=0 active=6 refcnt=7 pending: 6*defense_work_handler workqueue mm_percpu_wq: flags=0x108 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: vmstat_update pwq 6: cpus=1 node=0 flags=0x2 nice=0 active=1 refcnt=2 pending: vmstat_update workqueue writeback: flags=0x4a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 in-flight: 12:wb_workfn for 72s workqueue mld: flags=0x40108 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: mld_ifc_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=45 MAYDAY in-flight: 2871(RESCUER):batadv_tt_purge for 21s pending: mayday_cursor_func inactive: batadv_tt_purge, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, batadv_tt_purge, batadv_dat_purge, batadv_bla_periodic_work, batadv_purge_orig, 5*batadv_mcast_mla_update, 11*batadv_iv_send_outstanding_bat_ogm_packet, 4*batadv_purge_orig, 4*batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_tt_purge workqueue ext4-rsv-conversion: flags=0xa pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=4 MAYDAY in-flight: 4313(RESCUER):ext4_end_io_rsv_work for 7s pending: mayday_cursor_func 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_decrypt_worker, wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x2 nice=0 active=2 refcnt=3 in-flight: 24:wg_packet_tx_worker for 1s pending: wg_packet_encrypt_worker workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=4 refcnt=5 in-flight: 9:wg_packet_decrypt_worker for 60s 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-kex-wg2: flags=0x6 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_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-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x4 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=3 refcnt=4 pending: wg_packet_encrypt_worker, wg_packet_decrypt_worker, wg_packet_tx_worker pwq 6: cpus=1 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 4475:wg_packet_encrypt_worker for 1s 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-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-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x4 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=3 refcnt=4 pending: wg_packet_tx_worker, wg_packet_decrypt_worker, wg_packet_encrypt_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-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-kex-wg2: flags=0x6 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg2: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_tx_worker, wg_packet_decrypt_worker, 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=0x2 nice=0 active=1 refcnt=2 in-flight: 4815:wg_packet_handshake_receive_worker for 1s 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-kex-wg0: flags=0x6 pwq 8: cpus=0-1 flags=0x4 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=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_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_decrypt_worker, wg_packet_encrypt_worker workqueue wg-crypt-wg1: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_tx_worker, wg_packet_decrypt_worker, wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x2 nice=0 active=1 refcnt=2 in-flight: 26:wg_packet_tx_worker for 5s workqueue wg-crypt-wg2: flags=0x128 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 loop1: flags=0x6 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: loop_rootcg_workfn pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=59s workers=9 idle: 4904 1251 10 4807 4816 4829 4803 pool 6: cpus=1 node=0 flags=0x2 nice=0 hung=0s workers=6 manager: 4777 idle: 4830 pool 8: cpus=0-1 flags=0x4 nice=0 hung=1s workers=14 idle: 5041 Showing backtraces of busy workers in stalled worker pools: pool 2: task:kworker/0:0 state:R running task stack:0 pid:9 tgid:9 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: wg-crypt-wg1 wg_packet_decrypt_worker Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T) context_switch kernel/sched/core.c:5583 [inline] __schedule+0x1368/0x2b50 kernel/sched/core.c:7382 preempt_schedule_common+0xd4/0x190 kernel/sched/core.c:7561 preempt_schedule+0x60/0x78 kernel/sched/core.c:7585 __local_bh_enable_ip+0x16c/0x234 kernel/softirq.c:480 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:237 [inline] _raw_spin_unlock_bh+0x3c/0x4c kernel/locking/spinlock.c:245 spin_unlock_bh include/linux/spinlock.h:407 [inline] ptr_ring_consume_bh include/linux/ptr_ring.h:399 [inline] wg_packet_decrypt_worker+0x980/0xa00 drivers/net/wireguard/receive.c:499 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 pool 2: task:kworker/0:2 state:R running task stack:0 pid:876 tgid:876 ppid:2 task_flags:0x4288060 flags:0x00000010 Workqueue: events request_firmware_work_func Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T) context_switch kernel/sched/core.c:5583 [inline] __schedule+0x1368/0x2b50 kernel/sched/core.c:7382 preempt_schedule_irq+0x74/0x174 kernel/sched/core.c:7662 irqentry_exit_cond_resched+0x30/0x40 kernel/entry/common.c:145 irqentry_exit_to_kernel_mode_preempt+0x44/0x54 include/linux/irq-entry-common.h:453 arm64_exit_to_kernel_mode_preempt+0x1c/0x38 arch/arm64/kernel/entry-common.c:108 __el1_irq arch/arm64/kernel/entry-common.c:572 [inline] el1_interrupt+0x4c/0x60 arch/arm64/kernel/entry-common.c:582 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:587 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:602 _compound_head include/linux/page-flags.h:226 [inline] (P) page_slab mm/slab.h:161 [inline] (P) virt_to_slab mm/slab.h:196 [inline] (P) qlink_to_cache mm/kasan/quarantine.c:131 [inline] (P) qlist_free_all+0x70/0x120 mm/kasan/quarantine.c:176 (P) kasan_quarantine_reduce+0x118/0x124 mm/kasan/quarantine.c:286 __kasan_kmalloc+0x2c/0xb4 mm/kasan/common.c:417 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5531 [inline] __kmalloc_noprof+0x34c/0x6c8 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] kobject_get_path+0xbc/0x2a4 lib/kobject.c:161 kobject_uevent_env+0x264/0x944 lib/kobject_uevent.c:548 kobject_uevent+0x2c/0x3c lib/kobject_uevent.c:659 device_del+0x5f8/0x71c drivers/base/core.c:3985 fw_load_sysfs_fallback drivers/base/firmware_loader/fallback.c:134 [inline] fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:172 [inline] firmware_fallback_sysfs+0x330/0x930 drivers/base/firmware_loader/fallback.c:248 _request_firmware+0xb30/0xf58 drivers/base/firmware_loader/main.c:898 request_firmware_work_func+0xa4/0x24c drivers/base/firmware_loader/main.c:1162 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854