BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 50s! Showing busy workqueues and worker pools: workqueue events: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=4 refcnt=5 in-flight: 5711:perf_sched_delayed for 36s ,9:xfrm_state_gc_task for 52s xfrm_state_gc_task pending: nsim_dev_hwstats_traffic_work pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 in-flight: 4800:switchdev_deferred_process_work for 52s switchdev_deferred_process_work workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x4 nice=0 active=4 refcnt=5 in-flight: 5396:linkwatch_event for 52s ,5383:cfg80211_wiphy_work for 4s cfg80211_wiphy_work pending: nsim_dev_trap_report_work workqueue events_power_efficient: flags=0x82 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 in-flight: 5386:crda_timeout_work for 49s workqueue netns: flags=0x6000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=4 in-flight: 5377:cleanup_net for 56s workqueue iou_exit: flags=0x2 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 in-flight: 8056:io_ring_exit_work for 37s workqueue ipv6_addrconf: flags=0x6000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=6 in-flight: 5431:addrconf_dad_work for 52s inactive: 2*addrconf_verify_work workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=5 pending: batadv_iv_send_outstanding_bat_ogm_packet inactive: batadv_iv_send_outstanding_bat_ogm_packet workqueue hci1: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 4718:hci_cmd_sync_work for 4s workqueue wg-crypt-wg0: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg0: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_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_decrypt_worker workqueue wg-crypt-wg2: flags=0x128 pwq 6: cpus=1 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-wg0: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg0: 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 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_decrypt_worker workqueue wg-crypt-wg2: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=3 refcnt=4 pending: wg_packet_decrypt_worker, wg_packet_encrypt_worker, wg_packet_tx_worker workqueue bond0: flags=0x2000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=5 pending: bond_netdev_notify_work inactive: bond_netdev_notify_work pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=0s workers=7 idle: 1167 10 4886 5086 868 pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=50s workers=10 idle: 4793 4815 867 4807 24 4814 26 4817 4816 pool 8: cpus=0-1 flags=0x4 nice=0 hung=0s workers=69 idle: 5413 5394 5433 5415 5416 5395 5379 5382 5409 40 5420 5399 5376 5392 5430 5400 5378 5428 58 5421 5042 5422 5417 5411 5429 5385 5418 5406 5397 5404 5414 5423 5398 5402 5387 48 5410 5407 5405 5408 212 5391 5384 5403 5388 5390 5085 5419 5389 5045 12 5412 5401 13 5424 1250 5380 266 8058 5434 8057 8060 8059 pool 9: cpus=0-1 node=0 flags=0x4 nice=-20 hung=0s workers=8 idle: 4708 4716 4715 51 4714 4717 4719 Showing backtraces of busy workers in stalled worker pools: pool 6: task:kworker/1:4 state:R running task stack:0 pid:4800 tgid:4800 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: events switchdev_deferred_process_work Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5520 [inline] __schedule+0x1370/0x2d80 kernel/sched/core.c:7270 __schedule_loop kernel/sched/core.c:7347 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7362 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7419 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x4ec/0xf14 kernel/locking/mutex.c:821 mutex_lock_nested+0x24/0x30 kernel/locking/mutex.c:874 rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 switchdev_deferred_process_work+0x14/0x28 net/switchdev/switchdev.c:104 process_one_work kernel/workqueue.c:3387 [inline] process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3470 worker_thread+0x798/0xbd0 kernel/workqueue.c:3551 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:838