syzbot


INFO: task hung in do_ip_vs_set_ctl

Status: auto-closed as invalid on 2019/02/22 13:09
First crash: 2398d, last: 2398d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in do_ip_vs_set_ctl (2) lvs C done unreliable 3 2407d 2422d 0/28 closed as invalid on 2019/11/27 06:19
upstream INFO: task hung in do_ip_vs_set_ctl lvs C 1 2433d 2433d 0/28 closed as invalid on 2018/03/27 11:14
android-49 INFO: task hung in do_ip_vs_set_ctl (2) C 2 2406d 2050d 0/3 public: reported C repro on 2019/04/14 08:51
android-49 INFO: task hung in do_ip_vs_set_ctl C 1 2434d 2434d 0/3 closed as invalid on 2018/03/27 11:14

Sample crash report:
IPVS: sync thread started: state = BACKUP, mcast_ifn = lo, syncid = 0, id = 0
IPVS: stopping backup sync thread 20690 ...
INFO: task syz-executor0:20667 blocked for more than 120 seconds.
      Not tainted 4.4.130-g12ef385 #27
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor0   D ffff8801d29879a8 28336 20667   3908 0x20020004
 ffff8801d29879a8 0000000000000001 ffff8800b6b9b8e0 ffffed0016d7371b
 ffff8800b6b9b000 ffff8801db31fdb8 ffff8801db31fde0 ffff8801db31f4d8
 ffff8801db31f4c0 ffff8801d94a4800 ffff8800b6b9b000 0000000000000000
Call Trace:
 [<ffffffff838b14da>] schedule+0x7a/0x1b0 kernel/sched/core.c:3359
 [<ffffffff838b1c73>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3392
 [<ffffffff838b7db7>] __mutex_lock_common kernel/locking/mutex.c:582 [inline]
 [<ffffffff838b7db7>] mutex_lock_nested+0x307/0x850 kernel/locking/mutex.c:621
 [<ffffffff831c04f0>] do_ip_vs_set_ctl+0x8e0/0xb70 net/netfilter/ipvs/ip_vs_ctl.c:2356
 [<ffffffff830c4d7d>] compat_nf_sockopt net/netfilter/nf_sockopt.c:145 [inline]
 [<ffffffff830c4d7d>] compat_nf_setsockopt+0x10d/0x130 net/netfilter/nf_sockopt.c:155
 [<ffffffff83224457>] compat_ip_setsockopt+0xa7/0xe0 net/ipv4/ip_sockglue.c:1253
 [<ffffffff832c918a>] compat_udp_setsockopt+0x4a/0x90 net/ipv4/udp.c:2169
 [<ffffffff82f22b84>] compat_sock_common_setsockopt+0xb4/0x150 net/core/sock.c:2670
 [<ffffffff8300971c>] C_SYSC_setsockopt net/compat.c:384 [inline]
 [<ffffffff8300971c>] compat_SyS_setsockopt+0x14c/0x2a0 net/compat.c:367
 [<ffffffff81006d96>] do_syscall_32_irqs_on arch/x86/entry/common.c:392 [inline]
 [<ffffffff81006d96>] do_fast_syscall_32+0x326/0x8b0 arch/x86/entry/common.c:459
 [<ffffffff838c0e6a>] sysenter_flags_fixed+0xd/0x17
2 locks held by syz-executor0/20667:
 #0:  (rtnl_mutex){+.+.+.}, at: [<ffffffff82fb0787>] rtnl_lock+0x17/0x20 net/core/rtnetlink.c:70
 #1:  (ipvs->sync_mutex){+.+.+.}, at: [<ffffffff831c04f0>] do_ip_vs_set_ctl+0x8e0/0xb70 net/netfilter/ipvs/ip_vs_ctl.c:2356
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 491 Comm: khungtaskd Not tainted 4.4.130-g12ef385 #27
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8800bac74800 task.stack: ffff8801d8da8000
RIP: 0010:[<ffffffff810bfd66>]  [<ffffffff810bfd66>] native_apic_mem_write arch/x86/include/asm/apic.h:94 [inline]
RIP: 0010:[<ffffffff810bfd66>]  [<ffffffff810bfd66>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff810bfd66>]  [<ffffffff810bfd66>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff810bfd66>]  [<ffffffff810bfd66>] flat_send_IPI_mask+0xf6/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8801d8dafcc8  EFLAGS: 00000046
RAX: 0000000003000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fb300
RBP: ffff8801d8dafcf0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000000000003 R14: 0000000000000002 R15: ffffffff8446f7a0
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd6f966000 CR3: 00000000ad88b000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8446f7a0 ffffffff84a189a0 0000000000000007 fffffbfff0942be4
 0000000000000040 ffff8801d8dafd10 ffffffff810b5d21 ffffffff83c0b0a0
 0000000000000003 ffff8801d8dafd68 ffffffff81e18d03 ffffffff8140daaf
Call Trace:
 [<ffffffff810b5d21>] nmi_raise_cpu_backtrace+0x61/0x80 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81e18d03>] nmi_trigger_all_cpu_backtrace.cold.4+0x70/0xad lib/nmi_backtrace.c:85
 [<ffffffff810b5dc4>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff8141a199>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff8141a199>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff8141a199>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff8141a199>] watchdog.cold.1+0xd3/0xee kernel/hung_task.c:238
 [<ffffffff81190768>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff838bf955>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: b3 5f ff f6 c4 10 75 e2 44 89 e8 c1 e0 18 89 04 25 10 b3 5f ff 44 89 f2 09 da 80 cf 04 41 83 fe 02 0f 44 d3 89 14 25 00 b3 5f ff <41> f7 c4 00 02 00 00 75 1a 4c 89 e7 57 9d 0f 1f 44 00 00 e8 a2 
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.130-g12ef385 #27
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d9a41800 task.stack: ffff8801d9a50000
RIP: 0010:[<ffffffff810cc306>]  [<ffffffff810cc306>] native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:49
RSP: 0018:ffff8801d9a57da0  EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffffffff84a05a68 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8801d9a420dc
RBP: ffff8801d9a57da0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000001 R14: fffffbfff074890c R15: ffffffff84a05a68
FS:  0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001fa4000 CR3: 00000000ad88b000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801d9a57dd8 ffffffff81025da5 ffff8801d9a58000 0000000000000000
 0000000000000000 fffffbfff074890c ffffffff84a05a68 ffff8801d9a57de8
 ffffffff810272f0 ffff8801d9a57e00 ffffffff8121b9e7 dffffc0000000000
Call Trace:
 [<ffffffff81025da5>] arch_safe_halt arch/x86/include/asm/paravirt.h:117 [inline]
 [<ffffffff81025da5>] default_idle+0x55/0x3c0 arch/x86/kernel/process.c:290
 [<ffffffff810272f0>] arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:281
 [<ffffffff8121b9e7>] default_idle_call+0x57/0x70 kernel/sched/idle.c:93
 [<ffffffff8121c18f>] cpuidle_idle_call kernel/sched/idle.c:157 [inline]
 [<ffffffff8121c18f>] cpu_idle_loop kernel/sched/idle.c:253 [inline]
 [<ffffffff8121c18f>] cpu_startup_entry+0x6af/0x780 kernel/sched/idle.c:301
 [<ffffffff810aa174>] start_secondary+0x324/0x400 arch/x86/kernel/smpboot.c:242
Code: 00 00 00 00 00 55 48 89 e5 fa 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb f4 <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 f4 5d c3 66 0f 1f 84 

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/01 07:40 https://android.googlesource.com/kernel/common android-4.4 12ef385f51fe d5b114b4 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.