syzbot


INFO: rcu detected stall in sctp_inet_connect

Status: auto-closed as invalid on 2020/12/15 01:43
Reported-by: syzbot+9055972a8fe05f2401c4@syzkaller.appspotmail.com
First crash: 1414d, last: 1348d
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 1570d 1655d 0/26 auto-closed as invalid on 2020/04/07 07:45
upstream INFO: rcu detected stall in sctp_inet_connect (5) net 1 327d 327d 0/26 auto-obsoleted due to no activity on 2023/09/02 17:34
upstream INFO: rcu detected stall in sctp_inet_connect (4) sctp 6 890d 992d 0/26 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in sctp_inet_connect (3) sctp 12 1257d 1468d 0/26 auto-closed as invalid on 2021/02/14 17:57
upstream INFO: rcu detected stall in sctp_inet_connect netfilter 1 1873d 1873d 0/26 auto-closed as invalid on 2019/09/07 12:17

Sample crash report:
ip6t_rpfilter: only valid in 'raw' or 'mangle' table, not 'raw'
Bluetooth: hci0: command 0x0406 tx timeout
Bluetooth: hci2: command 0x0406 tx timeout
Bluetooth: hci4: command 0x0406 tx timeout
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P20100
rcu: 	(detected by 1, t=10503 jiffies, g=463365, q=20400)
syz-executor.5  R  running task    28704 20100   6479 0x0000000e
Call Trace:
 <IRQ>
 sched_show_task.cold+0x332/0x396 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+0x859/0xe19 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+0x3f6/0xe60 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 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+0x47/0x50 kernel/kcov.c:111
Code: 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 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 <c3> 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 40 ee
RSP: 0018:ffff8881cb2efa80 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: ffff88804298ae00 RCX: ffffc90010527000
RDX: 0000000000040000 RSI: ffffffff86ba06a9 RDI: 0000000000000005
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 00000000d148388b R12: ffff8881cb2efb18
R13: ffff88809fa40490 R14: ffffffff89997600 R15: 0000000000000000
 sctp_bind_addr_state+0xf9/0x330 net/sctp/bind_addr.c:391
 sctp_copy_local_addr_list+0x217/0x4e0 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_connect+0x70e/0xd40 net/sctp/socket.c:1214
 sctp_connect net/sctp/socket.c:4523 [inline]
 sctp_inet_connect+0x14b/0x1b0 net/sctp/socket.c:4538
 __sys_connect+0x265/0x2c0 net/socket.c:1663
 __do_sys_connect net/socket.c:1674 [inline]
 __se_sys_connect net/socket.c:1671 [inline]
 __x64_sys_connect+0x6f/0xb0 net/socket.c:1671
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45d239
Code: 5d 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ff9e02bcc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000002300 RCX: 000000000045d239
RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000004
RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007ffc0089c10f R14: 00007ff9e02bd9c0 R15: 000000000118cf4c
syz-executor.5  R  running task    28704 20100   6479 0x8000000e
Call Trace:
 <IRQ>
 sched_show_task.cold+0x332/0x396 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+0x8b7/0xe19 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+0x3f6/0xe60 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 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+0x47/0x50 kernel/kcov.c:111
Code: 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 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 <c3> 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 40 ee
RSP: 0018:ffff8881cb2efa80 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: ffff88804298ae00 RCX: ffffc90010527000
RDX: 0000000000040000 RSI: ffffffff86ba06a9 RDI: 0000000000000005
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 00000000d148388b R12: ffff8881cb2efb18
R13: ffff88809fa40490 R14: ffffffff89997600 R15: 0000000000000000
 sctp_bind_addr_state+0xf9/0x330 net/sctp/bind_addr.c:391
 sctp_copy_local_addr_list+0x217/0x4e0 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_connect+0x70e/0xd40 net/sctp/socket.c:1214
 sctp_connect net/sctp/socket.c:4523 [inline]
 sctp_inet_connect+0x14b/0x1b0 net/sctp/socket.c:4538
 __sys_connect+0x265/0x2c0 net/socket.c:1663
 __do_sys_connect net/socket.c:1674 [inline]
 __se_sys_connect net/socket.c:1671 [inline]
 __x64_sys_connect+0x6f/0xb0 net/socket.c:1671
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45d239
Code: 5d 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ff9e02bcc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000002300 RCX: 000000000045d239
RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000004
RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007ffc0089c10f R14: 00007ff9e02bd9c0 R15: 000000000118cf4c
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { P20100 } 10907 jiffies s: 81509 root: 0x0/T
rcu: blocking rcu_node structures:

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/17 01:42 linux-4.19.y c14d30dc9987 5ce13532 .config console log report ci2-linux-4-19
2020/06/12 16:03 linux-4.19.y 3fc898571b97 819b58b0 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.