syzbot


INFO: rcu detected stall in batadv_mcast_mla_update (2)

Status: upstream: reported on 2025/08/30 12:06
Reported-by: syzbot+551695bf01bd0a4a6385@syzkaller.appspotmail.com
First crash: 116d, last: 21d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in batadv_mcast_mla_update 1 1 303d 303d 0/3 auto-obsoleted due to no activity on 2025/06/04 18:56
upstream INFO: rcu detected stall in batadv_mcast_mla_update batman 1 6 455d 551d 0/29 auto-obsoleted due to no activity on 2024/12/24 16:54
upstream INFO: rcu detected stall in batadv_mcast_mla_update (2) batman 1 C error 4 1d01h 3d05h 0/29 upstream: reported C repro on 2025/12/22 05:27

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-....: (1 ticks this GP) idle=8d9/1/0x4000000000000002 softirq=27279/27279 fqs=5249 
	(detected by 1, t=10502 jiffies, g=36073, q=829)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 760 Comm: kworker/u4:3 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: bat_events batadv_mcast_mla_update
RIP: 0010:perf_prepare_sample+0x96a/0x1cb0 kernel/events/core.c:7692
Code: c7 8d 1c c5 08 00 00 00 eb 09 e8 91 7a e1 ff 66 bb 08 00 48 8b 44 24 30 42 0f b6 04 20 84 c0 0f 85 c9 0e 00 00 66 41 01 5d 00 <4c> 89 f6 48 81 e6 00 20 00 00 31 ff e8 45 7e e1 ff 4c 89 f0 48 25
RSP: 0018:ffffc900000074a0 EFLAGS: 00000046
RAX: ffffffff8196511d RBX: ffffc90000007640 RCX: ffff88801f563b80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007590 R08: dffffc0000000000 R09: ffffc900000075e0
R10: fffff52000000ec3 R11: 1ffff92000000ebc R12: dffffc0000000000
R13: ffffc90000007646 R14: 0000000000000000 R15: ffffc90000007800
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4e07849f98 CR3: 000000000be8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 __perf_event_output kernel/events/core.c:7802 [inline]
 perf_event_output_forward+0x146/0x280 kernel/events/core.c:7822
 __perf_event_overflow+0x364/0x530 kernel/events/core.c:9515
 perf_swevent_overflow kernel/events/core.c:9591 [inline]
 perf_swevent_event+0x4ad/0x530 kernel/events/core.c:9629
 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 ed 11 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:ffffc90000007c60 EFLAGS: 00000206
RAX: 6410ea8cce7ec600 RBX: 1ffff92000000f90 RCX: 6410ea8cce7ec600
RDX: dffffc0000000000 RSI: ffffffff8a0b1c60 RDI: ffffffff8a59e580
RBP: ffffc90000007d28 R08: dffffc0000000000 R09: fffffbfff1ff7c37
R10: fffffbfff1ff7c37 R11: 1ffffffff1ff7c36 R12: ffffffff8c120c00
R13: dffffc0000000000 R14: 0000000000000246 R15: 0000000000000001
 __rcu_read_unlock+0x78/0xd0 kernel/rcu/tree_plugin.h:422
 rcu_read_unlock include/linux/rcupdate.h:772 [inline]
 rebalance_domains+0xa51/0xb80 kernel/sched/fair.c:10660
 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 de 0d 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> f6 95 9e f7 65 8b 05 87 93 4f 76 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc90003c6f8e0 EFLAGS: 00000206
RAX: 6410ea8cce7ec600 RBX: 0000000000000a02 RCX: 6410ea8cce7ec600
RDX: dffffc0000000000 RSI: ffffffff8a0b1c60 RDI: 0000000000000001
RBP: ffffc90003c6f970 R08: dffffc0000000000 R09: fffffbfff1ff7c37
R10: fffffbfff1ff7c37 R11: 1ffffffff1ff7c36 R12: dffffc0000000000
R13: ffff88801f4a82c0 R14: ffffffff962fd980 R15: 1ffff9200078df1c
 __debug_check_no_obj_freed lib/debugobjects.c:982 [inline]
 debug_check_no_obj_freed+0x515/0x530 lib/debugobjects.c:1003
 slab_free_hook mm/slub.c:1685 [inline]
 slab_free_freelist_hook+0x8b/0x170 mm/slub.c:1736
 slab_free mm/slub.c:3504 [inline]
 kfree+0xef/0x2a0 mm/slub.c:4564
 batadv_mcast_mla_list_free net/batman-adv/multicast.c:638 [inline]
 __batadv_mcast_mla_update net/batman-adv/multicast.c:893 [inline]
 batadv_mcast_mla_update+0x2d80/0x3110 net/batman-adv/multicast.c:915
 process_one_work+0x863/0x1000 kernel/workqueue.c:2310
 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/04 00:09 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in batadv_mcast_mla_update
2025/11/24 19:57 linux-5.15.y cc5ec8769306 bf6fe8fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in batadv_mcast_mla_update
2025/08/30 12:05 linux-5.15.y 01879f56bdde 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in batadv_mcast_mla_update
* Struck through repros no longer work on HEAD.