syzbot


INFO: rcu detected stall in dst_destroy

Status: closed as invalid on 2019/11/29 14:24
Subsystems: net
[Documentation on labels]
First crash: 1887d, last: 1887d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in dst_destroy 2 1768d 1770d 0/1 auto-closed as invalid on 2020/07/25 12:55
linux-6.1 INFO: rcu detected stall in dst_destroy 1 558d 558d 0/3 auto-obsoleted due to no activity on 2023/10/28 03:37
linux-4.19 INFO: rcu detected stall in dst_destroy (2) 1 1603d 1603d 0/1 auto-closed as invalid on 2021/01/06 01:18
upstream INFO: rcu detected stall in dst_destroy (2) net 1 277d 277d 0/28 auto-obsoleted due to no activity on 2024/07/25 13:37

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	3-....: (6745 ticks this GP) idle=1e6/1/0x4000000000000004 softirq=7481/7481 fqs=4641 
	(t=10502 jiffies g=5593 q=2164)
NMI backtrace for cpu 3
CPU: 3 PID: 7941 Comm: syz-executor.5 Not tainted 5.4.0-syzkaller #0
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline]
RIP: 0010:kfree+0x239/0x2c0 mm/slab.c:3757
Code: 50 7e 0f 85 20 fe ff ff e8 d5 a5 4e ff e9 16 fe ff ff e8 3a a6 c8 ff 48 83 3d 8a 72 61 07 00 0f 84 85 00 00 00 48 89 df 57 9d <0f> 1f 44 00 00 5b 41 5c 41 5d 41 5e 5d c3 e8 14 a6 c8 ff 48 83 3d
RSP: 0018:ffff88807ed09d40 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: 0000000000000282 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffff888066f70928 RDI: 0000000000000282
RBP: ffff88807ed09d60 R08: 1ffffffff15377bc R09: fffffbfff15377bd
R10: fffffbfff15377bc R11: ffffffff8a9bbde7 R12: ffff888075bda200
R13: ffff88802d000540 R14: ffffffff86758214 R15: ffff888075497838
 ip_dst_metrics_put include/net/ip.h:491 [inline]
 ip6_dst_destroy+0x224/0x2a0 net/ipv6/route.c:371
 dst_destroy+0x114/0x3c0 net/core/dst.c:120
 dst_destroy_rcu+0x16/0x19 net/core/dst.c:142
 __rcu_reclaim kernel/rcu/rcu.h:222 [inline]
 rcu_do_batch kernel/rcu/tree.c:2183 [inline]
 rcu_core+0x570/0x1540 kernel/rcu/tree.c:2408
 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2417
 __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:ffff888066f7f8d8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff122668d RBX: ffff888066f70040 RCX: 0000000000000006
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff888066f708d4
RBP: ffff888066f7f8e0 R08: 1ffffffff15377bc R09: fffffbfff15377bd
R10: fffffbfff15377bc R11: ffffffff8a9bbde7 R12: ffff88807ed37380
R13: ffff88807eaa8080 R14: ffff8880764f0d00 R15: 0000000000000000
 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
 smp_call_function_single+0x410/0x480 kernel/smp.c:313
 task_function_call+0xe9/0x180 kernel/events/core.c:114
 perf_install_in_context+0x308/0x5a0 kernel/events/core.c:2746
 __do_sys_perf_event_open+0x1cbc/0x2c70 kernel/events/core.c:11543
 __se_sys_perf_event_open kernel/events/core.c:11151 [inline]
 __x64_sys_perf_event_open+0xbe/0x150 kernel/events/core.c:11151
 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294
 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:00007fe49b7c7c88 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 000000000071bf00 RCX: 000000000045a759
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 000000002001d000
RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007fe49b7c86d4
R13: 00000000004aec17 R14: 00000000006f1cb0 R15: 00000000ffffffff

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