syzbot


INFO: rcu detected stall in hsr_announce (2)

Status: closed as invalid on 2019/11/29 14:24
Subsystems: net
[Documentation on labels]
First crash: 1837d, last: 1837d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in hsr_announce 2 79d 97d 0/3 upstream: reported on 2024/09/03 13:47
upstream INFO: rcu detected stall in hsr_announce (3) net 1 1833d 1833d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in hsr_announce (5) net 4 1120d 1133d 0/28 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in hsr_announce (6) kvm 2 959d 959d 0/28 auto-closed as invalid on 2022/06/25 07:59
linux-4.14 INFO: rcu detected stall in hsr_announce C error 25 1620d 1819d 0/1 upstream: reported C repro on 2019/12/17 23:42
upstream INFO: rcu detected stall in hsr_announce (4) net 1 1459d 1459d 0/28 auto-closed as invalid on 2021/03/11 15:56
upstream INFO: rcu detected stall in hsr_announce net 1 1913d 1913d 0/28 auto-closed as invalid on 2019/11/13 18:24
linux-5.15 INFO: rcu detected stall in hsr_announce 6 70d 116d 0/3 upstream: reported on 2024/08/15 19:00
linux-4.19 INFO: rcu detected stall in hsr_announce 1 1533d 1533d 0/1 auto-closed as invalid on 2021/01/27 07:34

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	2-....: (10501 ticks this GP) idle=886/1/0x4000000000000004 softirq=34057/34057 fqs=4814 
	(t=10502 jiffies g=18165 q=214)
NMI backtrace for cpu 2
CPU: 2 PID: 16249 Comm: syz-executor.0 Not tainted 5.4.0-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x183/0x1cf kernel/rcu/tree_stall.h:254
 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:529 [inline]
 rcu_pending kernel/rcu/tree.c:2827 [inline]
 rcu_sched_clock_irq.cold+0x509/0xc02 kernel/rcu/tree.c:2271
 update_process_times+0x2d/0x70 kernel/time/timer.c:1726
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:167
 tick_sched_timer+0x53/0x140 kernel/time/tick-sched.c:1310
 __run_hrtimer kernel/time/hrtimer.c:1514 [inline]
 __hrtimer_run_queues+0x364/0xe40 kernel/time/hrtimer.c:1576
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1638
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline]
 smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
RIP: 0010:unwind_next_frame+0x0/0x50 arch/x86/kernel/unwind_frame.c:265
Code: 86 d8 7e 00 4c 8b 95 60 ff ff ff 4c 8b 9d 68 ff ff ff 4c 8b 8d 70 ff ff ff e9 b7 fb ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 <48> b8 00 00 00 00 00 fc ff df 48 89 fa 55 48 c1 ea 03 48 89 e5 48
RSP: 0018:ffff88802d4097c0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffffffff8163b1d0 RCX: ffffffff8163b2f2
RDX: 0000000000000100 RSI: ffffffff8163b2fe RDI: ffff88802d4097c8
RBP: ffff88802d409850 R08: ffff88806d244ac0 R09: ffff88802d409820
R10: ffff88802d4097f0 R11: ffff88802d409800 R12: ffff88802d409880
R13: 0000000000000000 R14: ffff88806d244ac0 R15: ffff88807aaea000
 stack_trace_save+0xac/0xe0 kernel/stacktrace.c:123
 save_stack+0x23/0x90 mm/kasan/common.c:69
 set_track mm/kasan/common.c:77 [inline]
 __kasan_kmalloc mm/kasan/common.c:510 [inline]
 __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:483
 kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:518
 slab_post_alloc_hook mm/slab.h:584 [inline]
 slab_alloc mm/slab.c:3319 [inline]
 kmem_cache_alloc+0x121/0x710 mm/slab.c:3483
 __build_skb+0x26/0x70 net/core/skbuff.c:310
 __netdev_alloc_skb+0x255/0x440 net/core/skbuff.c:463
 netdev_alloc_skb include/linux/skbuff.h:2781 [inline]
 dev_alloc_skb include/linux/skbuff.h:2794 [inline]
 send_hsr_supervision_frame+0x110/0xf20 net/hsr/hsr_device.c:252
 hsr_announce+0x12f/0x3b0 net/hsr/hsr_device.c:334
 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers kernel/time/timer.c:1773 [inline]
 __run_timers kernel/time/timer.c:1740 [inline]
 run_timer_softirq+0x6c3/0x1790 kernel/time/timer.c:1786
 __do_softirq+0x262/0x98c kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x19b/0x1e0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x4f/0x80 kernel/locking/spinlock.c:199
Code: c0 68 34 13 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 33 48 83 3d 12 6a 96 01 00 74 20 fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 e7 ab d3 f9 65 8b 05 18 54 85 78 85 c0 74 06 41
RSP: 0018:ffff8880682c78b0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff122668d RBX: ffff88806d244ac0 RCX: 0000000000000007
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff88806d245354
RBP: ffff8880682c78b8 R08: 1ffffffff153779e R09: fffffbfff153779f
R10: fffffbfff153779e R11: ffffffff8a9bbcf7 R12: ffff88802d437380
R13: ffff88802c4882c0 R14: ffff888021285100 R15: 0000000000000402
 finish_lock_switch kernel/sched/core.c:3124 [inline]
 finish_task_switch+0x147/0x750 kernel/sched/core.c:3224
 context_switch kernel/sched/core.c:3388 [inline]
 __schedule+0x8e9/0x1f30 kernel/sched/core.c:4081
 preempt_schedule_common+0x4f/0xe0 kernel/sched/core.c:4236
 preempt_schedule+0x4b/0x60 kernel/sched/core.c:4261
 ___preempt_schedule+0x16/0x18 arch/x86/entry/thunk_64.S:50
 percpu_up_read include/linux/percpu-rwsem.h:94 [inline]
 cgroup_threadgroup_change_end include/linux/cgroup-defs.h:738 [inline]
 exit_signals+0x683/0x960 kernel/signal.c:2823
 do_exit+0x273/0x2ef0 kernel/exit.c:754
 do_group_exit+0x135/0x360 kernel/exit.c:895
 get_signal+0x47c/0x24f0 kernel/signal.c:2734
 do_signal+0x87/0x1700 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop+0x286/0x380 arch/x86/entry/common.c:160
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:278 [inline]
 do_syscall_64+0x676/0x790 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45a759
Code: bd b1 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 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f376edf0c88 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: 0000000000000008 RBX: 000000000071bf00 RCX: 000000000045a759
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000040
RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f376edf16d4
R13: 00000000004aec17 R14: 00000000006f1cb0 R15: 00000000ffffffff

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/29 12:41 upstream 81b6b96475ac d29b9e84 .config console log report ci-qemu-upstream
2019/11/29 10:15 upstream 81b6b96475ac 4f7e1d0f .config console log report ci-qemu-upstream
2019/11/29 10:14 upstream 81b6b96475ac 4f7e1d0f .config console log report ci-qemu-upstream
* Struck through repros no longer work on HEAD.