syzbot


INFO: rcu detected stall in sys_bpf (2)

Status: upstream: reported on 2024/04/09 19:57
Reported-by: syzbot+4ca114518ed3e3b28ead@syzkaller.appspotmail.com
First crash: 511d, last: 1d15h
Similar bugs (16)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_bpf (5) bpf 1 C unreliable 56 1319d 1412d 0/29 closed as invalid on 2022/02/08 10:34
upstream INFO: rcu detected stall in sys_bpf (9) net bpf 1 C error 74 223d 462d 0/29 auto-obsoleted due to no activity on 2025/04/03 05:23
upstream INFO: rcu detected stall in sys_bpf (3) bpf 1 4 2065d 2064d 0/29 closed as invalid on 2020/01/09 08:13
linux-5.15 INFO: rcu detected stall in sys_bpf 1 2 635d 678d 0/3 auto-obsoleted due to no activity on 2024/03/16 17:33
upstream INFO: rcu detected stall in sys_bpf bpf net 1 3 2231d 2351d 0/29 auto-closed as invalid on 2019/11/23 00:18
upstream INFO: rcu detected stall in sys_bpf (2) bpf 1 12 2100d 2101d 0/29 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_bpf (8) bpf 1 1 654d 654d 0/29 auto-obsoleted due to no activity on 2024/02/17 03:10
linux-6.1 INFO: rcu detected stall in sys_bpf 1 27 8d08h 501d 0/3 upstream: reported on 2024/04/20 10:27
linux-4.19 INFO: rcu detected stall in sys_bpf 1 3 2048d 2178d 0/1 auto-closed as invalid on 2020/05/23 14:47
upstream BUG: soft lockup in sys_bpf mm 1 28 8d05h 133d 0/29 upstream: reported on 2025/04/23 05:48
upstream INFO: rcu detected stall in sys_bpf (6) net 1 7 1131d 1281d 0/29 auto-obsoleted due to no activity on 2022/10/28 06:32
upstream INFO: rcu detected stall in sys_bpf (4) bpf net 1 3 2017d 2057d 0/29 auto-closed as invalid on 2020/05/24 13:03
linux-6.6 INFO: rcu detected stall in sys_bpf origin:lts-only 1 C 26 6d02h 24d 0/2 upstream: reported C repro on 2025/08/10 11:50
android-54 BUG: soft lockup in sys_bpf 1 1 201d 201d 0/2 auto-obsoleted due to no activity on 2025/05/15 12:21
android-5-15 BUG: soft lockup in sys_bpf origin:upstream 1 C error 108 355d 523d 0/2 upstream: reported C repro on 2024/03/29 12:25
android-5-10 BUG: soft lockup in sys_bpf 1 2 436d 440d 0/2 auto-obsoleted due to no activity on 2024/09/22 11:37

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (1 GPs behind) idle=19f/1/0x4000000000000000 softirq=7806/7807 fqs=2099 
	(detected by 1, t=10506 jiffies, g=8813, q=1290)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5003 Comm: syz.4.188 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4711 [inline]
RIP: 0010:__lock_acquire+0x965/0x7c60 kernel/locking/lockdep.c:4962
Code: b8 00 00 00 00 00 fc ff df 48 8b 84 24 90 00 00 00 42 0f b6 04 00 84 c0 0f 85 61 01 00 00 83 3d f0 18 b0 14 00 74 6a 45 31 f6 <49> 81 c6 b8 00 00 00 4c 89 f0 48 c1 e8 03 42 0f b6 04 00 84 c0 0f
RSP: 0018:ffffc90000006d80 EFLAGS: 00000002
RAX: 0000000000061d40 RBX: 0000000000000000 RCX: ffffffff815c0646
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ffbb1c0
RBP: ffffc90000006fd0 R08: dffffc0000000000 R09: fffffbfff1ff7639
R10: fffffbfff1ff7639 R11: 1ffffffff1ff7638 R12: ffff88802a7c4690
R13: ffff88802a7c4602 R14: ffffffff8f9a4cc0 R15: ffff88802a7c4690
FS:  00007f64f80bf6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff304f2bd58 CR3: 00000000743c8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312
 rcu_read_lock include/linux/rcupdate.h:739 [inline]
 __perf_event_output kernel/events/core.c:7800 [inline]
 perf_event_output_forward+0x9e/0x280 kernel/events/core.c:7822
 __perf_event_overflow+0x364/0x530 kernel/events/core.c:9515
 perf_tp_event+0x32c/0xb50 kernel/events/core.c:10047
 perf_trace_run_bpf_submit+0xf3/0x1c0 kernel/events/core.c:10021
 perf_trace_preemptirq_template+0x2be/0x380 include/trace/events/preemptirq.h:14
 trace_irq_enable_rcuidle+0x108/0x180 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x57/0x80 kernel/trace/trace_preemptirq.c:44
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
RIP: 0010:rcu_read_unlock_special+0x84/0x480 kernel/rcu/tree_plugin.h:674
Code: f1 f1 f1 00 f2 f2 f2 4a 89 04 2b 66 42 c7 44 2b 09 f3 f3 42 c6 44 2b 0b f3 65 44 8b 35 dd 13 9e 7e 41 f7 c6 00 00 f0 00 74 45 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 2b 00 00 00 00 66 42 c7 44 2b
RSP: 0018:ffffc900000077a0 EFLAGS: 00000206
RAX: 75c5ab885d957700 RBX: 1ffff92000000ef8 RCX: 75c5ab885d957700
RDX: dffffc0000000000 RSI: ffffffff8a0b1620 RDI: ffffffff8a59a240
RBP: ffffc90000007880 R08: dffffc0000000000 R09: fffffbfff1ff7639
R10: fffffbfff1ff7639 R11: 1ffffffff1ff7638 R12: ffffffff8c120900
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:771 [inline]
 ndisc_send_skb+0xdc4/0x14a0 net/ipv6/ndisc.c:521
 addrconf_rs_timer+0x2b8/0x600 net/ipv6/addrconf.c:3956
 call_timer_fn+0x16c/0x530 kernel/time/timer.c:1451
 expire_timers kernel/time/timer.c:1496 [inline]
 __run_timers+0x525/0x7c0 kernel/time/timer.c:1767
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
 handle_softirqs+0x328/0x820 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194
Code: 74 05 e8 6e 8d cb f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 26 16 9f f7 65 8b 05 27 14 50 76 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc9000308f980 EFLAGS: 00000206
RAX: 75c5ab885d957700 RBX: 0000000000000a06 RCX: 75c5ab885d957700
RDX: dffffc0000000000 RSI: ffffffff8a0b1620 RDI: 0000000000000001
RBP: ffffc9000308fa00 R08: dffffc0000000000 R09: ffffed101720765a
R10: ffffed101720765a R11: 1ffff11017207659 R12: dffffc0000000000
R13: 0000000000000003 R14: ffff88807e36a7d0 R15: 1ffff92000611f30
 try_to_wake_up+0x3d4/0x1050 kernel/sched/core.c:4167
 wake_up_process kernel/sched/core.c:4234 [inline]
 wake_up_q+0x78/0xc0 kernel/sched/core.c:953
 __mutex_unlock_slowpath+0x406/0x6a0 kernel/locking/mutex.c:895
 pcpu_alloc+0xea1/0x1770 mm/percpu.c:1875
 bpf_map_alloc_percpu+0xc5/0x150 kernel/bpf/syscall.c:455
 bpf_array_alloc_percpu kernel/bpf/arraymap.c:37 [inline]
 array_map_alloc+0x370/0x6f0 kernel/bpf/arraymap.c:153
 find_and_alloc_map kernel/bpf/syscall.c:127 [inline]
 map_create+0x485/0x2170 kernel/bpf/syscall.c:880
 __sys_bpf+0x2a4/0x670 kernel/bpf/syscall.c:4633
 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4753 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f64f9e57be9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f64f80bf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f64fa08efa0 RCX: 00007f64f9e57be9
RDX: 0000000000000048 RSI: 00002000000009c0 RDI: 0000000000000000
RBP: 00007f64f9edae19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f64fa08f038 R14: 00007f64fa08efa0 R15: 00007ffc4bbb2e68
 </TASK>

Crashes (35):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/01 21:09 linux-5.15.y 01879f56bdde 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/09/01 07:34 linux-5.15.y 01879f56bdde 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/25 22:06 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/23 23:07 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/22 21:55 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/22 01:41 linux-5.15.y c79648372d02 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/20 04:29 linux-5.15.y c79648372d02 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/19 03:25 linux-5.15.y c79648372d02 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/18 17:16 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/18 16:14 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/18 11:32 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/17 03:45 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/14 20:19 linux-5.15.y c79648372d02 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/13 13:14 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/13 04:33 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/11 09:56 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_bpf
2025/08/02 09:09 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/06/07 12:28 linux-5.15.y 1c700860e8bc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_bpf
2025/05/15 07:59 linux-5.15.y 3b8db0e4f263 d6b2ee52 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/02/11 22:43 linux-5.15.y c16c81c81336 f2baddf5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2025/01/08 07:49 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/10/21 01:03 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/10/07 23:10 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/10/04 09:26 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/09/29 02:49 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/09/11 06:26 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/09/03 20:34 linux-5.15.y fa93fa65db6e 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/09/01 03:43 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/08/17 16:09 linux-5.15.y 7e89efd3ae1c dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/08/05 21:48 linux-5.15.y 7e89efd3ae1c e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_bpf
2024/06/17 17:38 linux-5.15.y 4878aadf2d15 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_bpf
2024/06/12 09:15 linux-5.15.y c61bd26ae81a 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_bpf
2024/05/28 06:04 linux-5.15.y c61bd26ae81a f550015e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_bpf
2024/05/07 13:28 linux-5.15.y 284087d4f7d5 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_bpf
2024/04/09 19:57 linux-5.15.y 9465fef4ae35 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_bpf
* Struck through repros no longer work on HEAD.