syzbot


INFO: rcu detected stall in inet_sendmsg (2)

Status: auto-closed as invalid on 2021/02/08 07:43
Reported-by: syzbot+2b4c94192f13de6d8ded@syzkaller.appspotmail.com
First crash: 1671d, last: 1504d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in inet_sendmsg sctp 35 1852d 2156d 0/28 auto-closed as invalid on 2020/01/26 18:56
linux-4.14 INFO: rcu detected stall in inet_sendmsg (2) 1 1654d 1654d 0/1 auto-closed as invalid on 2020/09/11 11:53
linux-4.14 INFO: rcu detected stall in inet_sendmsg 3 1902d 2009d 0/1 auto-closed as invalid on 2020/01/06 14:34
linux-4.19 INFO: rcu detected stall in inet_sendmsg 3 1902d 1904d 0/1 auto-closed as invalid on 2020/01/06 19:02
upstream INFO: rcu detected stall in inet_sendmsg (4) net 1 772d 772d 0/28 auto-obsoleted due to no activity on 2023/01/16 15:35
upstream INFO: rcu detected stall in inet_sendmsg (2) perf 13 1591d 1675d 15/28 fixed on 2020/07/17 17:58
upstream INFO: rcu detected stall in inet_sendmsg (3) perf syz error error 68 942d 1580d 0/28 auto-obsoleted due to no activity on 2022/10/08 22:05

Sample crash report:
9pnet: p9_fd_create_tcp (15005): problem connecting socket to 127.0.0.1
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P14947
rcu: 	(detected by 0, t=10503 jiffies, g=395701, q=7022)
syz-executor.0  R  running task    28368 14947   6517 0x00000006
Call Trace:
 <IRQ>
 sched_show_task+0x447/0x5a0 kernel/sched/core.c:5341
 rcu_print_detail_task_stall_rnp+0xc6/0xff kernel/rcu/tree_plugin.h:627
 rcu_print_detail_task_stall kernel/rcu/tree_plugin.h:640 [inline]
 print_other_cpu_stall kernel/rcu/tree.c:1418 [inline]
 check_cpu_stall kernel/rcu/tree.c:1557 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0x8c4/0x1098 kernel/rcu/tree.c:2682
 update_process_times+0x2a/0xb0 kernel/time/timer.c:1650
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:168
 tick_sched_timer+0xfc/0x290 kernel/time/tick-sched.c:1278
 __run_hrtimer kernel/time/hrtimer.c:1401 [inline]
 __hrtimer_run_queues+0x318/0xd50 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x357/0x9a0 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x135/0x5d0 arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x22/0x50 kernel/kcov.c:101
Code: 00 00 e9 39 ec ff ff 90 48 8b 34 24 65 48 8b 04 25 40 ee 01 00 65 8b 15 5c 1b 90 7e 81 e2 00 01 1f 00 75 2b 8b 90 e0 12 00 00 <83> fa 02 75 20 48 8b 88 e8 12 00 00 8b 80 e4 12 00 00 48 8b 11 48
RSP: 0018:ffff888031f07810 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff88809da82380 RBX: ffff88802e6a7da8 RCX: ffffffff86cc6fe7
RDX: 0000000000000002 RSI: ffffffff86cc713d RDI: 0000000000000005
RBP: 00000000000080fe R08: 0000000000000000 R09: 00000000000080fe
R10: 0000000000000005 R11: 0000000000000002 R12: 00000000000080fe
R13: 0000000000020021 R14: 0000000000000000 R15: 0000000000000001
 __ipv6_addr_type+0x20d/0x330 net/ipv6/addrconf_core.c:76
 ipv6_addr_type include/net/ipv6.h:403 [inline]
 __sctp_v6_cmp_addr+0x2b7/0x510 net/sctp/ipv6.c:607
 sctp_v6_cmp_addr+0x1a/0xc0 net/sctp/ipv6.c:621
 sctp_bind_addr_state+0x14b/0x380 net/sctp/bind_addr.c:393
 sctp_copy_local_addr_list+0x234/0x520 net/sctp/protocol.c:177
 sctp_copy_one_addr net/sctp/bind_addr.c:449 [inline]
 sctp_bind_addr_copy+0xde/0x470 net/sctp/bind_addr.c:71
 sctp_sendmsg_new_asoc+0x367/0x1040 net/sctp/socket.c:1745
 sctp_sendmsg+0x10f9/0x1530 net/sctp/socket.c:2108
 inet_sendmsg+0x174/0x640 net/ipv4/af_inet.c:798
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xc7/0x130 net/socket.c:632
 __sys_sendto+0x21a/0x320 net/socket.c:1787
 __do_sys_sendto net/socket.c:1799 [inline]
 __se_sys_sendto net/socket.c:1795 [inline]
 __x64_sys_sendto+0xdd/0x1b0 net/socket.c:1795
 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45de59
Code: 0d b4 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f1c58eb4c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 000000000002e8c0 RCX: 000000000045de59
RDX: 0000000000017810 RSI: 0000000020847fff RDI: 0000000000000003
RBP: 000000000118bf78 R08: 000000002005ffe4 R09: 000000000000001c
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007fff9561820f R14: 00007f1c58eb59c0 R15: 000000000118bf2c
syz-executor.0  R  running task    28368 14947   6517 0x80000006
Call Trace:
 <IRQ>
 sched_show_task+0x447/0x5a0 kernel/sched/core.c:5341
 rcu_print_detail_task_stall_rnp+0xc6/0xff kernel/rcu/tree_plugin.h:627
 rcu_print_detail_task_stall kernel/rcu/tree_plugin.h:642 [inline]
 print_other_cpu_stall kernel/rcu/tree.c:1418 [inline]
 check_cpu_stall kernel/rcu/tree.c:1557 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0x94d/0x1098 kernel/rcu/tree.c:2682
 update_process_times+0x2a/0xb0 kernel/time/timer.c:1650
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:168
 tick_sched_timer+0xfc/0x290 kernel/time/tick-sched.c:1278
 __run_hrtimer kernel/time/hrtimer.c:1401 [inline]
 __hrtimer_run_queues+0x318/0xd50 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x357/0x9a0 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x135/0x5d0 arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x22/0x50 kernel/kcov.c:101
Code: 00 00 e9 39 ec ff ff 90 48 8b 34 24 65 48 8b 04 25 40 ee 01 00 65 8b 15 5c 1b 90 7e 81 e2 00 01 1f 00 75 2b 8b 90 e0 12 00 00 <83> fa 02 75 20 48 8b 88 e8 12 00 00 8b 80 e4 12 00 00 48 8b 11 48
RSP: 0018:ffff888031f07810 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff88809da82380 RBX: ffff88802e6a7da8 RCX: ffffffff86cc6fe7
RDX: 0000000000000002 RSI: ffffffff86cc713d RDI: 0000000000000005
RBP: 00000000000080fe R08: 0000000000000000 R09: 00000000000080fe
R10: 0000000000000005 R11: 0000000000000002 R12: 00000000000080fe
R13: 0000000000020021 R14: 0000000000000000 R15: 0000000000000001
 __ipv6_addr_type+0x20d/0x330 net/ipv6/addrconf_core.c:76
 ipv6_addr_type include/net/ipv6.h:403 [inline]
 __sctp_v6_cmp_addr+0x2b7/0x510 net/sctp/ipv6.c:607
 sctp_v6_cmp_addr+0x1a/0xc0 net/sctp/ipv6.c:621
 sctp_bind_addr_state+0x14b/0x380 net/sctp/bind_addr.c:393
 sctp_copy_local_addr_list+0x234/0x520 net/sctp/protocol.c:177
 sctp_copy_one_addr net/sctp/bind_addr.c:449 [inline]
 sctp_bind_addr_copy+0xde/0x470 net/sctp/bind_addr.c:71
 sctp_sendmsg_new_asoc+0x367/0x1040 net/sctp/socket.c:1745
 sctp_sendmsg+0x10f9/0x1530 net/sctp/socket.c:2108
 inet_sendmsg+0x174/0x640 net/ipv4/af_inet.c:798
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xc7/0x130 net/socket.c:632
 __sys_sendto+0x21a/0x320 net/socket.c:1787
 __do_sys_sendto net/socket.c:1799 [inline]
 __se_sys_sendto net/socket.c:1795 [inline]
 __x64_sys_sendto+0xdd/0x1b0 net/socket.c:1795
 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45de59
Code: 0d b4 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f1c58eb4c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 000000000002e8c0 RCX: 000000000045de59
RDX: 0000000000017810 RSI: 0000000020847fff RDI: 0000000000000003
RBP: 000000000118bf78 R08: 000000002005ffe4 R09: 000000000000001c
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007fff9561820f R14: 00007f1c58eb59c0 R15: 000000000118bf2c

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/11 07:43 linux-4.19.y a1b977b49b66 4a77ae0b .config console log report info ci2-linux-4-19
2020/07/05 12:13 linux-4.19.y 399849e4654e 24d7f505 .config console log report ci2-linux-4-19
2020/04/27 09:34 linux-4.19.y 7edd66cf6167 0ce7569e .config console log report ci2-linux-4-19
2020/04/27 04:04 linux-4.19.y 7edd66cf6167 0ce7569e .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.