syzbot


INFO: rcu detected stall in hsr_announce

Status: auto-closed as invalid on 2021/01/27 07:34
Reported-by: syzbot+56fd6de9466186cb54ff@syzkaller.appspotmail.com
First crash: 1305d, last: 1305d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in hsr_announce (3) net 1 1606d 1605d 0/26 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in hsr_announce (5) net 4 893d 906d 0/26 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in hsr_announce (6) kvm 2 731d 731d 0/26 auto-closed as invalid on 2022/06/25 07:59
linux-4.14 INFO: rcu detected stall in hsr_announce C error 25 1393d 1591d 0/1 upstream: reported C repro on 2019/12/17 23:42
upstream INFO: rcu detected stall in hsr_announce (4) net 1 1232d 1232d 0/26 auto-closed as invalid on 2021/03/11 15:56
upstream INFO: rcu detected stall in hsr_announce net 1 1686d 1686d 0/26 auto-closed as invalid on 2019/11/13 18:24
upstream INFO: rcu detected stall in hsr_announce (2) net 3 1610d 1610d 0/26 closed as invalid on 2019/11/29 14:24

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	(detected by 0, t=10502 jiffies, g=27337, q=417)
rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294973559-4294963057), jiffies_till_next_fqs=1, root ->qsmask 0x0
syz-executor.5  R  running task    28744 12280   9468 0x00000008
Call Trace:
 <IRQ>
 sched_show_task+0x447/0x5a0 kernel/sched/core.c:5341
 print_other_cpu_stall kernel/rcu/tree.c:1430 [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+0xf1d/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
RIP: 0010:validate_xmit_skb+0x33/0xd70 net/core/dev.c:3314
Code: 41 54 55 48 89 fd 53 4c 8d b5 aa 00 00 00 48 83 ec 28 48 89 34 24 e8 0c 92 57 fb 48 89 ef e8 b4 f4 ff ff 4c 89 f2 48 c1 ea 03 <49> 89 c4 48 b8 00 00 00 00 00 fc ff df 0f b6 14 02 4c 89 f0 83 e0
RSP: 0018:ffff8880ae2079c0 EFLAGS: 00000a06 ORIG_RAX: ffffffffffffff13
RAX: 000030884fdd59e9 RBX: 0000000000000000 RCX: 1ffff11015c40f25
RDX: 1ffff1101510324d RSI: ffffffff861a2989 RDI: 0000000000000001
RBP: ffff8880a88191c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000005 R12: ffff8880396725c0
R13: ffff8880ae207ab0 R14: ffff8880a881926a R15: ffff8880a88191c0
 __dev_queue_xmit+0x9b3/0x2ec0 net/core/dev.c:3830
 hsr_xmit net/hsr/hsr_forward.c:237 [inline]
 hsr_forward_do net/hsr/hsr_forward.c:295 [inline]
 hsr_forward_skb+0xd50/0x1cc4 net/hsr/hsr_forward.c:373
 send_hsr_supervision_frame+0x917/0xfa0 net/hsr/hsr_device.c:321
 hsr_announce+0x142/0x3e0 net/hsr/hsr_device.c:350
 call_timer_fn+0x177/0x760 kernel/time/timer.c:1338
 expire_timers+0x243/0x500 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1703 [inline]
 run_timer_softirq+0x259/0x730 kernel/time/timer.c:1716
 __do_softirq+0x27d/0xad2 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x22d/0x270 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:544 [inline]
 smp_apic_timer_interrupt+0x15f/0x5d0 arch/x86/kernel/apic/apic.c:1094
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:lock_acquire+0x1ec/0x3f0 kernel/locking/lockdep.c:3910
Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 dd 01 00 00 48 83 3d c9 9d 0b 08 00 0f 84 4e 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b
RSP: 0018:ffff88804257fe78 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff12c7135 RBX: ffff888094f8e300 RCX: 0000000036062c70
RDX: dffffc0000000000 RSI: ffff888094f8eb88 RDI: 0000000000000286
RBP: ffffffff897351e0 R08: 0000000081bc5a59 R09: 0000000000000000
R10: 0000000000000050 R11: 0000000000000002 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000002 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:242 [inline]
 rcu_read_lock include/linux/rcupdate.h:627 [inline]
 __do_sys_getpriority kernel/sys.c:311 [inline]
 __se_sys_getpriority+0x407/0xbf0 kernel/sys.c:263
 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45dd99
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:00007f1ed8b4ec78 EFLAGS: 00000246 ORIG_RAX: 000000000000008c
RAX: ffffffffffffffda RBX: 0000000000004580 RCX: 000000000045dd99
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 000000000118bf58 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffc3269a17f R14: 00007f1ed8b4f9c0 R15: 000000000118bf2c
rcu: rcu_preempt kthread starved for 10502 jiffies! g27337 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29128    10      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x8e5/0x22e0 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_timeout+0x536/0x1320 kernel/time/timer.c:1825
 rcu_gp_kthread+0xdee/0x2660 kernel/rcu/tree.c:2202
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Bluetooth: hci5: command 0x0405 tx timeout

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/29 07:33 linux-4.19.y 10ad6cfd5736 1b88c6d5 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.