INFO: rcu detected stall in sctp_setsockopt

7 views
Skip to first unread message

syzbot

unread,
Jun 13, 2020, 6:52:15 AM6/13/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 3fc89857 Linux 4.19.128
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16e8597a100000
kernel config: https://syzkaller.appspot.com/x/.config?x=6c6e6bf14f2aabf
dashboard link: https://syzkaller.appspot.com/bug?extid=009e2c345524a2d0c360
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+009e2c...@syzkaller.appspotmail.com

nvme_fabrics: unknown parameter or missing value ' ' in ctrl creation request
hfs: can't find a HFS filesystem on dev loop3
hfs: can't find a HFS filesystem on dev loop5
nvme_fabrics: unknown parameter or missing value ' ' in ctrl creation request
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12554
rcu: (detected by 0, t=10503 jiffies, g=260321, q=9047)
syz-executor.2 R running task 28160 12554 6715 0x00000006
Call Trace:
<IRQ>
sched_show_task.cold+0x334/0x395 kernel/sched/core.c:5338
rcu_print_detail_task_stall_rnp+0xe7/0x120 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+0x84a/0xddc kernel/rcu/tree.c:2682
update_process_times+0x2a/0x70 kernel/time/timer.c:1638
tick_sched_handle.isra.0+0x91/0x180 kernel/time/tick-sched.c:168
tick_sched_timer+0x44/0x130 kernel/time/tick-sched.c:1278
__run_hrtimer kernel/time/hrtimer.c:1401 [inline]
__hrtimer_run_queues+0x2ec/0xd20 kernel/time/hrtimer.c:1463
hrtimer_interrupt+0x312/0x770 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:preempt_count arch/x86/include/asm/preempt.h:23 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0xd/0x50 kernel/kcov.c:101
Code: 0a 41 bc f4 ff ff ff e8 1a a4 eb ff 48 c7 05 86 92 06 0a 00 00 00 00 e9 24 ec ff ff 90 48 8b 34 24 65 48 8b 04 25 40 ee 01 00 <65> 8b 15 fc 52 9a 7e 81 e2 00 01 1f 00 75 2b 8b 90 d8 12 00 00 83
RSP: 0018:ffff888212b0f920 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff88802892a0c0 RBX: ffff88802843e600 RCX: ffffffff869b98b7
RDX: 0000000000000000 RSI: ffffffff869b98c5 RDI: 0000000000000005
RBP: dffffc0000000000 R08: ffff88802892a0c0 R09: ffffed1015cc473b
R10: ffffed1015cc473a R11: ffff8880ae6239d3 R12: ffff888212b0f9c0
R13: ffff88802b682490 R14: ffffffff897853a0 R15: 0000000000000000
__read_once_size include/linux/compiler.h:193 [inline]
sctp_bind_addr_state+0x165/0x330 net/sctp/bind_addr.c:390
sctp_copy_local_addr_list+0x255/0x530 net/sctp/protocol.c:176
sctp_copy_one_addr+0x5b/0x170 net/sctp/bind_addr.c:449
sctp_bind_addr_copy+0xfc/0x2ca net/sctp/bind_addr.c:71
__sctp_connect+0x74e/0xcc0 net/sctp/socket.c:1214
__sctp_setsockopt_connectx+0x123/0x180 net/sctp/socket.c:1367
sctp_setsockopt_connectx net/sctp/socket.c:1399 [inline]
sctp_setsockopt net/sctp/socket.c:4344 [inline]
sctp_setsockopt+0x2875/0x4a70 net/sctp/socket.c:4301
__sys_setsockopt+0x14d/0x240 net/socket.c:1901
__do_sys_setsockopt net/socket.c:1912 [inline]
__se_sys_setsockopt net/socket.c:1909 [inline]
__x64_sys_setsockopt+0xba/0x150 net/socket.c:1909
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45ca69
Code: 0d 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f7be3cbcc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00000000005053c0 RCX: 000000000045ca69
RDX: 000000000000006e RSI: 0000000000000084 RDI: 0000000000000006
RBP: 000000000078bf00 R08: 000000000000001c R09: 0000000000000000
R10: 0000000020000180 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000b07 R14: 00000000004d7938 R15: 00007f7be3cbd6d4
syz-executor.2 R running task 28160 12554 6715 0x80000006
Call Trace:
<IRQ>
sched_show_task.cold+0x334/0x395 kernel/sched/core.c:5338
rcu_print_detail_task_stall_rnp+0xe7/0x120 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+0x8a8/0xddc kernel/rcu/tree.c:2682
update_process_times+0x2a/0x70 kernel/time/timer.c:1638
tick_sched_handle.isra.0+0x91/0x180 kernel/time/tick-sched.c:168
tick_sched_timer+0x44/0x130 kernel/time/tick-sched.c:1278
__run_hrtimer kernel/time/hrtimer.c:1401 [inline]
__hrtimer_run_queues+0x2ec/0xd20 kernel/time/hrtimer.c:1463
hrtimer_interrupt+0x312/0x770 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:preempt_count arch/x86/include/asm/preempt.h:23 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0xd/0x50 kernel/kcov.c:101
Code: 0a 41 bc f4 ff ff ff e8 1a a4 eb ff 48 c7 05 86 92 06 0a 00 00 00 00 e9 24 ec ff ff 90 48 8b 34 24 65 48 8b 04 25 40 ee 01 00 <65> 8b 15 fc 52 9a 7e 81 e2 00 01 1f 00 75 2b 8b 90 d8 12 00 00 83
RSP: 0018:ffff888212b0f920 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff88802892a0c0 RBX: ffff88802843e600 RCX: ffffffff869b98b7
RDX: 0000000000000000 RSI: ffffffff869b98c5 RDI: 0000000000000005
RBP: dffffc0000000000 R08: ffff88802892a0c0 R09: ffffed1015cc473b
R10: ffffed1015cc473a R11: ffff8880ae6239d3 R12: ffff888212b0f9c0
R13: ffff88802b682490 R14: ffffffff897853a0 R15: 0000000000000000
__read_once_size include/linux/compiler.h:193 [inline]
sctp_bind_addr_state+0x165/0x330 net/sctp/bind_addr.c:390
sctp_copy_local_addr_list+0x255/0x530 net/sctp/protocol.c:176
sctp_copy_one_addr+0x5b/0x170 net/sctp/bind_addr.c:449
sctp_bind_addr_copy+0xfc/0x2ca net/sctp/bind_addr.c:71
__sctp_connect+0x74e/0xcc0 net/sctp/socket.c:1214
__sctp_setsockopt_connectx+0x123/0x180 net/sctp/socket.c:1367
sctp_setsockopt_connectx net/sctp/socket.c:1399 [inline]
sctp_setsockopt net/sctp/socket.c:4344 [inline]
sctp_setsockopt+0x2875/0x4a70 net/sctp/socket.c:4301
__sys_setsockopt+0x14d/0x240 net/socket.c:1901
__do_sys_setsockopt net/socket.c:1912 [inline]
__se_sys_setsockopt net/socket.c:1909 [inline]
__x64_sys_setsockopt+0xba/0x150 net/socket.c:1909
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45ca69
Code: 0d 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f7be3cbcc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00000000005053c0 RCX: 000000000045ca69
RDX: 000000000000006e RSI: 0000000000000084 RDI: 0000000000000006
RBP: 000000000078bf00 R08: 000000000000001c R09: 0000000000000000
R10: 0000000020000180 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000b07 R14: 00000000004d7938 R15: 00007f7be3cbd6d4
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { P12600 P12554 } 10528 jiffies s: 7885 root: 0x0/T
rcu: blocking rcu_node structures:


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Nov 28, 2020, 3:55:14 AM11/28/20
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages