syzbot


INFO: rcu detected stall in bpf

Status: auto-closed as invalid on 2020/09/05 11:39
Reported-by: syzbot+273d031c9aa5bce41346@syzkaller.appspotmail.com
First crash: 1733d, last: 1669d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in bpf bpf 13 1253d 1370d 0/28 auto-closed as invalid on 2021/09/25 21:47

Sample crash report:
INFO: rcu_preempt detected stalls on CPUs/tasks:
	(detected by 1, t=10502 jiffies, g=25034, c=25033, q=987)
All QSes seen, last rcu_preempt kthread activity 10500 (4295010296-4294999796), jiffies_till_next_fqs=1, root ->qsmask 0x0
syz-executor.5  R  running task    27808 27253   6343 0x0000000a
Call Trace:
 <IRQ>
 sched_show_task kernel/sched/core.c:5168 [inline]
 sched_show_task.cold+0x2e3/0x347 kernel/sched/core.c:5143
 print_other_cpu_stall kernel/rcu/tree.c:1501 [inline]
 check_cpu_stall kernel/rcu/tree.c:1616 [inline]
 __rcu_pending kernel/rcu/tree.c:3390 [inline]
 rcu_pending kernel/rcu/tree.c:3452 [inline]
 rcu_check_callbacks.cold+0xd3f/0xdaa kernel/rcu/tree.c:2792
 update_process_times+0x29/0x60 kernel/time/timer.c:1590
 tick_sched_handle+0x7d/0x150 kernel/time/tick-sched.c:165
 tick_sched_timer+0x3e/0x120 kernel/time/tick-sched.c:1223
 __run_hrtimer kernel/time/hrtimer.c:1223 [inline]
 __hrtimer_run_queues+0x25c/0xbb0 kernel/time/hrtimer.c:1287
 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline]
 smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1100
 apic_timer_interrupt+0x8f/0xa0 arch/x86/entry/entry_64.S:792
 </IRQ>
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:411 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x264/0x950 kernel/locking/qspinlock.c:465
RSP: 0018:ffff88805aac7a58 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000003 RBX: ffff8880aeb2c0c0 RCX: fffffbfff0fc106c
RDX: 0000000000005cb8 RSI: 0000000000000001 RDI: 0000000000000286
RBP: ffffffff87e08360 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffffff87e08361 R15: ffffed1015d65820
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:669 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:52 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:90 [inline]
 do_raw_spin_lock+0x189/0x230 kernel/locking/spinlock_debug.c:113
 spin_lock include/linux/spinlock.h:317 [inline]
 find_vmap_area+0x1a/0x110 mm/vmalloc.c:771
 __vunmap+0x40/0x300 mm/vmalloc.c:1527
 vfree+0x4b/0xd0 mm/vmalloc.c:1612
 bpf_check+0x7f9/0x18a0 kernel/bpf/verifier.c:5112
 bpf_prog_load+0x5e9/0xe00 kernel/bpf/syscall.c:1057
 SYSC_bpf kernel/bpf/syscall.c:1512 [inline]
 SyS_bpf+0xf89/0x2cd3 kernel/bpf/syscall.c:1477
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45c829
RSP: 002b:00007f5e112b3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00000000004da660 RCX: 000000000045c829
RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005
RBP: 000000000078c040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000006a R14: 00000000004c30b4 R15: 00007f5e112b46d4
rcu_preempt kthread starved for 10500 jiffies! g25034 c25033 f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0
rcu_preempt     R  running task    29488     8      2 0x80000000
Call Trace:
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_timeout+0x43c/0xe40 kernel/time/timer.c:1746
 rcu_gp_kthread+0xb8e/0x1ce0 kernel/rcu/tree.c:2255
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/08 11:39 linux-4.14.y d71f695ce745 fe4122c3 .config console log report ci2-linux-4-14
2020/03/04 16:29 linux-4.14.y 78d697fc93f9 712198ac .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.