syzbot


INFO: task hung in switchdev_deferred_process_work

Status: upstream: reported on 2024/01/29 04:44
Reported-by: syzbot+e0e881452cc0b4a68469@syzkaller.appspotmail.com
First crash: 120d, last: 1d11h
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in switchdev_deferred_process_work (2) net C inconclusive 1063 7h30m 1401d 0/26 upstream: reported C repro on 2020/07/27 17:04
upstream INFO: task hung in switchdev_deferred_process_work net 35 1691d 2228d 0/26 closed as invalid on 2019/10/23 07:26
linux-5.15 INFO: task hung in switchdev_deferred_process_work 1 412d 412d 0/3 auto-obsoleted due to no activity on 2023/08/10 05:46
linux-4.19 INFO: task hung in switchdev_deferred_process_work 95 464d 1542d 0/1 upstream: reported on 2020/03/08 04:06
linux-4.14 INFO: task hung in switchdev_deferred_process_work 1 753d 753d 0/1 auto-obsoleted due to no activity on 2022/09/03 16:45
linux-5.15 INFO: task hung in switchdev_deferred_process_work (2) 36 66d 138d 0/3 upstream: reported on 2024/01/11 18:09

Sample crash report:
INFO: task kworker/1:1:26 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/1:1     state:D stack:22944 pid:26    ppid:2      flags:0x00004000
Workqueue: events switchdev_deferred_process_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
 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
 switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104
 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/u4:3:46 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:3    state:D stack:22456 pid:46    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

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/27 15:33 linux-6.1.y 88690811da69 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in switchdev_deferred_process_work
2024/03/10 04:08 linux-6.1.y 61adba85cc40 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in switchdev_deferred_process_work
2024/02/28 06:34 linux-6.1.y 81e1dc2f7001 d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in switchdev_deferred_process_work
2024/01/29 04:43 linux-6.1.y 883d1a956208 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: task hung in switchdev_deferred_process_work
* Struck through repros no longer work on HEAD.