syzbot


INFO: rcu detected stall in batadv_nc_worker

Status: upstream: reported C repro on 2023/07/06 06:16
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+13306b743f5eee80aab3@syzkaller.appspotmail.com
First crash: 1089d, last: 8d11h
Fix commit to backport (bisect log) :
tree: upstream
commit 8c21ab1bae945686c602c5bfa4e3f3352c2452c5
Author: Eric Dumazet <edumazet@google.com>
Date: Tue Aug 29 12:35:41 2023 +0000

  net/sched: fq_pie: avoid stalls in fq_pie_timer()

[report pending]
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: INFO: rcu detected stall in corrupted (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2023/09/18 linux-6.1.y (ToT) 09045dae0d90 C [report] INFO: rcu detected stall in corrupted
2023/09/18 upstream (ToT) 2cf0f7156238 C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in batadv_nc_worker cgroups mm 1 7 2399d 2400d 0/29 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in batadv_nc_worker (2) mm 1 4 2363d 2364d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in batadv_nc_worker (3) batman 1 C done inconclusive 585 285d 2097d 0/29 upstream: reported C repro on 2020/10/01 10:35
linux-5.15 INFO: rcu detected stall in batadv_nc_worker origin:lts-only 1 C done 370 7d18h 1111d 0/3 upstream: reported C repro on 2023/06/13 20:27
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/11/06 15:29 7h44m fix candidate upstream OK (1) job log
2023/10/25 07:11 2h37m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P4370/1:b..l
	(detected by 1, t=10502 jiffies, g=10753, q=390 ncpus=2)
task:kworker/u4:5    state:R  running task     stack:26192 pid:4370  ppid:2      flags:0x00004000
Workqueue: bat_events batadv_nc_worker
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x107f/0x4030 kernel/sched/core.c:6562
 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6874
 irqentry_exit+0x63/0x70 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:rcu_preempt_read_exit kernel/rcu/tree_plugin.h:384 [inline]
RIP: 0010:__rcu_read_unlock+0x1b/0xd0 kernel/rcu/tree_plugin.h:423
Code: 03 38 c1 7c e3 48 89 df e8 a2 5d 66 00 eb d9 41 57 41 56 41 55 41 54 53 49 bf 00 00 00 00 00 fc ff df 65 48 8b 3d 05 84 95 7e <48> 8d 9f 3c 04 00 00 49 89 dc 49 c1 ec 03 43 0f b6 04 3c 84 c0 75
RSP: 0018:ffffc90003f87bb0 EFLAGS: 00000293
RAX: ffffffff89f44547 RBX: ffff88802e3d3600 RCX: ffff8880264c5a00
RDX: 0000000000000000 RSI: ffffffff8adee180 RDI: ffff8880264c5a00
RBP: 0000000000000000 R08: dffffc0000000000 R09: 1ffffffff215e448
R10: dffffc0000000000 R11: fffffbfff215e449 R12: dffffc0000000000
R13: ffffffff89f4440e R14: ffff888025470c80 R15: dffffc0000000000
 rcu_read_unlock include/linux/rcupdate.h:823 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
 batadv_nc_worker+0x278/0x600 net/batman-adv/network-coding.c:719
 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: rcu_preempt kthread starved for 10522 jiffies! g10753 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:27840 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x107f/0x4030 kernel/sched/core.c:6562
 schedule+0xb9/0x180 kernel/sched/core.c:6638
 schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2168
 rcu_gp_fqs_loop+0x303/0x1350 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0x99/0x3b0 kernel/rcu/tree.c:1905
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 4526 Comm: syz.2.19 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:__unsafe_setup_sigcontext arch/x86/kernel/signal.c:168 [inline]
RIP: 0010:__setup_rt_frame arch/x86/kernel/signal.c:486 [inline]
RIP: 0010:setup_rt_frame arch/x86/kernel/signal.c:784 [inline]
RIP: 0010:handle_signal arch/x86/kernel/signal.c:828 [inline]
RIP: 0010:arch_do_signal_or_restart+0xa74/0x1310 arch/x86/kernel/signal.c:873
Code: ff e8 e0 4d a6 00 49 8b 07 49 89 06 4c 8b 74 24 10 4d 8d 7e 40 4c 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 4c 89 ff e8 b2 4d a6 00 49 8b 07 49 89 44 24 38 4d 8d 7e 38
RSP: 0018:ffffc90003667ca0 EFLAGS: 00040246
RAX: 1ffff920006ccff3 RBX: 1ffff920006ccfac RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003667ec0 R08: 0000000000000000 R09: 1ffff920006ccf71
R10: dffffc0000000000 R11: fffff520006ccf72 R12: 00007f632a48bb38
R13: 0000000000000000 R14: ffffc90003667f58 R15: ffffc90003667f98
FS:  00007f632a48c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000058 CR3: 00000000575ba000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f632959ce57
Code: 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89
RSP: 002b:00007f632a48c0e8 EFLAGS: 00000246
RAX: 00000000000000ca RBX: 00007f6329815fa8 RCX: 00007f632959ce59
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6329815fa8
RBP: 00007f6329815fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6329816038 R14: 00007ffc5ab4d3a0 R15: 00007ffc5ab4d488
 </TASK>
sched: RT throttling activated

Crashes (280):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/20 22:58 linux-6.1.y fdb6fcb41cc7 43bfcdb0 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/30 21:55 linux-6.1.y cd9b81672742 ae7dc18c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in batadv_nc_worker
2025/12/05 14:55 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2023/09/18 20:52 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/06/06 16:35 linux-6.1.y 228da13e907e cc095639 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/25 12:44 linux-6.1.y cd9b81672742 40acda8a .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/03 07:39 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/11/24 08:25 linux-6.1.y f6e38ae624cf 4fb8ef37 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/10/29 04:48 linux-6.1.y 8e6e2188d949 fd2207e7 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/09/15 08:01 linux-6.1.y 3db754f56897 e2beed91 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/04/12 09:53 linux-6.1.y 420102835862 0bd6db41 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/01/26 21:24 linux-6.1.y 75cefdf153f5 9fbd772e .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/01/26 11:00 linux-6.1.y 75cefdf153f5 9fbd772e .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/11 05:37 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: rcu detected stall in batadv_nc_worker
2026/06/11 08:56 linux-6.1.y 228da13e907e b754d2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/06/06 19:12 linux-6.1.y 228da13e907e cc095639 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/06/05 18:00 linux-6.1.y 228da13e907e 48b6c3fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/05/30 09:25 linux-6.1.y dcbcab9d7079 6b4a8443 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/05/28 02:57 linux-6.1.y dcbcab9d7079 4c36e7e5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/05/23 07:32 linux-6.1.y c27210688955 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/05/20 19:52 linux-6.1.y c27210688955 62fb93a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/05/20 14:20 linux-6.1.y c27210688955 62fb93a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/05/10 07:57 linux-6.1.y ad16b162f21d 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/05/10 04:29 linux-6.1.y ad16b162f21d 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/05/08 05:23 linux-6.1.y 4931e0e1673d 5633175a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/05/05 06:10 linux-6.1.y 4931e0e1673d a898ba9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/04/19 23:46 linux-6.1.y 7c87defbd336 303e2802 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/04/15 21:46 linux-6.1.y 8e8fc038cad5 c441f497 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/04/11 22:44 linux-6.1.y 8e8fc038cad5 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/04/11 09:41 linux-6.1.y 1989cd3d56e2 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/04/08 21:03 linux-6.1.y 1989cd3d56e2 d9b7f621 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/03/10 17:33 linux-6.1.y f2ddafa93a25 4683d576 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/03/07 22:00 linux-6.1.y f2ddafa93a25 5cb44a80 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/03/04 22:59 linux-6.1.y 2f66dd9cff42 e6b6b96b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/27 07:11 linux-6.1.y 779f9571ac3e a2f13f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/20 13:12 linux-6.1.y 779f9571ac3e 17d780d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/20 04:49 linux-6.1.y 779f9571ac3e c8d8c52d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/17 11:02 linux-6.1.y 8ce36b2849ef e439b951 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/15 09:52 linux-6.1.y 8ce36b2849ef 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/14 04:26 linux-6.1.y 8ce36b2849ef 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/13 13:00 linux-6.1.y 8ce36b2849ef 6a673c50 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/12 10:32 linux-6.1.y 8ce36b2849ef 76a109e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/10 14:53 linux-6.1.y 0182cb5b74ee 91d776d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/10 06:57 linux-6.1.y 0182cb5b74ee 4ab09a02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/09 21:43 linux-6.1.y 0182cb5b74ee df949cd9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/07 03:12 linux-6.1.y 0182cb5b74ee f20fc9f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/06 21:35 linux-6.1.y 0182cb5b74ee 97745f52 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/01 14:26 linux-6.1.y cd9b81672742 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/02/01 11:21 linux-6.1.y cd9b81672742 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/30 20:48 linux-6.1.y cd9b81672742 ae7dc18c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/28 21:54 linux-6.1.y cd9b81672742 004c195c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/27 19:43 linux-6.1.y cd9b81672742 9a514c2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/25 15:24 linux-6.1.y cd9b81672742 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/24 07:19 linux-6.1.y cd9b81672742 4f25b9b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/21 10:07 linux-6.1.y cd9b81672742 6f1aa2f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/14 09:00 linux-6.1.y bec0e10ee67e d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/14 02:42 linux-6.1.y bec0e10ee67e d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/10 07:37 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/01/06 10:13 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/12/30 02:50 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/12/30 00:11 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/12/29 14:46 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2025/12/20 07:08 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
2026/03/05 04:26 linux-6.1.y 2f66dd9cff42 a9fe5c9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: rcu detected stall in batadv_nc_worker
2023/07/06 06:15 linux-6.1.y 0f4ac6b4c5f0 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_nc_worker
* Struck through repros no longer work on HEAD.