BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 30s! BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 30s! BUG: workqueue lockup - pool cpus=0-1 flags=0x4 nice=0 stuck for 30s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=4 refcnt=5 pending: nsim_dev_hwstats_traffic_work, nsim_dev_trap_report_work, vmstat_shepherd, kfree_rcu_monitor pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=6 refcnt=7 in-flight: 12296:nsim_dev_trap_report_work pending: nsim_dev_hwstats_traffic_work, 3*psi_avgs_work, kfree_rcu_monitor workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: flush_memcg_stats_dwork workqueue events_power_efficient: flags=0x82 pwq 8: cpus=0-1 flags=0x4 nice=0 active=5 refcnt=6 pending: fb_flashcursor, wg_ratelimiter_gc_entries, 2*neigh_managed_work, neigh_periodic_work pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: neigh_periodic_work workqueue mm_percpu_wq: flags=0x8 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 3: cpus=0 node=0 flags=0x0 nice=-20 active=1 refcnt=2 pending: blk_mq_timeout_work workqueue dm_bufio_cache: flags=0x8 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: work_fn workqueue mld: flags=0x40008 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: mld_ifc_work workqueue ipv6_addrconf: flags=0x6000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=4 pending: addrconf_verify_work workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg2: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg0: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg1: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker workqueue wg-crypt-wg2: flags=0x28 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_encrypt_worker pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=30s workers=4 idle: 10072 12124 27 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 6: task:kworker/1:2 state:R running task stack:0 pid:12296 tgid:12296 ppid:2 flags:0x00000008 Workqueue: events nsim_dev_trap_report_work Call trace: __switch_to+0x1c8/0x2a0 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5409 [inline] __schedule+0xad8/0x2b30 kernel/sched/core.c:6746 preempt_schedule_common kernel/sched/core.c:6925 [inline] preempt_schedule+0xf4/0x254 kernel/sched/core.c:6949 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x6c/0x84 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:823 [inline] nsim_dev_trap_report_work+0x6c4/0xa40 drivers/net/netdevsim/dev.c:850 process_one_work+0x78c/0x1898 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x764/0xc24 kernel/workqueue.c:3416 kthread+0x27c/0x300 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 TCP: request_sock_TCP: Possible SYN flooding on port [::]:2. Sending cookies. TCP: request_sock_TCP: Possible SYN flooding on port [::]:2. Sending cookies. TCP: request_sock_TCP: Possible SYN flooding on port [::]:2. Sending cookies. TCP: request_sock_TCP: Possible SYN flooding on port [::]:2. Sending cookies. TCP: request_sock_TCP: Possible SYN flooding on port [::]:2. Sending cookies.