syzbot


INFO: task hung in wg_netns_pre_exit

Status: auto-obsoleted due to no activity on 2024/09/28 16:36
Reported-by: syzbot+ca138fd69b26cbb34c34@syzkaller.appspotmail.com
First crash: 196d, last: 167d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in wg_netns_pre_exit wireguard 3 1449d 1523d 0/28 auto-closed as invalid on 2021/03/15 22:17
upstream INFO: task hung in wg_netns_pre_exit (2) wireguard 39 1115d 1139d 0/28 auto-closed as invalid on 2022/03/15 05:14
linux-5.15 INFO: task hung in wg_netns_pre_exit 6 81d 194d 0/3 upstream: reported on 2024/05/24 01:54
upstream INFO: task hung in wg_netns_pre_exit (4) wireguard 127 149d 188d 26/28 fixed on 2024/07/09 19:14
upstream INFO: task hung in wg_netns_pre_exit (5) wireguard 342 22h26m 69d 0/28 upstream: reported on 2024/09/25 23:05
upstream INFO: task hung in wg_netns_pre_exit (3) wireguard 4 469d 599d 0/28 auto-obsoleted due to no activity on 2023/11/21 16:36

Sample crash report:
INFO: task kworker/u4:0:9 blocked for more than 143 seconds.
      Not tainted 6.1.94-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:0    state:D stack:22776 pid:9     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:13:4039 blocked for more than 143 seconds.
      Not tainted 6.1.94-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:13    state:D stack:23896 pid:4039  ppid:2      flags:0x00004000
Workqueue: events_power_efficient crda_timeout_work
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

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/20 16:35 linux-6.1.y eb44d83053d6 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in wg_netns_pre_exit
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.