syzbot


INFO: rcu detected stall in sys_getsockopt (5)

Status: auto-closed as invalid on 2020/10/06 19:28
Subsystems: sctp
[Documentation on labels]
First crash: 1402d, last: 1359d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_getsockopt (2) kernel 1 1542d 1542d 0/26 closed as invalid on 2020/01/08 05:23
linux-4.19 INFO: rcu detected stall in sys_getsockopt 1 555d 555d 0/1 auto-obsoleted due to no activity on 2023/01/19 05:52
linux-5.15 INFO: rcu detected stall in sys_getsockopt 1 107d 107d 0/3 auto-obsoleted due to no activity on 2024/03/21 16:23
upstream INFO: rcu detected stall in sys_getsockopt (3) kernel 1 1542d 1542d 0/26 closed as invalid on 2020/01/08 05:33
upstream INFO: rcu detected stall in sys_getsockopt (4) kernel 3 1541d 1541d 0/26 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_getsockopt (6) kvm 3 959d 1027d 0/26 auto-closed as invalid on 2021/11/10 12:58
upstream INFO: rcu detected stall in sys_getsockopt (7) netfilter 2 816d 866d 0/26 closed as invalid on 2022/02/08 10:10
linux-6.1 INFO: rcu detected stall in sys_getsockopt 4 24d 182d 0/3 upstream: reported on 2023/09/28 22:07
upstream INFO: rcu detected stall in sys_getsockopt (10) mm 9 219d 301d 0/26 auto-obsoleted due to no activity on 2023/11/20 15:28
upstream INFO: rcu detected stall in sys_getsockopt (9) kernel 6 423d 578d 0/26 auto-obsoleted due to no activity on 2023/05/01 05:21
upstream INFO: rcu detected stall in sys_getsockopt (8) net 2 707d 722d 0/26 auto-closed as invalid on 2022/07/21 00:25
upstream INFO: rcu detected stall in sys_getsockopt kernel 2 1576d 1577d 0/26 closed as invalid on 2019/12/04 14:04

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1):
------------[ cut here ]------------
IRQs not enabled as expected
WARNING: CPU: 0 PID: 31353 at kernel/sched/core.c:2698 try_invoke_on_locked_down_task+0x18b/0x320 kernel/sched/core.c:2698
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 31353 Comm: syz-executor.5 Not tainted 5.8.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1f0/0x31e lib/dump_stack.c:118
 panic+0x264/0x7a0 kernel/panic.c:231
 __warn+0x227/0x250 kernel/panic.c:600
 report_bug+0x1b1/0x2e0 lib/bug.c:198
 handle_bug+0x42/0x80 arch/x86/kernel/traps.c:235
 exc_invalid_op+0x16/0x40 arch/x86/kernel/traps.c:255
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:563
RIP: 0010:try_invoke_on_locked_down_task+0x18b/0x320 kernel/sched/core.c:2698
Code: 48 89 df e8 a7 35 09 00 4c 89 f7 e8 3f 63 ce 06 e9 b5 00 00 00 c6 05 92 7d 18 08 01 48 c7 c7 fc a9 e7 88 31 c0 e8 65 a8 f5 ff <0f> 0b e9 15 ff ff ff 48 c7 c1 70 5d 6d 89 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc90000007c50 EFLAGS: 00010046
RAX: 974a1e7869711800 RBX: ffff8881ca42eb08 RCX: ffff8881ca42e280
RDX: 0000000080010001 RSI: 0000000080010001 RDI: 0000000000000000
RBP: ffff8881ca42eb4c R08: ffffffff815dc419 R09: ffffed1015d041c3
R10: ffffed1015d041c3 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8881ca42e280 R14: ffff8881ca42e600 R15: dffffc0000000000
 rcu_print_task_stall kernel/rcu/tree_stall.h:269 [inline]
 print_other_cpu_stall kernel/rcu/tree_stall.h:477 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:636 [inline]
 rcu_pending kernel/rcu/tree.c:3489 [inline]
 rcu_sched_clock_irq+0x12ec/0x1eb0 kernel/rcu/tree.c:2504
 update_process_times+0x12c/0x180 kernel/time/timer.c:1726
 tick_sched_handle kernel/time/tick-sched.c:176 [inline]
 tick_sched_timer+0x254/0x410 kernel/time/tick-sched.c:1320
 __run_hrtimer kernel/time/hrtimer.c:1520 [inline]
 __hrtimer_run_queues+0x42d/0x930 kernel/time/hrtimer.c:1584
 hrtimer_interrupt+0x373/0xd60 kernel/time/hrtimer.c:1646
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0xf0/0x260 arch/x86/kernel/apic/apic.c:1097
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
 sysvec_apic_timer_interrupt+0xb9/0x130 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596
RIP: 0010:ipv6_addr_equal include/net/ipv6.h:579 [inline]
RIP: 0010:__sctp_v6_cmp_addr+0xe0/0x510 net/sctp/ipv6.c:591
Code: 4c 8b 23 48 8b 04 24 48 8d 68 10 48 89 e8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 ef e8 a9 dd 19 fa 48 8b 6d 00 48 8b 44 24 08 <48> 8d 58 10 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8
RSP: 0018:ffffc9001a257a18 EFLAGS: 00000246
RAX: ffffc9001a257ae8 RBX: ffffc9001a257af0 RCX: 0000000000040000
RDX: ffff8881ca42e280 RSI: 000000000000000a RDI: 000000000000000a
RBP: 121414ac00000000 R08: ffffffff87999ce1 R09: ffffffff87328cc4
R10: 0000000000000002 R11: ffff8881ca42e280 R12: 00000000000080fe
R13: ffff88804b906b28 R14: dffffc0000000000 R15: 00000000000080fe
 sctp_v6_cmp_addr+0x1c/0xc0 net/sctp/ipv6.c:609
 sctp_bind_addr_state+0xd6/0x1b0 net/sctp/bind_addr.c:404
 sctp_copy_local_addr_list+0x228/0x3e0 net/sctp/protocol.c:162
 sctp_bind_addr_copy+0xad/0x3b0 net/sctp/bind_addr.c:56
 sctp_connect_new_asoc+0x277/0x600 net/sctp/socket.c:1095
 __sctp_connect+0x54d/0x11e0 net/sctp/socket.c:1197
 __sctp_setsockopt_connectx net/sctp/socket.c:1343 [inline]
 sctp_getsockopt_connectx3 net/sctp/socket.c:1428 [inline]
 sctp_getsockopt+0x9040/0x10ba0 net/sctp/socket.c:8099
 __sys_getsockopt+0x255/0x2c0 net/socket.c:2172
 __do_sys_getsockopt net/socket.c:2187 [inline]
 __se_sys_getsockopt net/socket.c:2184 [inline]
 __x64_sys_getsockopt+0xb1/0xc0 net/socket.c:2184
 do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cb29
Code: Bad RIP value.
RSP: 002b:00007f2224146c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004e02a0 RCX: 000000000045cb29
RDX: 000000000000006f RSI: 0000000000000084 RDI: 0000000000000005
RBP: 000000000078bfa0 R08: 0000000020000180 R09: 0000000000000000
R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000001b0 R14: 00000000004d2ec8 R15: 00007f22241476d4
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/08 19:27 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce-smack-root
2020/05/26 22:44 net-next-old d52caf0404e6 9072c126 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.