syzbot


INFO: task hung in ip6gre_exit_batch_net

Status: closed as dup on 2018/06/04 15:23
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+bf78a74f82c1cf19069e@syzkaller.appspotmail.com
First crash: 2371d, last: 1869d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
INFO: task hung in netdev_run_todo net 12 1919d 2474d
Discussions (1)
Title Replies (including bot) Last reply
INFO: task hung in ip6gre_exit_batch_net 12 (13) 2018/06/08 08:43
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in ip6gre_exit_batch_net (6) net 1 497d 497d 0/28 closed as invalid on 2023/09/07 14:36
upstream INFO: task hung in ip6gre_exit_batch_net (2) net 3 1830d 1830d 0/28 auto-closed as invalid on 2020/01/17 16:16
linux-4.19 INFO: task hung in ip6gre_exit_batch_net (2) 1 1444d 1444d 0/1 auto-closed as invalid on 2021/04/06 21:09
linux-4.19 INFO: task hung in ip6gre_exit_batch_net (3) 7 1043d 1210d 0/1 auto-closed as invalid on 2022/05/13 06:16
upstream INFO: task hung in ip6gre_exit_batch_net (4) net syz unreliable 44 1097d 1149d 0/28 closed as invalid on 2021/12/14 20:12
linux-5.15 INFO: task hung in ip6gre_exit_batch_net 4 166d 183d 0/3 auto-obsoleted due to no activity on 2024/09/16 15:09
linux-6.1 INFO: task hung in ip6gre_exit_batch_net 1 166d 166d 0/3 auto-obsoleted due to no activity on 2024/09/16 14:37
upstream INFO: task hung in ip6gre_exit_batch_net (5) net 1 875d 875d 0/28 auto-closed as invalid on 2022/09/28 06:40
linux-4.19 INFO: task hung in ip6gre_exit_batch_net 1 1847d 1847d 0/1 auto-closed as invalid on 2020/02/29 06:17
upstream INFO: task hung in ip6gre_exit_batch_net (3) net 18 1333d 1648d 0/28 auto-closed as invalid on 2021/06/27 10:57

Sample crash report:
INFO: task kworker/u4:3:403 blocked for more than 143 seconds.
      Not tainted 5.3.0-rc6+ #94
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/u4:3    D25464   403      2 0x80004000
Workqueue: netns cleanup_net
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x877/0xc50 kernel/sched/core.c:3880
 schedule+0x131/0x1e0 kernel/sched/core.c:3947
 exp_funnel_lock kernel/rcu/tree_exp.h:308 [inline]
 synchronize_rcu_expedited+0x555/0x5b0 kernel/rcu/tree_exp.h:816
 synchronize_net net/core/dev.c:9264 [inline]
 rollback_registered_many+0x777/0x1250 net/core/dev.c:8188
 unregister_netdevice_many+0x4e/0x290 net/core/dev.c:9309
 ip6gre_exit_batch_net+0x3df/0x410 net/ipv6/ip6_gre.c:1604
 ops_exit_list net/core/net_namespace.c:175 [inline]
 cleanup_net+0x70b/0xaa0 net/core/net_namespace.c:594
 process_one_work+0x7ef/0x10e0 kernel/workqueue.c:2269
 worker_thread+0xc01/0x1630 kernel/workqueue.c:2415
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
INFO: task syz-executor.2:27621 blocked for more than 143 seconds.
      Not tainted 5.3.0-rc6+ #94
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D28328 27621   9272 0x00004004
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x877/0xc50 kernel/sched/core.c:3880
 schedule+0x131/0x1e0 kernel/sched/core.c:3947
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4006
 __mutex_lock_common+0x1401/0x2820 kernel/locking/mutex.c:1007
 __mutex_lock kernel/locking/mutex.c:1077 [inline]
 mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:1092
 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72
 devinet_ioctl+0x290/0x1c40 net/ipv4/devinet.c:1061
 inet_ioctl+0x288/0x330 net/ipv4/af_inet.c:957
 packet_ioctl+0x182/0x250 net/packet/af_packet.c:4135
 sock_do_ioctl+0x7c/0x260 net/socket.c:1038
 sock_ioctl+0x461/0x680 net/socket.c:1189
 do_vfs_ioctl+0x744/0x1730 fs/ioctl.c:46
 ksys_ioctl fs/ioctl.c:713 [inline]
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0xe3/0x120 fs/ioctl.c:718
 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459879
Code: Bad RIP value.
RSP: 002b:00007fd81a0abc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459879
RDX: 00000000200000c0 RSI: 0000000000008914 RDI: 0000000000000005
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd81a0ac6d4
R13: 00000000004c5695 R14: 00000000004d9da8 R15: 00000000ffffffff
INFO: task syz-executor.2:27654 blocked for more than 143 seconds.
      Not tainted 5.3.0-rc6+ #94
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D30024 27654   9272 0x00004004
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x877/0xc50 kernel/sched/core.c:3880
 schedule+0x131/0x1e0 kernel/sched/core.c:3947
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:4006
 __mutex_lock_common+0x1401/0x2820 kernel/locking/mutex.c:1007
 __mutex_lock kernel/locking/mutex.c:1077 [inline]
 mutex_lock_nested+0x1b/0x30 kernel/locking/mutex.c:1092
 rtnl_lock+0x17/0x20 net/core/rtnetlink.c:72
 devinet_ioctl+0x290/0x1c40 net/ipv4/devinet.c:1061
 inet_ioctl+0x288/0x330 net/ipv4/af_inet.c:957
 packet_ioctl+0x182/0x250 net/packet/af_packet.c:4135
 sock_do_ioctl+0x7c/0x260 net/socket.c:1038
 sock_ioctl+0x461/0x680 net/socket.c:1189
 do_vfs_ioctl+0x744/0x1730 fs/ioctl.c:46
 ksys_ioctl fs/ioctl.c:713 [inline]
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0xe3/0x120 fs/ioctl.c:718
 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459879
Code: Bad RIP value.
RSP: 002b:00007fd81a08ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459879
RDX: 0000000020000040 RSI: 0000000000008914 RDI: 0000000000000005
RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd81a08b6d4
R13: 00000000004c5695 R14: 00000000004d9da8 R15: 00000000ffffffff
INFO: lockdep is turned off.
NMI backtrace for cpu 0
CPU: 0 PID: 1057 Comm: khungtaskd Not tainted 5.3.0-rc6+ #94
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1d8/0x2f8 lib/dump_stack.c:113
 nmi_cpu_backtrace+0xaf/0x1a0 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x174/0x290 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace+0x17/0x20 include/linux/nmi.h:146
 check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline]
 watchdog+0xbb9/0xbd0 kernel/hung_task.c:289
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/08/28 06:43 upstream 6525771f58cb fd37b39e .config console log report ci-upstream-kasan-gce-smack-root
2019/08/11 22:55 upstream 296d05cb0d3c acb51638 .config console log report ci-upstream-kasan-gce-selinux-root
2018/07/30 04:42 upstream 3cfb6772d4cf 1a381291 .config console log report ci-upstream-kasan-gce-root
2018/05/26 14:14 upstream bc2dbc5420e8 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2019/10/10 16:54 net-old 70c2655849a2 a4efa8c0 .config console log report ci-upstream-net-this-kasan-gce
2019/07/08 09:22 bpf-next c3ec002e633e f62e1e85 .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.