BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 234s! BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 233s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=11/256 refcnt=12 pending: psi_avgs_work, 2*nsim_dev_hwstats_traffic_work, kfree_rcu_monitor, 2*psi_avgs_work, 5*ovs_dp_masks_rebalance pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=9/256 refcnt=10 pending: nsim_dev_hwstats_traffic_work, kvmclock_update_fn, nsim_dev_hwstats_traffic_work, vmstat_shepherd, 2*psi_avgs_work, 2*ovs_dp_masks_rebalance, kfree_rcu_monitor workqueue events_long: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: br_fdb_cleanup pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=9/256 refcnt=10 pending: 7*defense_work_handler, 2*br_fdb_cleanup workqueue events_unbound: flags=0x2 pwq 4: cpus=0-1 flags=0x4 nice=0 active=15/512 refcnt=16 pending: 5*cfg80211_wiphy_work, 2*nsim_dev_trap_report_work, toggle_allocation_gate, nsim_dev_trap_report_work, 2*macvlan_process_broadcast, 2*idle_cull_fn, 2*macvlan_process_broadcast pwq 4: cpus=0-1 flags=0x4 nice=0 active=17/512 refcnt=18 in-flight: 19082:cfg80211_wiphy_work pending: 4*cfg80211_wiphy_work, flush_memcg_stats_dwork, nsim_dev_trap_report_work, 3*cfg80211_wiphy_work, crng_reseed, 2*macvlan_process_broadcast, 2*idle_cull_fn, 2*macvlan_process_broadcast workqueue events_freezable: flags=0x4 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: update_balloon_stats_func workqueue events_power_efficient: flags=0x80 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=5/256 refcnt=6 pending: wg_ratelimiter_gc_entries, neigh_managed_work, neigh_periodic_work, hash_netport4_gc, do_cache_clean pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=4/256 refcnt=5 pending: neigh_managed_work, neigh_periodic_work, gc_worker, check_lifetime workqueue mm_percpu_wq: flags=0x8 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: vmstat_update pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: vmstat_update workqueue writeback: flags=0x4a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wb_workfn workqueue kblockd: flags=0x18 pwq 1: cpus=0 node=0 flags=0x0 nice=-20 active=1/256 refcnt=2 pending: blk_mq_timeout_work workqueue usb_hub_wq: flags=0x4 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=2/256 refcnt=3 in-flight: 15460:hub_event hub_event workqueue dm_bufio_cache: flags=0x8 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: work_fn workqueue ipv6_addrconf: flags=0xe000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=10 pending: addrconf_verify_work inactive: 6*addrconf_verify_work workqueue bat_events: flags=0xe000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=57 pending: batadv_nc_worker inactive: 5*batadv_nc_worker, 6*batadv_mcast_mla_update, 6*batadv_iv_send_outstanding_bat_ogm_packet, 5*batadv_purge_orig, 2*batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, 10*batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_tt_purge, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, 3*batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, 2*batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, 4*batadv_tt_purge workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=3/256 refcnt=4 pending: 3*wg_packet_handshake_send_worker workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=3 pending: 2*wg_packet_handshake_send_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=3 pending: 2*wg_packet_handshake_send_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=3 pending: 2*wg_packet_handshake_send_worker pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=3 pending: wg_packet_handshake_send_worker, wg_queued_expired_zero_key_material workqueue wg-crypt-wg0: flags=0x28 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=3 pending: wg_packet_handshake_send_worker, wg_queued_expired_zero_key_material workqueue wg-crypt-wg1: flags=0x28 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=4/256 refcnt=5 pending: 2*wg_packet_handshake_send_worker, 2*wg_queued_expired_zero_key_material pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_queued_expired_zero_key_material pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x28 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=3 pending: wg_packet_handshake_send_worker, wg_queued_expired_zero_key_material workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_decrypt_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=3/256 refcnt=4 pending: 2*wg_packet_handshake_send_worker, wg_queued_expired_zero_key_material pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=3 pending: wg_packet_handshake_send_worker, wg_queued_expired_zero_key_material workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x28 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker pwq 4: cpus=0-1 flags=0x4 nice=0 active=2/256 refcnt=3 pending: 2*wg_packet_handshake_send_worker workqueue wg-kex-wg0: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg0: flags=0x28 pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=2/256 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-kex-wg2: flags=0x6 pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/256 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg2: flags=0x28 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: wg_packet_encrypt_worker workqueue bond1: flags=0xa000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=5 pending: bond_mii_monitor inactive: bond_3ad_state_machine_handler pool 0: cpus=0 node=0 flags=0x0 nice=0 hung=235s workers=6 idle: 5815 8 787 9 15698 pool 4: cpus=0-1 flags=0x4 nice=0 hung=235s workers=15 idle: 42 11 12 2893 16346 14949 10080 2943 144 10939 1135 1129 49 19083 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 0: task:kworker/0:4 state:R running task stack:23944 pid:15460 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x15ae/0x4660 kernel/sched/core.c:6700 schedule+0xbd/0x170 kernel/sched/core.c:6774 schedule_timeout+0x188/0x2d0 kernel/time/timer.c:2168 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion_timeout+0x2c6/0x5d0 kernel/sched/completion.c:167 usb_start_wait_urb+0x1ea/0x580 drivers/usb/core/message.c:72 usb_internal_control_msg drivers/usb/core/message.c:117 [inline] usb_control_msg+0x235/0x3e0 drivers/usb/core/message.c:167 hid_set_idle drivers/hid/usbhid/hid-core.c:657 [inline] usbhid_parse+0x5a1/0xbc0 drivers/hid/usbhid/hid-core.c:1049 hid_add_device+0x121/0x500 drivers/hid/hid-core.c:2824 usbhid_probe+0xe43/0x1260 drivers/hid/usbhid/hid-core.c:1447 usb_probe_interface+0x5c2/0xaf0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x247/0xae0 drivers/base/dd.c:718 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:880 driver_probe_device+0x4f/0x420 drivers/base/dd.c:910 __device_attach_driver+0x2ca/0x510 drivers/base/dd.c:1038 bus_for_each_drv+0x252/0x2e0 drivers/base/bus.c:459 __device_attach+0x2c1/0x420 drivers/base/dd.c:1110 bus_probe_device+0x180/0x260 drivers/base/bus.c:580 device_add+0x87c/0xc40 drivers/base/core.c:3700 usb_set_configuration+0x1ad0/0x2150 drivers/usb/core/message.c:2265 usb_generic_driver_probe+0x8d/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x12a/0x260 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x247/0xae0 drivers/base/dd.c:718 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:880 driver_probe_device+0x4f/0x420 drivers/base/dd.c:910 __device_attach_driver+0x2ca/0x510 drivers/base/dd.c:1038 bus_for_each_drv+0x252/0x2e0 drivers/base/bus.c:459 __device_attach+0x2c1/0x420 drivers/base/dd.c:1110 bus_probe_device+0x180/0x260 drivers/base/bus.c:580 device_add+0x87c/0xc40 drivers/base/core.c:3700 usb_new_device+0x995/0x1550 drivers/usb/core/hub.c:2660 hub_port_connect drivers/usb/core/hub.c:5529 [inline] hub_port_connect_change drivers/usb/core/hub.c:5669 [inline] port_event drivers/usb/core/hub.c:5833 [inline] hub_event+0x29d5/0x4a80 drivers/usb/core/hub.c:5915 process_one_work kernel/workqueue.c:2653 [inline] process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2730 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2811 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293