syzbot


INFO: rcu detected stall in estimation_timer

Status: auto-closed as invalid on 2020/10/18 15:22
Subsystems: lvs
[Documentation on labels]
First crash: 1390d, last: 1390d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in estimation_timer (2) perf 1 861d 861d 0/26 closed as invalid on 2022/02/08 10:10

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (10500 ticks this GP) idle=f1e/1/0x4000000000000000 softirq=122832/122832 fqs=0 
	(t=10500 jiffies g=158217 q=85)
rcu: rcu_preempt kthread starved for 10500 jiffies! g158217 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    28896    10      2 0x00004000
Call Trace:
 context_switch kernel/sched/core.c:3458 [inline]
 __schedule+0x8ec/0xd90 kernel/sched/core.c:4215
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4762 Comm: systemd-timesyn Not tainted 5.8.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:193
Code: 0b e8 24 00 00 00 0f 0b 66 90 53 48 89 fb e8 17 00 00 00 48 8b 3d 88 af 18 08 48 89 de 5b e9 67 9c 3e 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0c 25 00 fe 01 00 65 8b 15 f8 6b 8d 7e f7 c2
RSP: 0018:ffffc90002267a28 EFLAGS: 00000002
RAX: 0000000000000000 RBX: ffffffff81b30f5e RCX: dffffc0000000000
RDX: ffff8880972f81c0 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff817a3814 R09: ffffed1025fff799
R10: ffffed1025fff799 R11: 0000000000000000 R12: dead000000000100
R13: ffff8880aa402000 R14: ffffc90002267a68 R15: dead000000000122
FS:  00007fa94395a8c0(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f439cc5cad0 CR3: 0000000095eff000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 trace_hardirqs_off+0x2d/0x70 kernel/trace/trace_preemptirq.c:78
 slab_destroy mm/slab.c:1620 [inline]
 slabs_destroy mm/slab.c:1636 [inline]
 cache_flusharray mm/slab.c:3413 [inline]
 ___cache_free+0x1ae/0x4d0 mm/slab.c:3457
 qlink_free+0x55/0xb0 mm/kasan/quarantine.c:148
 qlist_free_all mm/kasan/quarantine.c:167 [inline]
 quarantine_reduce+0x155/0x1c0 mm/kasan/quarantine.c:260
 __kasan_kmalloc+0x32/0x140 mm/kasan/common.c:475
 slab_post_alloc_hook mm/slab.h:586 [inline]
 slab_alloc mm/slab.c:3320 [inline]
 kmem_cache_alloc+0x1f5/0x2d0 mm/slab.c:3484
 kmem_cache_zalloc include/linux/slab.h:659 [inline]
 lsm_inode_alloc security/security.c:588 [inline]
 security_inode_alloc+0x32/0x1e0 security/security.c:971
 inode_init_always+0x3f4/0xa50 fs/inode.c:171
 alloc_inode fs/inode.c:239 [inline]
 new_inode_pseudo+0x7b/0x240 fs/inode.c:928
 sock_alloc net/socket.c:573 [inline]
 __sock_create+0x12b/0x8c0 net/socket.c:1392
 sock_create net/socket.c:1479 [inline]
 __sys_socket+0xde/0x2d0 net/socket.c:1521
 __do_sys_socket net/socket.c:1530 [inline]
 __se_sys_socket net/socket.c:1528 [inline]
 __x64_sys_socket+0x76/0x80 net/socket.c:1528
 do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fa942d50f17
Code: Bad RIP value.
RSP: 002b:00007ffc214e3288 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007fa943662c05 RCX: 00007fa942d50f17
RDX: 0000000000000000 RSI: 0000000000080002 RDI: 0000000000000001
RBP: 00007ffc214e33c0 R08: 0000000000000000 R09: 0000000000000070
R10: 00007ffc214e4f55 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffc214e32c0
NMI backtrace for cpu 1
CPU: 1 PID: 16661 Comm: syz-executor.0 Not tainted 5.8.0-rc6-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
 nmi_cpu_backtrace+0x9f/0x180 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x199/0x2a0 kernel/rcu/tree_stall.h:320
 print_cpu_stall kernel/rcu/tree_stall.h:553 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
 rcu_pending kernel/rcu/tree.c:3489 [inline]
 rcu_sched_clock_irq+0x1928/0x1eb0 kernel/rcu/tree.c:2504
 update_process_times+0x12c/0x180 kernel/time/timer.c:1737
 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
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline]
 sysvec_apic_timer_interrupt+0x112/0x130 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:585
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:770 [inline]
RIP: 0010:lock_acquire+0x1bf/0x720 kernel/locking/lockdep.c:4962
Code: c1 e8 03 80 3c 10 00 74 0c 48 c7 c7 f8 c7 4b 89 e8 a6 03 5a 00 48 83 3d c6 2b f2 07 00 0f 84 09 05 00 00 48 8b 7c 24 10 57 9d <0f> 1f 44 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 50 0f 85 e0
RSP: 0018:ffffc90000da8c68 EFLAGS: 00000286
RAX: 1ffffffff12978ff RBX: 0000000000000000 RCX: ffffffff815a8114
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: 0000000000000286
RBP: 1ffff1103c141d39 R08: dffffc0000000000 R09: fffffbfff1674ead
R10: fffffbfff1674ead R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8881e0a0e9cc R15: 0000000000000000
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151
 spin_lock include/linux/spinlock.h:353 [inline]
 estimation_timer+0x2e/0x800 net/netfilter/ipvs/ip_vs_est.c:103
 call_timer_fn+0x91/0x160 kernel/time/timer.c:1415
 expire_timers kernel/time/timer.c:1460 [inline]
 __run_timers+0x736/0x930 kernel/time/timer.c:1784
 run_timer_softirq+0x46/0x80 kernel/time/timer.c:1797
 __do_softirq+0x268/0x80c kernel/softirq.c:292
 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]
 do_softirq_own_stack+0xe0/0x1a0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:387 [inline]
 __irq_exit_rcu+0x1e1/0x1f0 kernel/softirq.c:417
 irq_exit_rcu+0x6/0x50 kernel/softirq.c:429
 sysvec_apic_timer_interrupt+0x117/0x130 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:585
RIP: 0010:section_to_usemap include/linux/mmzone.h:1204 [inline]
RIP: 0010:get_pageblock_bitmap mm/page_alloc.c:452 [inline]
RIP: 0010:__get_pfnblock_flags_mask mm/page_alloc.c:487 [inline]
RIP: 0010:get_pfnblock_migratetype mm/page_alloc.c:506 [inline]
RIP: 0010:free_unref_page_prepare mm/page_alloc.c:3101 [inline]
RIP: 0010:free_unref_page+0xad/0x230 mm/page_alloc.c:3147
Code: 48 85 db 74 13 4c 89 e0 48 c1 e8 0f 83 e0 7f 48 c1 e0 05 48 01 c3 eb 02 31 db 48 83 c3 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 99 f8 08 00 48 8b 03 4c 89 e5 48 c1 ed 07 83 e5
RSP: 0018:ffffc90005607a20 EFLAGS: 00000246
RAX: 1ffff11025fff449 RBX: ffff88812fffa248 RCX: 0000000000000000
RDX: 0000000000000200 RSI: 00000000000000ff RDI: ffffed101214ba00
RBP: 000000000000005e R08: ffffffff81b2fa48 R09: ffffed101214b800
R10: fffffbfff173f4d7 R11: 0000000000000000 R12: 0000000000090a5c
R13: dffffc0000000000 R14: ffffea0002429700 R15: 1ffff110140e9b55
 __vunmap+0x8e6/0xa20 mm/vmalloc.c:2302
 kcov_put kernel/kcov.c:408 [inline]
 kcov_close+0x27/0x50 kernel/kcov.c:510
 __fput+0x2f0/0x750 fs/file_table.c:281
 task_work_run+0x137/0x1c0 kernel/task_work.c:135
 exit_task_work include/linux/task_work.h:25 [inline]
 do_exit+0x601/0x1f80 kernel/exit.c:805
 do_group_exit+0x161/0x2d0 kernel/exit.c:903
 get_signal+0x139b/0x1d30 kernel/signal.c:2743
 do_signal+0x33/0x610 arch/x86/kernel/signal.c:810
 exit_to_usermode_loop arch/x86/entry/common.c:235 [inline]
 __prepare_exit_to_usermode+0xd7/0x1e0 arch/x86/entry/common.c:269
 do_syscall_64+0x7f/0xe0 arch/x86/entry/common.c:393
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45c1d9
Code: Bad RIP value.
RSP: 002b:00007fc1b0968c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: fffffffffffffff5 RBX: 0000000000001c00 RCX: 000000000045c1d9
RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005
RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffcca6cb01f R14: 00007fc1b09699c0 R15: 000000000078bf0c

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/20 15:17 upstream 5714ee50bb43 4285ffa3 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.