syzbot


INFO: rcu detected stall in sys_bpf

Status: upstream: reported C repro on 2025/08/10 11:50
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+bc876f0532355e757c37@syzkaller.appspotmail.com
First crash: 18d, last: 3h23m
Bug presence (2)
Date Name Commit Repro Result
2025/08/24 linux-6.6.y (ToT) bb9c90ab9c5a C [report] INFO: rcu detected stall in sys_unlink
2025/08/24 upstream (ToT) 8d245acc1e88 C Didn't crash
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 1313d 1406d 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 217d 456d 0/29 auto-obsoleted due to no activity on 2025/04/03 05:23
linux-5.15 INFO: rcu detected stall in sys_bpf (2) 1 33 2d14h 505d 0/3 upstream: reported on 2024/04/09 19:57
upstream INFO: rcu detected stall in sys_bpf (3) bpf 1 4 2059d 2059d 0/29 closed as invalid on 2020/01/09 08:13
linux-5.15 INFO: rcu detected stall in sys_bpf 1 2 629d 672d 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 2225d 2345d 0/29 auto-closed as invalid on 2019/11/23 00:18
upstream INFO: rcu detected stall in sys_bpf (2) bpf 1 12 2094d 2095d 0/29 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_bpf (8) bpf 1 1 648d 648d 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 2d08h 495d 0/3 upstream: reported on 2024/04/20 10:27
linux-4.19 INFO: rcu detected stall in sys_bpf 1 3 2042d 2172d 0/1 auto-closed as invalid on 2020/05/23 14:47
upstream BUG: soft lockup in sys_bpf mm 1 28 2d06h 127d 0/29 upstream: reported on 2025/04/23 05:48
upstream INFO: rcu detected stall in sys_bpf (6) net 1 7 1125d 1275d 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 2012d 2051d 0/29 auto-closed as invalid on 2020/05/24 13:03
android-54 BUG: soft lockup in sys_bpf 1 1 195d 195d 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 349d 517d 0/2 upstream: reported C repro on 2024/03/29 12:25
android-5-10 BUG: soft lockup in sys_bpf 1 2 430d 434d 0/2 auto-obsoleted due to no activity on 2024/09/22 11:37

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (10499 ticks this GP) idle=c80c/1/0x4000000000000000 softirq=10203/2408275 fqs=5027
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number:  1236599    1216187            0
rcu: 	cputime:     1060      50294         1126   ==> 52490(ms)
rcu: 	(t=10500 jiffies g=9173 q=310 ncpus=2)
CPU: 0 PID: 5846 Comm: syz-executor267 Not tainted 6.6.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:check_kcov_mode kernel/kcov.c:182 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x2e/0x60 kernel/kcov.c:216
Code: 48 8b 04 24 65 48 8b 0d d0 2e 7e 7e 65 8b 15 d1 2e 7e 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 <74> 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b
RSP: 0018:ffffc90000007490 EFLAGS: 00000246
RAX: ffffffff81889336 RBX: 00000032f2801440 RCX: ffff888030e9bc00
RDX: 0000000000000100 RSI: ffffffff8cd79180 RDI: 0000000000000004
RBP: 0000000000000f78 R08: ffff888030e9bc00 R09: 0000000000000020
R10: 000000000000001f R11: 0000000000000100 R12: 0000000000000064
R13: f800000000000000 R14: 0000000000000064 R15: 00000032f28023a8
FS:  0000555576263380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000004000 CR3: 000000007d486000 CR4: 00000000003506f0
Call Trace:
 <IRQ>
 check_buffer+0x556/0x950 kernel/trace/ring_buffer.c:3491
 __rb_reserve_next+0x511/0xd50 kernel/trace/ring_buffer.c:3624
 rb_reserve_next_event kernel/trace/ring_buffer.c:3759 [inline]
 ring_buffer_lock_reserve+0xae1/0xed0 kernel/trace/ring_buffer.c:3818
 __trace_buffer_lock_reserve kernel/trace/trace.c:992 [inline]
 trace_event_buffer_lock_reserve+0x1d0/0x6e0 kernel/trace/trace.c:2902
 trace_event_buffer_reserve+0x29b/0x3c0 kernel/trace/trace_events.c:661
 do_trace_event_raw_event_bpf_trace_printk kernel/trace/bpf_trace.h:11 [inline]
 trace_event_raw_event_bpf_trace_printk+0x101/0x210 kernel/trace/bpf_trace.h:11
 trace_bpf_trace_printk+0x142/0x1a0 kernel/trace/bpf_trace.h:11
 ____bpf_trace_printk kernel/trace/bpf_trace.c:388 [inline]
 bpf_trace_printk+0x11f/0x190 kernel/trace/bpf_trace.c:371
 bpf_prog_0605f9f479290f07+0x37/0x3b
 bpf_dispatcher_nop_func include/linux/bpf.h:1213 [inline]
 __bpf_prog_run include/linux/filter.h:612 [inline]
 bpf_prog_run include/linux/filter.h:619 [inline]
 __bpf_trace_run kernel/trace/bpf_trace.c:2322 [inline]
 bpf_trace_run1+0x1c9/0x3b0 kernel/trace/bpf_trace.c:2360
 __bpf_trace_rcu_utilization+0xa2/0xe0 include/trace/events/rcu.h:27
 trace_rcu_utilization+0x179/0x1a0 include/trace/events/rcu.h:27
 rcu_core+0x1341/0x1720 kernel/rcu/tree.c:2475
 handle_softirqs+0x280/0x820 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0xc7/0x190 kernel/softirq.c:661
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0xa1/0xc0 arch/x86/kernel/irq_work.c:17
 </IRQ>
 <TASK>
 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:723
RIP: 0010:preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:7009
Code: 44 24 20 f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 63 bf 01 00 00 00 e8 4b da e5 f6 e8 46 5f 16 f7 fb bf 01 00 00 00 <e8> db b5 ff ff 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 8b 44 24
RSP: 0018:ffffc9000492eb20 EFLAGS: 00000282
RAX: df1405895ab93800 RBX: 0000000000000000 RCX: df1405895ab93800
RDX: dffffc0000000000 RSI: ffffffff8aaab9c0 RDI: 0000000000000001
RBP: ffffc9000492ebc0 R08: ffffffff8e4a882f R09: 1ffffffff1c95105
R10: dffffc0000000000 R11: fffffbfff1c95106 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92000925d64
 irqentry_exit+0x67/0x70 kernel/entry/common.c:438
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:memset_orig+0x42/0xac arch/x86/lib/memset_64.S:71
Code: c1 41 89 f9 41 83 e1 07 75 6c 48 89 d1 48 c1 e9 06 74 35 0f 1f 44 00 00 48 ff c9 48 89 07 48 89 47 08 48 89 47 10 48 89 47 18 <48> 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d8
RSP: 0018:ffffc9000492ec88 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000cc0 RCX: 0000000000000004
RDX: 0000000000000200 RSI: 0000000000000000 RDI: ffffc9000492ed50
RBP: ffffc9000492eeb8 R08: dffffc0000000000 R09: 0000000000000000
R10: ffffc9000492ec90 R11: fffffbfff1c95106 R12: ffff8880178418c0
R13: 0000000000000000 R14: ffff88801d7d5480 R15: ffffc9000492ec90
 kasan_save_stack mm/kasan/common.c:42 [inline]
 kasan_set_track+0x3f/0x70 mm/kasan/common.c:52
 ____kasan_kmalloc mm/kasan/common.c:374 [inline]
 __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:383
 kasan_kmalloc include/linux/kasan.h:198 [inline]
 __do_kmalloc_node mm/slab_common.c:1007 [inline]
 __kmalloc_node_track_caller+0xb2/0x230 mm/slab_common.c:1027
 __do_krealloc mm/slab_common.c:1402 [inline]
 krealloc+0x86/0x120 mm/slab_common.c:1435
 copy_array+0x64/0xf0 kernel/bpf/verifier.c:1572
 copy_stack_state kernel/bpf/verifier.c:1626 [inline]
 copy_func_state kernel/bpf/verifier.c:1755 [inline]
 copy_verifier_state+0x7f3/0xd20 kernel/bpf/verifier.c:1796
 push_stack+0x1b9/0x500 kernel/bpf/verifier.c:2059
 check_cond_jmp_op+0xdd0/0x2680 kernel/bpf/verifier.c:14630
 do_check+0x672e/0xdbe0 kernel/bpf/verifier.c:17353
 do_check_common+0xadb/0x13e0 kernel/bpf/verifier.c:19699
 do_check_main kernel/bpf/verifier.c:19762 [inline]
 bpf_check+0x649f/0xe970 kernel/bpf/verifier.c:20430
 bpf_prog_load+0x11cb/0x16d0 kernel/bpf/syscall.c:2744
 __sys_bpf+0x55a/0x800 kernel/bpf/syscall.c:5467
 __do_sys_bpf kernel/bpf/syscall.c:5571 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5569 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5569
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f41c84b0fb9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 01 1a 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff295cb2b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f41c84b0fb9
RDX: 000000000000002e RSI: 0000200000000080 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/23 15:58 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/24 23:06 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/14 01:48 linux-6.6.y 3a8ababb8b6a 22ec1469 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/28 09:38 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/28 09:37 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/28 08:09 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/28 07:56 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/28 06:09 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/27 22:19 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/27 22:06 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/27 22:03 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/27 18:51 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/27 00:46 linux-6.6.y bb9c90ab9c5a e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/26 15:16 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/26 09:12 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/26 09:09 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/26 00:30 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/26 00:27 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/23 01:27 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/18 11:19 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/16 12:36 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/15 12:27 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/12 16:00 linux-6.6.y 3a8ababb8b6a c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/11 03:47 linux-6.6.y 3a8ababb8b6a 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/10 16:39 linux-6.6.y 3a8ababb8b6a 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
2025/08/10 11:49 linux-6.6.y 3a8ababb8b6a 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: rcu detected stall in sys_bpf
* Struck through repros no longer work on HEAD.