syzbot


INFO: task hung in wg_noise_handshake_create_initiation (5)

Status: auto-obsoleted due to no activity on 2026/05/09 17:00
Subsystems: wireguard
[Documentation on labels]
First crash: 182d, last: 133d
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in wg_noise_handshake_create_initiation (2) wireguard 1 1 893d 893d 0/29 auto-obsoleted due to no activity on 2024/04/09 14:33
upstream INFO: task hung in wg_noise_handshake_create_initiation (3) wireguard 1 6 587d 745d 0/29 auto-obsoleted due to no activity on 2025/02/08 22:54
upstream INFO: task hung in wg_noise_handshake_create_initiation wireguard 1 2 2277d 2298d 0/29 auto-closed as invalid on 2020/06/25 19:28
upstream INFO: task hung in wg_noise_handshake_create_initiation (4) wireguard 1 2 306d 384d 0/29 auto-obsoleted due to no activity on 2025/11/17 01:01

Sample crash report:
INFO: task kworker/u8:4:60 blocked for more than 147 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:4    state:D stack:23352 pid:60    tgid:60    ppid:2      task_flags:0x4208160 flags:0x00080000
Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5260 [inline]
 __schedule+0x1522/0x51d0 kernel/sched/core.c:6867
 __schedule_loop kernel/sched/core.c:6949 [inline]
 schedule+0x164/0x360 kernel/sched/core.c:6964
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7021
 rwsem_down_write_slowpath+0x899/0x1040 kernel/locking/rwsem.c:1185
 __down_write_common kernel/locking/rwsem.c:1317 [inline]
 __down_write kernel/locking/rwsem.c:1326 [inline]
 down_write+0x1bc/0x200 kernel/locking/rwsem.c:1591
 wg_noise_handshake_create_initiation+0x140/0x830 drivers/net/wireguard/noise.c:530
 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:34 [inline]
 wg_packet_handshake_send_worker+0x18d/0x350 drivers/net/wireguard/send.c:51
 process_one_work kernel/workqueue.c:3257 [inline]
 process_scheduled_works+0xaec/0x17a0 kernel/workqueue.c:3340
 worker_thread+0xda6/0x1360 kernel/workqueue.c:3421
 kthread+0x726/0x8b0 kernel/kthread.c:463
 ret_from_fork+0x51b/0xa40 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
 </TASK>

Showing all locks held in the system:
2 locks held by kthreadd/2:
3 locks held by kworker/0:1/10:
3 locks held by kworker/u8:1/13:
3 locks held by kworker/1:0/24:
1 lock held by khungtaskd/31:
 #0: ffffffff8e55a360 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 #0: ffffffff8e55a360 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
 #0: ffffffff8e55a360 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
3 locks held by kworker/u8:2/36:
3 locks held by kworker/1:1/40:
3 locks held by kworker/u8:3/50:
4 locks held by kworker/u8:4/60:
 #0: ffff888034f15948 ((wq_completion)wg-kex-wg2#5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3232 [inline]
 #0: ffff888034f15948 ((wq_completion)wg-kex-wg2#5){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0 kernel/workqueue.c:3340
 #1: ffffc9000211fbc0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3233 [inline]
 #1: ffffc9000211fbc0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0 kernel/workqueue.c:3340
 #2: ffff888056a5d308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x12f/0x830 drivers/net/wireguard/noise.c:529
 #3: ffff8880553f7030 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x140/0x830 drivers/net/wireguard/noise.c:530
2 locks held by kswapd0/87:
3 locks held by kworker/1:2/106:
2 locks held by kworker/0:2/797:
3 locks held by kworker/u8:5/1244:
3 locks held by kworker/u8:6/1322:
3 locks held by kworker/u8:7/1343:
5 locks held by kworker/R-bat_e/3410:
3 locks held by kworker/u8:8/3577:
2 locks held by klogd/5185:
2 locks held by dhcpcd/5490:
1 lock held by dhcpcd/5491:
2 locks held by crond/5568:
2 locks held by getty/5585:
 #0: ffff88814cbf10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc900036bb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/5811:
4 locks held by syz-executor/5840:
5 locks held by syz-executor/5842:
4 locks held by syz-executor/5844:
4 locks held by kworker/0:5/5895:
2 locks held by kworker/0:6/5902:
2 locks held by kworker/1:5/5913:
3 locks held by kworker/1:6/5923:
4 locks held by kworker/1:7/5924:
4 locks held by kworker/u8:0/7925:
4 locks held by kworker/u8:9/7926:
3 locks held by kworker/u8:10/7927:
3 locks held by kworker/0:8/7928:
 #0: ffff88807f68f948 ((wq_completion)wg-kex-wg2#6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3232 [inline]
 #0: ffff88807f68f948 ((wq_completion)wg-kex-wg2#6){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0 kernel/workqueue.c:3340
 #1: ffffc900042bfbc0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3233 [inline]
 #1: ffffc900042bfbc0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0 kernel/workqueue.c:3340
 #2: ffff8880553f7030 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_begin_session+0x36/0xbd0 drivers/net/wireguard/noise.c:822
4 locks held by kworker/u8:11/7929:
 #0: ffff888033fe6148 ((wq_completion)wg-kex-wg2#7){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3232 [inline]
 #0: ffff888033fe6148 ((wq_completion)wg-kex-wg2#7){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0 kernel/workqueue.c:3340
 #1: ffffc90000117bc0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3233 [inline]
 #1: ffffc90000117bc0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0 kernel/workqueue.c:3340
 #2: ffff88807c429308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x12f/0x830 drivers/net/wireguard/noise.c:529
 #3: ffff888054f7aad8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x140/0x830 drivers/net/wireguard/noise.c:530
4 locks held by kworker/0:0/7932:
3 locks held by kworker/1:8/7933:

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:161 [inline]
 __sys_info lib/sys_info.c:157 [inline]
 sys_info+0x135/0x170 lib/sys_info.c:165
 check_hung_uninterruptible_tasks kernel/hung_task.c:346 [inline]
 watchdog+0xf90/0xfe0 kernel/hung_task.c:515
 kthread+0x726/0x8b0 kernel/kthread.c:463
 ret_from_fork+0x51b/0xa40 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 3410 Comm: kworker/R-bat_e Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Workqueue: bat_events batadv_dat_purge
RIP: 0010:lockdep_hardirqs_on_prepare+0x6f/0x260 kernel/locking/lockdep.c:4397
Code: 01 00 00 83 3d f1 fb 5d 18 00 75 37 9c 58 a9 00 02 00 00 0f 85 a2 01 00 00 8b 05 dc fb 5d 18 85 c0 75 0d 80 3d 36 a6 4e 0e 00 <0f> 85 62 01 00 00 85 c0 75 0f 65 8b 05 dc d9 52 11 85 c0 0f 85 a1
RSP: 0018:ffffc90000006b98 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000200 RCX: 0000000080000102
RDX: 0000000000000000 RSI: ffffffff8c073ae0 RDI: ffffffff8c073aa0
RBP: ffffc90000006cf0 R08: ffffffff8fef2077 R09: 1ffffffff1fde40e
R10: dffffc0000000000 R11: fffffbfff1fde40f R12: ffff888027f958c0
R13: ffffffff8a40c740 R14: ffffffff8a40c740 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881256f3000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f73de9456b8 CR3: 00000000355de000 CR4: 00000000003526f0
Call Trace:
 <IRQ>
 trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:78
 __local_bh_enable_ip+0xd0/0x130 kernel/softirq.c:455
 local_bh_enable include/linux/bottom_half.h:33 [inline]
 ip6_pol_route+0xfa4/0x13d0 net/ipv6/route.c:2318
 pol_lookup_func include/net/ip6_fib.h:617 [inline]
 fib6_rule_lookup+0x556/0x730 net/ipv6/fib6_rules.c:120
 ip6_route_input_lookup net/ipv6/route.c:2349 [inline]
 ip6_route_input+0x730/0xad0 net/ipv6/route.c:2652
 ip6_rcv_finish+0x141/0x2e0 net/ipv6/ip6_input.c:77
 ip_sabotage_in+0x1e1/0x270 net/bridge/br_netfilter_hooks.c:990
 nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
 nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623
 nf_hook include/linux/netfilter.h:273 [inline]
 NF_HOOK+0x21f/0x3c0 include/linux/netfilter.h:316
 __netif_receive_skb_one_core net/core/dev.c:6152 [inline]
 __netif_receive_skb net/core/dev.c:6265 [inline]
 netif_receive_skb_internal net/core/dev.c:6351 [inline]
 netif_receive_skb+0x278/0xbb0 net/core/dev.c:6410
 NF_HOOK+0xa4/0x3a0 include/linux/netfilter.h:319
 br_handle_frame_finish+0x14b2/0x1b40 net/bridge/br_input.c:-1
 br_nf_hook_thresh+0x3dd/0x4c0 net/bridge/br_netfilter_hooks.c:-1
 br_nf_pre_routing_finish_ipv6+0xa3a/0xd70 net/bridge/br_netfilter_ipv6.c:-1
 NF_HOOK include/linux/netfilter.h:318 [inline]
 br_nf_pre_routing_ipv6+0x374/0x6f0 net/bridge/br_netfilter_ipv6.c:184
 nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
 nf_hook_bridge_pre net/bridge/br_input.c:291 [inline]
 br_handle_frame+0x1277/0x1510 net/bridge/br_input.c:442
 __netif_receive_skb_core+0x98f/0x30a0 net/core/dev.c:6039
 __netif_receive_skb_one_core net/core/dev.c:6150 [inline]
 __netif_receive_skb net/core/dev.c:6265 [inline]
 process_backlog+0x76d/0x1950 net/core/dev.c:6617
 __napi_poll+0xae/0x340 net/core/dev.c:7681
 napi_poll net/core/dev.c:7744 [inline]
 net_rx_action+0x627/0xf70 net/core/dev.c:7896
 handle_softirqs+0x22a/0x7c0 kernel/softirq.c:622
 do_softirq+0x76/0xd0 kernel/softirq.c:523
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 __batadv_dat_purge net/batman-adv/distributed-arp-table.c:185 [inline]
 batadv_dat_purge+0x2da/0x3c0 net/batman-adv/distributed-arp-table.c:204
 process_one_work kernel/workqueue.c:3257 [inline]
 process_scheduled_works+0xaec/0x17a0 kernel/workqueue.c:3340
 rescuer_thread+0xcba/0x1390 kernel/workqueue.c:3528
 kthread+0x726/0x8b0 kernel/kthread.c:463
 ret_from_fork+0x51b/0xa40 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/08 16:52 upstream e7aa57247700 4c131dc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in wg_noise_handshake_create_initiation
2026/02/03 19:04 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 099ba40b1bd9 6df4c87a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in wg_noise_handshake_create_initiation
2026/01/24 07:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 497d23e167ce 4f25b9b4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in wg_noise_handshake_create_initiation
2025/12/20 22:14 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 8f0b4cce4481 e14dbeb9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in wg_noise_handshake_create_initiation
* Struck through repros no longer work on HEAD.