syzbot


INFO: task hung in wg_netns_pre_exit (5)

Status: upstream: reported C repro on 2024/09/25 23:05
Subsystems: wireguard
[Documentation on labels]
Reported-by: syzbot+f2fbf7478a35a94c8b7c@syzkaller.appspotmail.com
First crash: 618d, last: 2d10h
Cause bisection: introduced by (bisect log) :
commit d4dfc5700e867b22ab94f960f9a9972696a637d5
Author: Andrii Nakryiko <andrii@kernel.org>
Date: Tue Mar 19 23:38:49 2024 +0000

  bpf: pass whole link instead of prog when triggering raw tracepoint

Crash: INFO: rcu detected stall in corrupted (log)
Repro: syz .config
  
Discussions (6)
Title Replies (including bot) Last reply
[syzbot] Monthly wireguard report (Mar 2026) 0 (1) 2026/03/19 21:35
[syzbot] [wireguard?] INFO: task hung in wg_netns_pre_exit (5) 0 (4) 2026/03/08 14:56
[syzbot] Monthly wireguard report (Nov 2025) 0 (1) 2025/11/30 10:08
[syzbot] Monthly wireguard report (May 2025) 0 (1) 2025/05/12 06:34
[syzbot] Monthly wireguard report (Feb 2025) 0 (1) 2025/02/26 15:11
[syzbot] Monthly wireguard report (Dec 2024) 0 (1) 2024/12/26 09:01
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in wg_netns_pre_exit wireguard 1 3 1920d 1994d 0/29 auto-closed as invalid on 2021/03/15 22:17
upstream INFO: task hung in wg_netns_pre_exit (2) wireguard 1 39 1586d 1610d 0/29 auto-closed as invalid on 2022/03/15 05:14
linux-5.15 INFO: task hung in wg_netns_pre_exit 1 6 552d 665d 0/3 auto-obsoleted due to no activity on 2024/12/23 12:55
linux-6.6 INFO: task hung in wg_netns_pre_exit 1 1 76d 76d 0/2 upstream: reported on 2026/01/03 11:35
upstream INFO: task hung in wg_netns_pre_exit (4) wireguard 1 127 620d 659d 26/29 fixed on 2024/07/09 19:14
upstream INFO: task hung in wg_netns_pre_exit (3) wireguard 1 4 940d 1070d 0/29 auto-obsoleted due to no activity on 2023/11/21 16:36
linux-6.1 INFO: task hung in wg_netns_pre_exit 1 3 638d 667d 0/3 auto-obsoleted due to no activity on 2024/09/28 16:36
Last patch testing requests (2)
Created Duration User Patch Repo Result
2026/02/01 10:33 22m retest repro net-next report log
2025/11/16 19:07 23m retest repro net-next report log

Sample crash report:
INFO: task kworker/u8:7:1016 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:7    state:D stack:25664 pid:1016  tgid:1016  ppid:2      task_flags:0x4208060 flags:0x00080000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5295 [inline]
 __schedule+0x15dd/0x52d0 kernel/sched/core.c:6908
 __schedule_loop kernel/sched/core.c:6990 [inline]
 schedule+0x164/0x360 kernel/sched/core.c:7005
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7062
 __mutex_lock_common kernel/locking/mutex.c:692 [inline]
 __mutex_lock+0x7fe/0x1300 kernel/locking/mutex.c:776
 wg_netns_pre_exit+0x1c/0x200 drivers/net/wireguard/device.c:419
 ops_pre_exit_list net/core/net_namespace.c:161 [inline]
 ops_undo_list+0x187/0x940 net/core/net_namespace.c:234
 cleanup_net+0x56b/0x800 net/core/net_namespace.c:704
 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:436
 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158

Crashes (391):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/08 14:56 net c113d5e32678 5cb44a80 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/10/20 01:51 net-next 88224095b4e5 1c8c8cd8 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in wg_netns_pre_exit
2026/03/18 08:15 upstream f0caa1d49cc0 c8810548 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in wg_netns_pre_exit
2026/03/16 07:39 upstream f338e7738378 64e21424 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2026/03/11 23:11 upstream b29fb8829bff 2d88ab01 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in wg_netns_pre_exit
2026/02/21 22:04 upstream d79526b89571 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2026/02/08 09:40 upstream e7aa57247700 4c131dc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2026/02/07 07:45 upstream 2687c848e578 f20fc9f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2026/02/05 18:49 upstream f14faaf3a1fb 4936e85c .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2026/02/01 15:30 upstream 162b42445b58 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2026/01/18 05:53 upstream e84d960149e7 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2026/01/04 08:56 upstream aacb0a6d604a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/12/29 15:10 upstream 7839932417dd d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/12/21 06:30 upstream d8ba32c5a460 d1b870e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2025/12/12 16:53 upstream 187d0801404f d1b870e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2025/12/10 07:42 upstream 3d99347a2e1a d1b870e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2025/12/09 15:51 upstream cb015814f8b6 d1b870e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2025/11/20 23:07 upstream 8e621c9a3375 280ea308 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2025/10/13 18:22 upstream 3a8660878839 b6605ba8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2025/09/29 11:28 upstream e5f0a698b34e 86341da6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2025/09/25 11:38 upstream bf40f4b87761 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2025/09/13 01:22 upstream 22f20375f5b7 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2025/09/09 20:25 upstream 9dd1835ecda5 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2025/09/05 12:10 upstream d69eb204c255 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/09/02 13:58 upstream b320789d6883 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2025/08/29 00:48 upstream 07d9df80082b 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2025/08/26 13:50 upstream fab1beda7597 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2025/08/20 03:05 upstream b19a97d57c15 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in wg_netns_pre_exit
2025/07/03 00:16 upstream b4911fb0b060 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2025/05/05 19:39 upstream 92a09c47464d 6ca47dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in wg_netns_pre_exit
2025/04/09 19:28 upstream a24588245776 47d015b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2025/03/15 07:01 upstream 83158b21ae9a e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in wg_netns_pre_exit
2025/02/11 16:03 upstream febbc555cf0f f2baddf5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/01/23 08:50 upstream 7004a2e46d16 9d4f14f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in wg_netns_pre_exit
2024/12/05 16:01 upstream feffde684ac2 6e50d07b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in wg_netns_pre_exit
2024/12/03 20:21 upstream ceb8bf2ceaa7 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in wg_netns_pre_exit
2024/12/01 02:39 upstream cfd47302ac64 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in wg_netns_pre_exit
2024/09/25 22:28 upstream aa486552a110 349a68c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in wg_netns_pre_exit
2024/09/21 22:55 upstream 88264981f208 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in wg_netns_pre_exit
2024/09/11 02:57 upstream 8d8d276ba2fb 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in wg_netns_pre_exit
2025/01/17 20:02 upstream 9bffa1ad25b8 953d1c45 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in wg_netns_pre_exit
2024/11/28 22:12 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in wg_netns_pre_exit
2025/10/01 13:04 net daa26ea63c6f a1859138 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/02/02 13:18 net 3f1baa91a1fd 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/01/25 18:19 net 15a901361ec3 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/01/24 05:45 net 15a901361ec3 521b0ce3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/03/01 01:16 net-next 56794b5862c5 1e7a43e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/02/18 08:36 net-next dbcbec81c9b8 c37c7249 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/01/26 08:43 net-next 0ad9617c78ac 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/01/23 02:13 net-next 0ad9617c78ac 25e17fd3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/01/12 19:41 net-next 7d0da8f86234 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in wg_netns_pre_exit
2024/12/22 04:50 net-next ae418e95dd93 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in wg_netns_pre_exit
2024/12/14 05:23 net-next 2c27c7663390 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in wg_netns_pre_exit
2025/11/02 17:16 linux-next 98bd8b16ae57 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in wg_netns_pre_exit
2025/01/05 05:57 linux-next 8155b4ef3466 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in wg_netns_pre_exit
* Struck through repros no longer work on HEAD.