syzbot


INFO: rcu detected stall in sys_bpf (4)

Status: auto-closed as invalid on 2020/05/24 13:03
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 934d, last: 895d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_bpf (5) C unreliable 56 197d 290d 0/23 closed as invalid on 2022/02/08 10:34
upstream INFO: rcu detected stall in sys_bpf (3) 4 942d 942d 0/23 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_bpf 3 1108d 1229d 0/23 auto-closed as invalid on 2019/11/23 00:18
upstream INFO: rcu detected stall in sys_bpf (2) 12 977d 978d 0/23 closed as invalid on 2019/12/04 14:14
linux-4.19 INFO: rcu detected stall in sys_bpf 3 926d 1055d 0/1 auto-closed as invalid on 2020/05/23 14:47

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P8312
	(detected by 0, t=10502 jiffies, g=149769, q=24)
syz-executor.0  R  running task    27064  8312   9826 0x00004006
Call Trace:
 <IRQ>
 sched_show_task kernel/sched/core.c:5954 [inline]
 sched_show_task.cold+0x2ee/0x35d kernel/sched/core.c:5929
 rcu_print_detail_task_stall_rnp kernel/rcu/tree_stall.h:190 [inline]
 print_other_cpu_stall kernel/rcu/tree_stall.h:398 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:538 [inline]
 rcu_pending kernel/rcu/tree.c:2827 [inline]
 rcu_sched_clock_irq.cold+0xbc0/0xc0d 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:171
 tick_sched_timer+0x53/0x140 kernel/time/tick-sched.c:1314
 __run_hrtimer kernel/time/hrtimer.c:1517 [inline]
 __hrtimer_run_queues+0x364/0xe40 kernel/time/hrtimer.c:1579
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1641
 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
 </IRQ>
RIP: 0010:should_resched arch/x86/include/asm/preempt.h:102 [inline]
RIP: 0010:__local_bh_enable_ip+0x18e/0x270 kernel/softirq.c:196
Code: 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 df 00 00 00 48 83 3d 27 ee 4b 08 00 0f 84 8f 00 00 00 fb 66 0f 1f 44 00 00 <65> 8b 05 f3 d8 ba 7e 85 c0 74 7f 5b 41 5c 41 5d 5d c3 80 3d 9c 72
RSP: 0000:ffffc900016a7c48 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff1326675 RBX: 0000000000000201 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffff88805ba04898 RDI: ffff88805ba04894
RBP: ffffc900016a7c60 R08: ffff88805ba04000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff86340424
R13: ffff88805ba04000 R14: 0000000000e94bca R15: 0000000000000000
 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline]
 _raw_spin_unlock_bh+0x2c/0x30 kernel/locking/spinlock.c:207
 sock_hash_free+0x2e4/0x540 net/core/sock_map.c:872
 map_create kernel/bpf/syscall.c:721 [inline]
 __do_sys_bpf+0x2671/0x3810 kernel/bpf/syscall.c:3012
 __se_sys_bpf kernel/bpf/syscall.c:2989 [inline]
 __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:2989
 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45b349
Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fceff181c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fceff1826d4 RCX: 000000000045b349
RDX: 000000000000003c RSI: 0000000020000000 RDI: 0000000000000000
RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000005b R14: 00000000004c1ab8 R15: 000000000075c07c

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-bpf-kasan-gce 2020/01/25 14:36 bpf 08dc225d8868 2e95ab33 .config log report
ci-upstream-bpf-kasan-gce 2020/01/16 07:40 bpf 0af2ffc93a4b f9b69507 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/02/24 12:59 linux-next bdc5461b23ca d801cb02 .config log report