syzbot


INFO: task hung in nsim_destroy

Status: upstream: reported on 2024/06/17 07:16
Reported-by: syzbot+27da42cd3ccdd57ba047@syzkaller.appspotmail.com
First crash: 38d, last: 38d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in nsim_destroy (4) net 153 17h58m 54d 0/27 upstream: reported on 2024/05/31 11:16
upstream INFO: task hung in nsim_destroy net 1 1009d 1009d 0/27 auto-closed as invalid on 2022/01/17 12:55
upstream INFO: task hung in nsim_destroy (2) net 2 365d 422d 0/27 auto-obsoleted due to no activity on 2023/09/24 06:54
upstream INFO: task hung in nsim_destroy (3) net 1 295d 295d 0/27 auto-obsoleted due to no activity on 2024/01/01 15:33

Sample crash report:
INFO: task kworker/u4:4:57 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:4    state:D stack:22368 pid:57    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
 nsim_destroy+0x3a/0x140 drivers/net/netdevsim/netdev.c:381
 __nsim_dev_port_del+0x153/0x1b0 drivers/net/netdevsim/dev.c:1430
 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1442 [inline]
 nsim_dev_reload_destroy+0x286/0x490 drivers/net/netdevsim/dev.c:1659
 nsim_dev_reload_down+0x94/0xc0 drivers/net/netdevsim/dev.c:965
 devlink_reload+0x1eb/0x6a0 net/devlink/leftover.c:4492
 devlink_pernet_pre_exit+0x14e/0x2c0 net/devlink/leftover.c:12521
 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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/17 07:15 linux-6.1.y eb44d83053d6 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in nsim_destroy
* Struck through repros no longer work on HEAD.