syzbot


INFO: rcu detected stall in inet_dgram_connect

Status: auto-closed as invalid on 2019/07/28 11:58
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+94683b47a87718b5dff7@syzkaller.appspotmail.com
First crash: 2172d, last: 2138d
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 26 open syzbot bugs in "net/xfrm" subsystem 1 (1) 2019/07/24 01:42
Reminder: 27 open syzbot bugs in "net/xfrm" subsystem 1 (1) 2019/06/25 05:51
INFO: rcu detected stall in inet_dgram_connect 0 (1) 2018/12/31 03:34
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: rcu detected stall in inet_dgram_connect 1 1982d 1982d 0/3 auto-closed as invalid on 2019/11/01 21:16

Sample crash report:
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P30629
rcu: 	(detected by 1, t=10503 jiffies, g=94565, q=1346)
syz-executor4   R  running task    27240 30629   7958 0x00000006
Call Trace:
 <IRQ>
 sched_show_task kernel/sched/core.c:5293 [inline]
 sched_show_task.cold+0x273/0x2d5 kernel/sched/core.c:5268
 rcu_print_detail_task_stall_rnp+0xc7/0x103 kernel/rcu/tree_plugin.h:690
 rcu_print_detail_task_stall kernel/rcu/tree_plugin.h:703 [inline]
 print_other_cpu_stall.cold+0x5b4/0x8bb kernel/rcu/tree.c:1289
 check_cpu_stall kernel/rcu/tree.c:1429 [inline]
 rcu_pending kernel/rcu/tree.c:3018 [inline]
 rcu_check_callbacks+0xf36/0x1380 kernel/rcu/tree.c:2521
 update_process_times+0x32/0x80 kernel/time/timer.c:1635
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x3a7/0x1050 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x18d/0x760 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x26/0x50 kernel/kcov.c:101
Code: 90 90 90 90 55 48 89 e5 48 8b 75 08 65 48 8b 04 25 40 ee 01 00 65 8b 15 c8 ee 7f 7e 81 e2 00 01 1f 00 75 2b 8b 90 d8 12 00 00 <83> fa 02 75 20 48 8b 88 e0 12 00 00 8b 80 dc 12 00 00 48 8b 11 48
RSP: 0018:ffff888061aff718 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff88808a480600 RBX: ffff888098593b00 RCX: ffffffff86c01255
RDX: 0000000000000002 RSI: ffffffff86c012bd RDI: 0000000000000001
RBP: ffff888061aff718 R08: ffff88808a480600 R09: 0000000000000000
R10: ffff88808a480600 R11: 0000000000000000 R12: 00000000fffffffd
R13: ffff888053be7dd0 R14: 0000000000000000 R15: 0000000000000000
 xfrm_policy_match+0x25d/0x2d0 net/xfrm/xfrm_policy.c:1896
 __xfrm_policy_eval_candidates net/xfrm/xfrm_policy.c:2022 [inline]
 xfrm_policy_eval_candidates net/xfrm/xfrm_policy.c:2053 [inline]
 xfrm_policy_lookup_bytype+0x95f/0xdb0 net/xfrm/xfrm_policy.c:2113
 xfrm_policy_lookup+0x7e/0x90 net/xfrm/xfrm_policy.c:2145
 xfrm_bundle_lookup net/xfrm/xfrm_policy.c:2939 [inline]
 xfrm_lookup_with_ifid+0x8cf/0x2a90 net/xfrm/xfrm_policy.c:3080
 xfrm_lookup net/xfrm/xfrm_policy.c:3172 [inline]
 xfrm_lookup_route+0x3b/0x1f0 net/xfrm/xfrm_policy.c:3183
 ip_route_output_flow+0xad/0xc0 net/ipv4/route.c:2582
 ip_route_connect include/net/route.h:309 [inline]
 __ip4_datagram_connect+0x7ae/0x1330 net/ipv4/datagram.c:51
 ip4_datagram_connect+0x30/0x50 net/ipv4/datagram.c:92
 inet_dgram_connect+0x150/0x2e0 net/ipv4/af_inet.c:571
 __sys_connect+0x357/0x490 net/socket.c:1664
 __do_sys_connect net/socket.c:1675 [inline]
 __se_sys_connect net/socket.c:1672 [inline]
 __x64_sys_connect+0x73/0xb0 net/socket.c:1672
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458089
Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fe351e75c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458089
RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000006
RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe351e766d4
R13: 00000000004be4ca R14: 00000000004ceaf8 R15: 00000000ffffffff
syz-executor4   R  running task    27240 30629   7958 0x80000006
protocol 88fb is buggy, dev hsr_slave_0
Call Trace:
protocol 88fb is buggy, dev hsr_slave_1
 <IRQ>
 sched_show_task kernel/sched/core.c:5293 [inline]
 sched_show_task.cold+0x273/0x2d5 kernel/sched/core.c:5268
 rcu_print_detail_task_stall_rnp+0xc7/0x103 kernel/rcu/tree_plugin.h:690
 rcu_print_detail_task_stall kernel/rcu/tree_plugin.h:705 [inline]
 print_other_cpu_stall.cold+0x613/0x8bb kernel/rcu/tree.c:1289
 check_cpu_stall kernel/rcu/tree.c:1429 [inline]
 rcu_pending kernel/rcu/tree.c:3018 [inline]
 rcu_check_callbacks+0xf36/0x1380 kernel/rcu/tree.c:2521
 update_process_times+0x32/0x80 kernel/time/timer.c:1635
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x3a7/0x1050 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x18d/0x760 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x26/0x50 kernel/kcov.c:101
Code: 90 90 90 90 55 48 89 e5 48 8b 75 08 65 48 8b 04 25 40 ee 01 00 65 8b 15 c8 ee 7f 7e 81 e2 00 01 1f 00 75 2b 8b 90 d8 12 00 00 <83> fa 02 75 20 48 8b 88 e0 12 00 00 8b 80 dc 12 00 00 48 8b 11 48
RSP: 0018:ffff888061aff718 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff88808a480600 RBX: ffff888098593b00 RCX: ffffffff86c01255
RDX: 0000000000000002 RSI: ffffffff86c012bd RDI: 0000000000000001
RBP: ffff888061aff718 R08: ffff88808a480600 R09: 0000000000000000
R10: ffff88808a480600 R11: 0000000000000000 R12: 00000000fffffffd
R13: ffff888053be7dd0 R14: 0000000000000000 R15: 0000000000000000
 xfrm_policy_match+0x25d/0x2d0 net/xfrm/xfrm_policy.c:1896
 __xfrm_policy_eval_candidates net/xfrm/xfrm_policy.c:2022 [inline]
 xfrm_policy_eval_candidates net/xfrm/xfrm_policy.c:2053 [inline]
 xfrm_policy_lookup_bytype+0x95f/0xdb0 net/xfrm/xfrm_policy.c:2113
 xfrm_policy_lookup+0x7e/0x90 net/xfrm/xfrm_policy.c:2145
 xfrm_bundle_lookup net/xfrm/xfrm_policy.c:2939 [inline]
 xfrm_lookup_with_ifid+0x8cf/0x2a90 net/xfrm/xfrm_policy.c:3080
 xfrm_lookup net/xfrm/xfrm_policy.c:3172 [inline]
 xfrm_lookup_route+0x3b/0x1f0 net/xfrm/xfrm_policy.c:3183
 ip_route_output_flow+0xad/0xc0 net/ipv4/route.c:2582
 ip_route_connect include/net/route.h:309 [inline]
 __ip4_datagram_connect+0x7ae/0x1330 net/ipv4/datagram.c:51
 ip4_datagram_connect+0x30/0x50 net/ipv4/datagram.c:92
 inet_dgram_connect+0x150/0x2e0 net/ipv4/af_inet.c:571
 __sys_connect+0x357/0x490 net/socket.c:1664
 __do_sys_connect net/socket.c:1675 [inline]
 __se_sys_connect net/socket.c:1672 [inline]
 __x64_sys_connect+0x73/0xb0 net/socket.c:1672
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458089
Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fe351e75c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458089
RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000006
RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe351e766d4
R13: 00000000004be4ca R14: 00000000004ceaf8 R15: 00000000ffffffff
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { P30629 } 10845 jiffies s: 11469 root: 0x0/T
rcu: blocking rcu_node structures:
net_ratelimit: 26 callbacks suppressed
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/29 11:57 net-old abfd04f738c2 aa432daf .config console log report ci-upstream-net-this-kasan-gce
2019/01/24 15:40 net-old 63530aba7826 ce1ccf97 .config console log report ci-upstream-net-this-kasan-gce
2019/01/23 19:35 net-old ab06418b7fb8 7cf3249c .config console log report ci-upstream-net-this-kasan-gce
2019/01/22 05:45 net-old 49a57857aeea badbbeee .config console log report ci-upstream-net-this-kasan-gce
2019/01/21 18:59 net-old 49a57857aeea badbbeee .config console log report ci-upstream-net-this-kasan-gce
2019/01/20 14:07 net-old 3e64cf7a435e 353f32ea .config console log report ci-upstream-net-this-kasan-gce
2019/01/20 10:34 net-old 3e64cf7a435e 353f32ea .config console log report ci-upstream-net-this-kasan-gce
2019/01/09 03:08 net-old 977e4899c9b4 010ed08b .config console log report ci-upstream-net-this-kasan-gce
2018/12/30 18:54 net-old f7d18ef6a95f 9942de5f .config console log report ci-upstream-net-this-kasan-gce
2019/01/05 01:52 net-next-old b71acb0e3721 0127e3ba .config console log report ci-upstream-net-kasan-gce
2019/01/04 04:43 net-next-old b71acb0e3721 7da23925 .config console log report ci-upstream-net-kasan-gce
2019/01/03 05:11 net-next-old b71acb0e3721 06a2b89f .config console log report ci-upstream-net-kasan-gce
2019/01/01 16:22 net-next-old b71acb0e3721 3d85f48c .config console log report ci-upstream-net-kasan-gce
2019/01/01 12:44 net-next-old b71acb0e3721 3d85f48c .config console log report ci-upstream-net-kasan-gce
2018/12/31 08:24 net-next-old b71acb0e3721 2b42fdc8 .config console log report ci-upstream-net-kasan-gce
2018/12/31 04:50 net-next-old b71acb0e3721 2b42fdc8 .config console log report ci-upstream-net-kasan-gce
2018/12/29 22:09 net-next-old b71acb0e3721 a40793d7 .config console log report ci-upstream-net-kasan-gce
2018/12/29 05:17 net-next-old b71acb0e3721 e33ad0f1 .config console log report ci-upstream-net-kasan-gce
2018/12/28 17:15 net-next-old b71acb0e3721 fc6ae81a .config console log report ci-upstream-net-kasan-gce
2018/12/28 17:07 net-next-old b71acb0e3721 fc6ae81a .config console log report ci-upstream-net-kasan-gce
2018/12/28 02:54 net-next-old b71acb0e3721 af317504 .config console log report ci-upstream-net-kasan-gce
2018/12/26 16:34 net-next-old 90cadbbf341d 8a41a0ad .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.