BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 172s! BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=-20 stuck for 153s! Showing busy workqueues and worker pools: workqueue events: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=6 refcnt=7 pending: 4*nsim_dev_hwstats_traffic_work, psi_avgs_work, vmstat_shepherd pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=15 refcnt=16 in-flight: 5990:free_ipc for 172s pending: 6*nsim_dev_hwstats_traffic_work, ovs_dp_masks_rebalance, psi_avgs_work, ovs_dp_masks_rebalance, bpf_prog_free_deferred, delayed_vfree_work, free_obj_work, switchdev_deferred_process_work, rht_deferred_worker workqueue events_long: flags=0x100 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=4 refcnt=5 pending: 2*defense_work_handler, br_multicast_gc_work, br_fdb_cleanup workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x4 nice=0 active=13 refcnt=14 in-flight: 7373:toggle_allocation_gate for 0s pending: cfg80211_wiphy_work, 10*nsim_dev_trap_report_work, flush_memcg_stats_dwork pwq 8: cpus=0-1 flags=0x4 nice=0 active=9 refcnt=10 pending: 9*cfg80211_wiphy_work workqueue events_freezable: flags=0x104 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: update_balloon_stats_func workqueue events_power_efficient: flags=0x180 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=8 refcnt=9 pending: wg_ratelimiter_gc_entries, 2*neigh_managed_work, 2*neigh_periodic_work, do_cache_clean, 2*check_lifetime workqueue rcu_gp: flags=0x108 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 in-flight: 5884:process_srcu for 172s 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=0x0 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 pending: wb_workfn workqueue kblockd: flags=0x18 pwq 7: cpus=1 node=0 flags=0x0 nice=-20 active=1 refcnt=2 pending: blk_mq_requeue_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=20 in-flight: 9645:batadv_iv_send_outstanding_bat_ogm_packet for 1s inactive: 6*batadv_iv_send_outstanding_bat_ogm_packet, 5*batadv_mcast_mla_update, batadv_dat_purge, 2*batadv_bla_periodic_work, 2*batadv_dat_purge workqueue wg-crypt-wg0: flags=0x128 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-crypt-wg1: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg2: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue hci1: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 5829:hci_cmd_sync_work for 124s workqueue wg-crypt-wg0: flags=0x128 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-crypt-wg1: flags=0x128 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-wg2: flags=0x6 workqueue wg-crypt-wg2: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue hci3: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 5836:hci_cmd_sync_work for 96s workqueue wg-kex-wg0: flags=0x124 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=0x124 pwq 6: cpus=1 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=1 refcnt=2 pending: wg_packet_tx_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: 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=1 refcnt=2 pending: wg_packet_tx_worker workqueue hci5: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 14177:hci_cmd_sync_work for 89s workqueue wg-crypt-wg0: flags=0x128 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=2 refcnt=3 pending: 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_decrypt_worker, wg_packet_tx_worker, wg_packet_encrypt_worker workqueue hci2: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 17982:hci_cmd_sync_work for 21s workqueue hci6: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 17980:hci_cmd_sync_work for 21s workqueue hci7: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 17979:hci_cmd_sync_work for 21s workqueue hci8: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 17975:hci_cmd_sync_work for 21s workqueue hci9: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 14547:hci_cmd_sync_work for 21s workqueue hci10: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 14550:hci_rx_work for 81s inactive: hci_cmd_work workqueue hci11: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 14175:hci_rx_work for 81s inactive: hci_cmd_work workqueue hci12: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 5842:hci_rx_work for 80s inactive: hci_cmd_work workqueue hci13: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 14548:hci_rx_work for 78s inactive: hci_cmd_work workqueue hci14: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 17965:hci_rx_work for 78s inactive: hci_cmd_work workqueue hci15: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 14549:hci_rx_work for 21s inactive: hci_cmd_work workqueue hci16: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 17983:hci_rx_work for 21s inactive: hci_cmd_work workqueue hci17: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 17989:hci_rx_work for 21s inactive: hci_cmd_work workqueue hci18: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 17985:hci_rx_work for 17s inactive: hci_cmd_work workqueue hci19: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=5 in-flight: 17994:hci_rx_work for 17s inactive: hci_cmd_work pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=0s workers=8 idle: 5884 5990 796 13090 11386 5930 5827 pool 8: cpus=0-1 flags=0x4 nice=0 hung=0s workers=15 idle: 7387 151 9639 7373 9641 7369 13 7382 1157 9637 12 9635 7390 59 pool 9: cpus=0-1 node=0 flags=0x4 nice=-20 hung=0s workers=20 idle: 17990 17984 Showing backtraces of busy workers in stalled worker pools: pool 6: task:kworker/1:1 state:D stack:23808 pid:29 tgid:29 ppid:2 task_flags:0x4208060 flags:0x00080000 Workqueue: events switchdev_deferred_process_work Call Trace: context_switch kernel/sched/core.c:5298 [inline] __schedule+0x15dd/0x52d0 kernel/sched/core.c:6911 __schedule_loop kernel/sched/core.c:6993 [inline] schedule+0x164/0x360 kernel/sched/core.c:7008 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7065 __mutex_lock_common kernel/locking/mutex.c:692 [inline] __mutex_lock+0x7fe/0x1300 kernel/locking/mutex.c:776 switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 process_one_work kernel/workqueue.c:3276 [inline] process_scheduled_works+0xb6e/0x18c0 kernel/workqueue.c:3359 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3440 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245