syzbot


INFO: task hung in wg_netns_pre_exit

Status: upstream: reported on 2024/05/22 02:49
Reported-by: syzbot+ca138fd69b26cbb34c34@syzkaller.appspotmail.com
First crash: 24d, last: 3d13h
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in wg_netns_pre_exit wireguard 3 1277d 1351d 0/27 auto-closed as invalid on 2021/03/15 22:17
upstream INFO: task hung in wg_netns_pre_exit (2) wireguard 39 943d 967d 0/27 auto-closed as invalid on 2022/03/15 05:14
linux-5.15 INFO: task hung in wg_netns_pre_exit 4 2d11h 22d 0/3 upstream: reported on 2024/05/24 01:54
upstream INFO: task hung in wg_netns_pre_exit (4) wireguard 93 13h32m 16d 0/27 upstream: reported on 2024/05/30 10:55
upstream INFO: task hung in wg_netns_pre_exit (3) wireguard 4 297d 427d 0/27 auto-obsoleted due to no activity on 2023/11/21 16:36

Sample crash report:
INFO: task kworker/u4:8:3687 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:8    state:D stack:21688 pid:3687  ppid:2      flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
 wg_netns_pre_exit+0x1b/0x1d0 drivers/net/wireguard/device.c:420
 ops_pre_exit_list net/core/net_namespace.c:162 [inline]
 cleanup_net+0x59c/0xb60 net/core/net_namespace.c:592
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
INFO: task kworker/1:15:4173 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/12 04:11 linux-6.1.y 88690811da69 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in wg_netns_pre_exit
2024/05/22 02:48 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in wg_netns_pre_exit
* Struck through repros no longer work on HEAD.