BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 159s! Showing busy workqueues and worker pools: workqueue events: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=15 refcnt=16 pending: 5*nsim_dev_hwstats_traffic_work, vmstat_shepherd, 3*psi_avgs_work, 6*ovs_dp_masks_rebalance pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=12 refcnt=13 pending: delayed_vfree_work, 5*nsim_dev_hwstats_traffic_work, 3*psi_avgs_work, ovs_dp_masks_rebalance, bpf_prog_free_deferred, debugfs_reap_work workqueue events_long: flags=0x100 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=6 refcnt=7 pending: 6*defense_work_handler pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: defense_work_handler workqueue events_unbound: flags=0x2 pwq 8: cpus=0-1 flags=0x4 nice=0 active=28 refcnt=29 in-flight: 6925:linkwatch_event pending: toggle_allocation_gate, 10*nsim_dev_trap_report_work, 6*cfg80211_wiphy_work, flush_memcg_stats_dwork, macvlan_process_broadcast, idle_cull_fn, 6*macvlan_process_broadcast, crng_reseed pwq 8: cpus=0-1 flags=0x4 nice=0 active=12 refcnt=13 pending: 6*cfg80211_wiphy_work, macvlan_process_broadcast, idle_cull_fn, 4*macvlan_process_broadcast 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 2: cpus=0 node=0 flags=0x0 nice=0 active=4 refcnt=5 pending: nf_flow_offload_work_gc, wg_ratelimiter_gc_entries, 2*check_lifetime pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=12 refcnt=13 pending: 2*neigh_managed_work, 2*neigh_periodic_work, do_cache_clean, check_lifetime, gc_worker, reg_check_chans_work, 4*check_lifetime workqueue rcu_gp: flags=0x108 pwq 2: cpus=0 node=0 flags=0x0 nice=0 active=1 refcnt=2 in-flight: 5948:process_srcu workqueue netns: flags=0x6000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=4 in-flight: 144:cleanup_net 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 kblockd: flags=0x18 pwq 3: cpus=0 node=0 flags=0x0 nice=-20 active=1 refcnt=2 pending: blk_mq_timeout_work pwq 7: cpus=1 node=0 flags=0x0 nice=-20 active=1 refcnt=2 pending: blk_mq_requeue_work workqueue ipv6_addrconf: flags=0x6000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=10 in-flight: 55:addrconf_verify_work inactive: 6*addrconf_verify_work workqueue krxrpcd: flags=0x2001a pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=9 pending: rxrpc_peer_keepalive_worker inactive: 5*rxrpc_peer_keepalive_worker workqueue bat_events: flags=0x6000a pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=43 in-flight: 6923:batadv_tt_purge 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, 2*batadv_tt_purge, batadv_dat_purge, batadv_bla_periodic_work, batadv_dat_purge, batadv_bla_periodic_work, 5*batadv_mcast_mla_update, 2*batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, 2*batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, 6*batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, 4*batadv_iv_send_outstanding_bat_ogm_packet, 2*batadv_purge_orig, batadv_iv_send_outstanding_bat_ogm_packet, batadv_tt_purge 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 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_tx_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg1: flags=0x128 pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_tx_worker workqueue hci2: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 5141:hci_cmd_sync_work workqueue hci3: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 5826:hci_cmd_sync_work workqueue hci4: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 6944:hci_cmd_sync_work workqueue hci5: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 51:hci_cmd_sync_work workqueue hci7: flags=0x20012 pwq 9: cpus=0-1 node=0 flags=0x4 nice=-20 active=1 refcnt=4 in-flight: 6936:hci_cmd_sync_work 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=2 refcnt=3 pending: wg_packet_encrypt_worker, wg_packet_tx_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_decrypt_worker workqueue wg-kex-wg1: flags=0x124 workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_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_tx_worker, wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=2 refcnt=3 in-flight: 5886:wg_packet_decrypt_worker ,24:wg_packet_tx_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 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-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_tx_worker, wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_decrypt_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker workqueue wg-crypt-wg1: 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-wg2: 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-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_tx_worker, wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 pending: wg_packet_decrypt_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_worker pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_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_tx_worker, wg_packet_decrypt_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-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_tx_worker, wg_packet_decrypt_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_tx_worker, wg_packet_decrypt_worker pwq 6: cpus=1 node=0 flags=0x0 nice=0 active=1 refcnt=2 in-flight: 24:wg_packet_decrypt_worker workqueue wg-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x4 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_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_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-kex-wg1: flags=0x6 pwq 8: cpus=0-1 flags=0x6 nice=0 active=1 refcnt=2 pending: wg_packet_handshake_send_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_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 pwq 6: cpus=1 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=2 refcnt=3 pending: wg_packet_encrypt_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-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 pool 2: cpus=0 node=0 flags=0x0 nice=0 hung=68s workers=8 idle: 797 10 9 5906 5942 5916 5873 pool 6: cpus=1 node=0 flags=0x0 nice=0 hung=0s workers=9 idle: 7907 24 5886 29 7364 pool 8: cpus=0-1 flags=0x4 nice=0 hung=0s workers=17 idle: 10341 pool 9: cpus=0-1 node=0 flags=0x4 nice=-20 hung=0s workers=8 idle: 5831 5824 5828 Showing backtraces of running workers in stalled CPU-bound worker pools: pool 6: task:kworker/1:3 state:R running task stack:24448 pid:5809 tgid:5809 ppid:2 task_flags:0x4208060 flags:0x00080000 Workqueue: events_power_efficient neigh_periodic_work Call Trace: context_switch kernel/sched/core.c:5295 [inline] __schedule+0x1585/0x5340 kernel/sched/core.c:6907 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:7091 preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12 __local_bh_enable_ip+0xe1/0x130 kernel/softirq.c:457 spin_unlock_bh include/linux/spinlock.h:395 [inline] neigh_periodic_work+0xc28/0xe50 net/core/neighbour.c:1038 process_one_work kernel/workqueue.c:3275 [inline] process_scheduled_works+0xb02/0x1830 kernel/workqueue.c:3358 worker_thread+0xa50/0xfc0 kernel/workqueue.c:3439 kthread+0x388/0x470 kernel/kthread.c:467 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 pool 6: task:kworker/1:5 state:R running task stack:24448 pid:5893 tgid:5893 ppid:2 task_flags:0x4208060 flags:0x00080000 Workqueue: wg-kex-wg0 wg_packet_handshake_receive_worker Call Trace: context_switch kernel/sched/core.c:5295 [inline] __schedule+0x1585/0x5340 kernel/sched/core.c:6907 preempt_schedule_irq+0x4d/0xa0 kernel/sched/core.c:7234 irqentry_exit+0x599/0x620 kernel/entry/common.c:239 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:fadd lib/crypto/x86/curve25519.h:72 [inline] RIP: 0010:point_add_and_double lib/crypto/x86/curve25519.h:1002 [inline] RIP: 0010:montgomery_ladder lib/crypto/x86/curve25519.h:1093 [inline] RIP: 0010:curve25519_ever64 lib/crypto/x86/curve25519.h:1247 [inline] RIP: 0010:curve25519_arch lib/crypto/x86/curve25519.h:1594 [inline] RIP: 0010:curve25519+0x20d1/0x51d0 lib/crypto/curve25519.c:44 Code: df 4d 89 5f 38 48 c7 c0 00 00 00 00 48 0f 42 c2 49 01 c0 4d 89 47 20 48 8b 7c 24 38 48 89 fa 4c 8b 02 4d 03 04 24 4c 8b 4a 08 <66> 4d 0f 38 f6 4c 24 08 4c 8b 52 10 66 4d 0f 38 f6 54 24 10 4c 8b RSP: 0018:ffffc900042c71a0 EFLAGS: 00000213 RAX: 0000000000000000 RBX: 0000000000000016 RCX: ffffc900042c7240 RDX: ffffc900042c73c0 RSI: ffffc900042c7320 RDI: ffffc900042c73c0 RBP: ffffc900042c74f0 R08: 47d1756801090e32 R09: a31e540e6ea158c9 R10: 27673bf71bc48906 R11: a5f0d8be7e25213f R12: ffffc900042c73a0 R13: 0000000000000014 R14: 8a7153d959c89fdc R15: ffffc900042c73a0 mix_dh drivers/net/wireguard/noise.c:411 [inline] wg_noise_handshake_consume_initiation+0x245/0x9a0 drivers/net/wireguard/noise.c:608 wg_receive_handshake_packet drivers/net/wireguard/receive.c:144 [inline] wg_packet_handshake_receive_worker+0x674/0x10c0 drivers/net/wireguard/receive.c:213 process_one_work kernel/workqueue.c:3275 [inline] process_scheduled_works+0xb02/0x1830 kernel/workqueue.c:3358 worker_thread+0xa50/0xfc0 kernel/workqueue.c:3439 kthread+0x388/0x470 kernel/kthread.c:467 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 pool 6: task:kworker/1:7 state:R running task stack:25952 pid:7905 tgid:7905 ppid:2 task_flags:0x4208060 flags:0x00080000 Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker Call Trace: context_switch kernel/sched/core.c:5295 [inline] __schedule+0x1585/0x5340 kernel/sched/core.c:6907 preempt_schedule_irq+0x4d/0xa0 kernel/sched/core.c:7234 irqentry_exit+0x599/0x620 kernel/entry/common.c:239 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:__srcu_check_read_flavor+0x117/0x250 kernel/rcu/srcutree.c:808 Code: 01 00 00 41 80 3e 00 0f 84 80 00 00 00 85 c0 75 19 4c 89 e7 be 04 00 00 00 e8 25 8a 85 00 31 c0 f0 41 0f b1 1c 24 85 c0 74 04 <39> d8 75 27 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc RSP: 0018:ffffc90005757138 EFLAGS: 00000202 RAX: 0000000000000004 RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff8e7bee00 RBP: ffffffff931c2140 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc90005757318 R11: ffffffff81b0b0d0 R12: ffff8880b8729160 R13: dffffc0000000000 R14: ffffffff8e7bee10 R15: 1ffffffff1cf7dc2 srcu_check_read_flavor include/linux/srcutree.h:373 [inline] srcu_read_lock_fast_notrace include/linux/srcu.h:385 [inline] class_srcu_fast_notrace_constructor include/linux/srcu.h:634 [inline] __do_trace_lock_acquire include/trace/events/lock.h:24 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x26f/0x2e0 kernel/locking/lockdep.c:5831 rcu_lock_acquire include/linux/rcupdate.h:312 [inline] rcu_read_lock include/linux/rcupdate.h:850 [inline] class_rcu_constructor include/linux/rcupdate.h:1193 [inline] unwind_next_frame+0xc2/0x23c0 arch/x86/kernel/unwind_orc.c:495 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:340 [inline] __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:366 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4501 [inline] slab_alloc_node mm/slub.c:4830 [inline] kmem_cache_alloc_node_noprof+0x384/0x690 mm/slub.c:4882 __alloc_skb+0x1d0/0x7d0 net/core/skbuff.c:702 alloc_skb include/linux/skbuff.h:1383 [inline] wg_socket_send_buffer_to_peer+0x38/0x1c0 drivers/net/wireguard/socket.c:192 wg_packet_send_handshake_response+0x1b4/0x310 drivers/net/wireguard/send.c:103 wg_receive_handshake_packet drivers/net/wireguard/receive.c:154 [inline] wg_packet_handshake_receive_worker+0x6a9/0x10c0 drivers/net/wireguard/receive.c:213 process_one_work kernel/workqueue.c:3275 [inline] process_scheduled_works+0xb02/0x1830 kernel/workqueue.c:3358 worker_thread+0xa50/0xfc0 kernel/workqueue.c:3439 kthread+0x388/0x470 kernel/kthread.c:467 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess): 0: df 4d 89 fisttps -0x77(%rbp) 3: 5f pop %rdi 4: 38 48 c7 cmp %cl,-0x39(%rax) 7: c0 00 00 rolb $0x0,(%rax) a: 00 00 add %al,(%rax) c: 48 0f 42 c2 cmovb %rdx,%rax 10: 49 01 c0 add %rax,%r8 13: 4d 89 47 20 mov %r8,0x20(%r15) 17: 48 8b 7c 24 38 mov 0x38(%rsp),%rdi 1c: 48 89 fa mov %rdi,%rdx 1f: 4c 8b 02 mov (%rdx),%r8 22: 4d 03 04 24 add (%r12),%r8 26: 4c 8b 4a 08 mov 0x8(%rdx),%r9 * 2a: 66 4d 0f 38 f6 4c 24 adcx 0x8(%r12),%r9 <-- trapping instruction 31: 08 32: 4c 8b 52 10 mov 0x10(%rdx),%r10 36: 66 4d 0f 38 f6 54 24 adcx 0x10(%r12),%r10 3d: 10 3e: 4c rex.WR 3f: 8b .byte 0x8b