syzbot


INFO: rcu detected stall in sys_bpf

Status: auto-closed as invalid on 2019/11/23 00:18
Subsystems: bpf net
[Documentation on labels]
Reported-by: syzbot+c70685d9eac9589eaffc@syzkaller.appspotmail.com
First crash: 1847d, last: 1726d
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 36 open syzbot bugs in "net/bpf" subsystem 1 (1) 2019/07/03 06:01
Reminder: 30 open syzbot bugs in "net/bpf" subsystem 1 (1) 2019/06/24 05:01
INFO: rcu detected stall in sys_bpf 0 (1) 2019/03/27 18:31
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_bpf (5) bpf C unreliable 56 814d 907d 0/26 closed as invalid on 2022/02/08 10:34
linux-5.15 INFO: rcu detected stall in sys_bpf (2) 1 6d18h 6d18h 0/3 upstream: reported on 2024/04/09 19:57
upstream INFO: rcu detected stall in sys_bpf (3) bpf 4 1560d 1560d 0/26 closed as invalid on 2020/01/09 08:13
linux-5.15 INFO: rcu detected stall in sys_bpf 2 130d 173d 0/3 auto-obsoleted due to no activity on 2024/03/16 17:33
upstream INFO: rcu detected stall in sys_bpf (2) bpf 12 1595d 1596d 0/26 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_bpf (8) bpf 1 149d 149d 0/26 auto-obsoleted due to no activity on 2024/02/17 03:10
linux-4.19 INFO: rcu detected stall in sys_bpf 3 1543d 1673d 0/1 auto-closed as invalid on 2020/05/23 14:47
upstream INFO: rcu detected stall in sys_bpf (6) net 7 626d 776d 0/26 auto-obsoleted due to no activity on 2022/10/28 06:32
upstream INFO: rcu detected stall in sys_bpf (4) bpf net 3 1513d 1552d 0/26 auto-closed as invalid on 2020/05/24 13:03

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P12710
rcu: 	(detected by 1, t=10502 jiffies, g=35417, q=187)
syz-executor.0  R  running task    27704 12710   8268 0x00000006
Call Trace:
 <IRQ>
 sched_show_task kernel/sched/core.c:5338 [inline]
 sched_show_task.cold+0x291/0x2fc kernel/sched/core.c:5313
 rcu_print_detail_task_stall_rnp+0xc7/0x103 kernel/rcu/tree_plugin.h:667
 rcu_print_detail_task_stall kernel/rcu/tree_plugin.h:680 [inline]
 print_other_cpu_stall kernel/rcu/tree.c:1301 [inline]
 check_cpu_stall kernel/rcu/tree.c:1441 [inline]
 rcu_pending kernel/rcu/tree.c:3103 [inline]
 rcu_sched_clock_irq.cold+0x66b/0xa4a kernel/rcu/tree.c:2544
 update_process_times+0x32/0x80 kernel/time/timer.c:1635
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x33e/0xde0 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x120/0x570 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:lock_acquire+0x1b/0x3f0 kernel/locking/lockdep.c:4200
Code: 85 70 ff ff ff e9 48 fc ff ff 0f 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 55 45 89 c3 48 89 e5 41 57 41 89 cf 41 56 41 89 d6 <41> 55 41 89 f5 41 54 49 89 fc 53 65 48 8b 1c 25 00 ee 01 00 48 8d
RSP: 0018:ffff88808547fc68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900d902a3a0
RBP: ffff88808547fc78 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffffc900d902a388
R13: ffffffffffffffea R14: 0000000000000000 R15: 0000000000000000
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x33/0x50 kernel/locking/spinlock.c:168
 sock_hash_free+0x133/0x4a0 net/core/sock_map.c:855
 map_create kernel/bpf/syscall.c:605 [inline]
 __do_sys_bpf+0x11d8/0x3f60 kernel/bpf/syscall.c:2695
 __se_sys_bpf kernel/bpf/syscall.c:2672 [inline]
 __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:2672
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458da9
Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb670e7cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458da9
RDX: 000000000000003c RSI: 0000000020000040 RDI: 0000000000000000
RBP: 000000000073c0e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb670e7d6d4
R13: 00000000004bf05a R14: 00000000004cffa8 R15: 00000000ffffffff
syz-executor.0  R  running task    27704 12710   8268 0x80000006
Call Trace:
 <IRQ>
 sched_show_task kernel/sched/core.c:5338 [inline]
 sched_show_task.cold+0x291/0x2fc kernel/sched/core.c:5313
 rcu_print_detail_task_stall_rnp+0xc7/0x103 kernel/rcu/tree_plugin.h:667
 rcu_print_detail_task_stall kernel/rcu/tree_plugin.h:682 [inline]
 print_other_cpu_stall kernel/rcu/tree.c:1301 [inline]
 check_cpu_stall kernel/rcu/tree.c:1441 [inline]
 rcu_pending kernel/rcu/tree.c:3103 [inline]
 rcu_sched_clock_irq.cold+0x6d4/0xa4a kernel/rcu/tree.c:2544
 update_process_times+0x32/0x80 kernel/time/timer.c:1635
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x33e/0xde0 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x120/0x570 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:lock_acquire+0x1b/0x3f0 kernel/locking/lockdep.c:4200
Code: 85 70 ff ff ff e9 48 fc ff ff 0f 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 55 45 89 c3 48 89 e5 41 57 41 89 cf 41 56 41 89 d6 <41> 55 41 89 f5 41 54 49 89 fc 53 65 48 8b 1c 25 00 ee 01 00 48 8d
RSP: 0018:ffff88808547fc68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900d902a3a0
RBP: ffff88808547fc78 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffffc900d902a388
R13: ffffffffffffffea R14: 0000000000000000 R15: 0000000000000000
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x33/0x50 kernel/locking/spinlock.c:168
 sock_hash_free+0x133/0x4a0 net/core/sock_map.c:855
 map_create kernel/bpf/syscall.c:605 [inline]
 __do_sys_bpf+0x11d8/0x3f60 kernel/bpf/syscall.c:2695
 __se_sys_bpf kernel/bpf/syscall.c:2672 [inline]
 __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:2672
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458da9
Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb670e7cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458da9
RDX: 000000000000003c RSI: 0000000020000040 RDI: 0000000000000000
RBP: 000000000073c0e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb670e7d6d4
R13: 00000000004bf05a R14: 00000000004cffa8 R15: 00000000ffffffff

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/28 18:30 bpf 21f1b8a6636c b617407b .config console log report ci-upstream-bpf-kasan-gce
2019/07/26 00:17 bpf-next 192f0f8e9db7 732bc5a0 .config console log report ci-upstream-bpf-next-kasan-gce
2019/03/27 02:44 linux-next ab8bba4ec4b9 55684ce1 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.