syzbot


INFO: rcu detected stall in sctp_inet_connect (5)

Status: auto-obsoleted due to no activity on 2023/09/02 17:34
Subsystems: net
[Documentation on labels]
First crash: 331d, last: 331d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sctp_inet_connect (2) kernel 4 1575d 1660d 0/26 auto-closed as invalid on 2020/04/07 07:45
linux-4.19 INFO: rcu detected stall in sctp_inet_connect 2 1353d 1418d 0/1 auto-closed as invalid on 2020/12/15 01:43
upstream INFO: rcu detected stall in sctp_inet_connect (4) sctp 6 895d 997d 0/26 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sctp_inet_connect (3) sctp 12 1261d 1473d 0/26 auto-closed as invalid on 2021/02/14 17:57
upstream INFO: rcu detected stall in sctp_inet_connect netfilter 1 1878d 1878d 0/26 auto-closed as invalid on 2019/09/07 12:17

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2688 jiffies s: 3797 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5714 Comm: syz-executor.3 Not tainted 6.4.0-rc4-syzkaller-00794-gf69de8aa4752 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:list_empty include/linux/list.h:292 [inline]
RIP: 0010:fq_pie_qdisc_dequeue+0x5b/0x9c0 net/sched/sch_fq_pie.c:238
Code: 03 4c 01 e0 48 89 44 24 10 48 8d 85 e0 02 00 00 48 89 04 24 48 c1 e8 03 48 89 44 24 18 e8 fd f6 44 f9 48 8b 44 24 10 80 38 00 <0f> 85 50 07 00 00 48 8b 85 f0 02 00 00 4d 89 f5 49 39 c6 0f 84 84
RSP: 0018:ffffc90000007620 EFLAGS: 00000246
RAX: ffffed100904065e RBX: ffff8880456b7c80 RCX: 0000000000000100
RDX: ffff888027279dc0 RSI: ffffffff883f4f43 RDI: ffff8880456b7c88
RBP: ffff888048203000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000
R13: ffff8880482032e0 R14: ffff8880482032f0 R15: 0000000000000001
FS:  00007f88e7d6a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e151000 CR3: 000000002930a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 dequeue_skb net/sched/sch_generic.c:292 [inline]
 qdisc_restart net/sched/sch_generic.c:397 [inline]
 __qdisc_run+0x1b2/0x1780 net/sched/sch_generic.c:415
 __dev_xmit_skb net/core/dev.c:3868 [inline]
 __dev_queue_xmit+0x2215/0x3b10 net/core/dev.c:4210
 dev_queue_xmit include/linux/netdevice.h:3085 [inline]
 neigh_connected_output+0x3c2/0x550 net/core/neighbour.c:1581
 neigh_output include/net/neighbour.h:544 [inline]
 ip6_finish_output2+0x55a/0x1560 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
 ip6_finish_output+0x69a/0x1170 net/ipv6/ip6_output.c:206
 NF_HOOK_COND include/linux/netfilter.h:292 [inline]
 ip6_output+0x1f1/0x540 net/ipv6/ip6_output.c:227
 dst_output include/net/dst.h:458 [inline]
 NF_HOOK include/linux/netfilter.h:303 [inline]
 ndisc_send_skb+0xa63/0x1850 net/ipv6/ndisc.c:508
 ndisc_send_rs+0x132/0x6f0 net/ipv6/ndisc.c:718
 addrconf_rs_timer+0x3f1/0x870 net/ipv6/addrconf.c:3936
 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751
 __run_timers kernel/time/timer.c:2022 [inline]
 __run_timers kernel/time/timer.c:1995 [inline]
 run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035
 __do_softirq+0x1d4/0x905 kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:fib_lookup_good_nhc+0x6/0x3f0 net/ipv4/fib_trie.c:1428
Code: 31 2f f9 48 8b 84 24 80 00 00 00 e9 49 f7 ff ff 48 8b 7c 24 70 e8 4a 30 2f f9 e9 e1 f7 ff ff 0f 1f 44 00 00 66 0f 1f 00 41 57 <41> 56 41 89 f6 41 55 41 54 49 89 d4 55 53 48 89 fb e8 24 34 dc f8
RSP: 0018:ffffc90015cbf100 EFLAGS: 00000246
RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9000cb73000
RDX: ffffc90015cbf458 RSI: 0000000000000001 RDI: ffff88802a510a80
RBP: 0000000000000001 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000000000001 R11: 92dd71f291be4a1d R12: ffff88802a510a80
R13: ffff88802a510a00 R14: 0000000000000000 R15: ffff88802223c420
 fib_table_lookup+0xd35/0x2320 net/ipv4/fib_trie.c:1618
 fib_lookup.constprop.0+0x145/0x4e0 include/net/ip_fib.h:383
 ip_route_output_key_hash_rcu+0xe97/0x2bc0 net/ipv4/route.c:2751
 ip_route_output_key_hash+0x18f/0x340 net/ipv4/route.c:2641
 __ip_route_output_key include/net/route.h:134 [inline]
 ip_route_output_flow+0x27/0x150 net/ipv4/route.c:2869
 ip_route_output_key include/net/route.h:150 [inline]
 sctp_v4_get_dst+0x2a7/0x11c0 net/sctp/protocol.c:451
 sctp_transport_route+0x129/0x350 net/sctp/transport.c:455
 sctp_assoc_add_peer+0x6e5/0x1530 net/sctp/associola.c:662
 sctp_process_param net/sctp/sm_make_chunk.c:2576 [inline]
 sctp_process_init+0x233a/0x2950 net/sctp/sm_make_chunk.c:2396
 sctp_cmd_process_init net/sctp/sm_sideeffect.c:706 [inline]
 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1386 [inline]
 sctp_side_effects net/sctp/sm_sideeffect.c:1198 [inline]
 sctp_do_sm+0x3b9b/0x5310 net/sctp/sm_sideeffect.c:1169
 sctp_assoc_bh_rcv+0x38a/0x6c0 net/sctp/associola.c:1051
 sctp_inq_push+0x1d6/0x270 net/sctp/inqueue.c:80
 sctp_backlog_rcv+0x19a/0x5b0 net/sctp/input.c:331
 sk_backlog_rcv include/net/sock.h:1115 [inline]
 __release_sock+0x133/0x3b0 net/core/sock.c:2917
 release_sock+0x58/0x1b0 net/core/sock.c:3484
 sctp_wait_for_connect+0x416/0x5c0 net/sctp/socket.c:9341
 __sctp_connect+0x9a1/0xc30 net/sctp/socket.c:1246
 sctp_connect net/sctp/socket.c:4810 [inline]
 sctp_inet_connect+0x161/0x200 net/sctp/socket.c:4825
 __sys_connect_file+0x153/0x1a0 net/socket.c:2003
 __sys_connect+0x165/0x1a0 net/socket.c:2020
 __do_sys_connect net/socket.c:2030 [inline]
 __se_sys_connect net/socket.c:2027 [inline]
 __x64_sys_connect+0x73/0xb0 net/socket.c:2027
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f88e708c169
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f88e7d6a168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007f88e71abf80 RCX: 00007f88e708c169
RDX: 000000000000001c RSI: 00000000200010c0 RDI: 0000000000000006
RBP: 00007f88e70e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd2656b4ff R14: 00007f88e7d6a300 R15: 0000000000022000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/04 17:27 net-next f69de8aa4752 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in sctp_inet_connect
* Struck through repros no longer work on HEAD.