syzbot


INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (2)

Status: upstream: reported on 2024/05/18 05:47
Reported-by: syzbot+c9aac8e0e280f2968a2e@syzkaller.appspotmail.com
First crash: 321d, last: 9d12h
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet 1 1870d 1870d 0/1 auto-closed as invalid on 2020/06/19 05:22
linux-6.1 INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet 3 527d 633d 0/3 auto-obsoleted due to no activity on 2024/02/02 20:15
upstream INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (3) batman 2 1028d 1090d 0/28 auto-closed as invalid on 2022/09/09 16:10
upstream INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (2) batman 6 1179d 1373d 0/28 closed as invalid on 2022/02/08 10:00
upstream BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet netfilter C error done 49 41d 269d 0/28 upstream: reported C repro on 2024/07/09 03:12
linux-5.15 BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet origin:lts-only C error 50 3d00h 756d 0/3 upstream: reported C repro on 2023/03/09 22:19
upstream INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (4) batman 3 797d 922d 0/28 auto-obsoleted due to no activity on 2023/04/28 17:43
upstream INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet batman 2 1499d 1503d 0/28 auto-closed as invalid on 2021/05/25 23:54
upstream INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (5) batman C 44 275d 274d 0/28 closed as dup on 2024/07/04 19:37
linux-4.14 BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet C error 1 948d 1009d 0/1 upstream: reported C repro on 2022/06/30 02:55
linux-4.19 BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet (2) 1 969d 969d 0/1 auto-obsoleted due to no activity on 2022/12/07 08:10
linux-4.19 BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet 1 1313d 1313d 0/1 auto-closed as invalid on 2021/12/28 02:54

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P7124/1:b..l
	(detected by 1, t=10503 jiffies, g=26905, q=47 ncpus=2)
task:kworker/u4:21   state:R  running task     stack:27096 pid:7124  ppid:2      flags:0x00004000
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5243 [inline]
 __schedule+0x143f/0x4570 kernel/sched/core.c:6560
 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6872
 irqentry_exit+0x53/0x80 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666
Code: 2b 00 74 08 4c 89 f7 e8 4f 55 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc9000fc4f900 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92001f89f2c RCX: 1ffff92001f89ecc
RDX: dffffc0000000000 RSI: ffffffff8b0c2ec0 RDI: ffffffff8b5f6f80
RBP: ffffc9000fc4fa48 R08: dffffc0000000000 R09: fffffbfff225724d
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92001f89f28
R13: dffffc0000000000 R14: ffffc9000fc4f960 R15: 0000000000000246
 rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 rcu_read_lock include/linux/rcupdate.h:791 [inline]
 batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline]
 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:826 [inline]
 batadv_iv_ogm_schedule+0x43b/0x1090 net/batman-adv/bat_iv_ogm.c:869
 batadv_iv_send_outstanding_bat_ogm_packet+0x6fa/0x800 net/batman-adv/bat_iv_ogm.c:1713
 process_one_work+0x917/0x1260 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10530 jiffies! g26905 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=12798
rcu: rcu_preempt kthread starved for 10533 jiffies! g26905 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
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:I stack:27000 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5243 [inline]
 __schedule+0x143f/0x4570 kernel/sched/core.c:6560
 schedule+0xbf/0x180 kernel/sched/core.c:6636
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965
 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905
 kthread+0x28d/0x320 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:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline]
NMI backtrace for cpu 0 skipped: idling at acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567

Crashes (33):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/26 08:55 linux-6.1.y 344a09659766 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2025/03/15 04:02 linux-6.1.y 344a09659766 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2025/03/11 08:11 linux-6.1.y 6ae7ac5c4251 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2025/02/13 10:15 linux-6.1.y 0cbb5f65e52f b27c2402 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2025/01/06 19:42 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/11/05 07:40 linux-6.1.y 7c15117f9468 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/10/26 19:46 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/10/17 11:39 linux-6.1.y aa4cd140bba5 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/10/08 22:42 linux-6.1.y aa4cd140bba5 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/10/08 17:58 linux-6.1.y aa4cd140bba5 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/09/19 11:29 linux-6.1.y e526b12bf916 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/09/19 11:15 linux-6.1.y e526b12bf916 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/09/19 09:08 linux-6.1.y e526b12bf916 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/09/19 09:03 linux-6.1.y e526b12bf916 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/09/11 03:25 linux-6.1.y 5ca5b389fddf 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/09/10 07:02 linux-6.1.y 5ca5b389fddf 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/08/24 02:17 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/08/13 22:10 linux-6.1.y 36790ef5e00b f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/08/03 22:45 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/07/17 01:16 linux-6.1.y cac15753b8ce b66b37bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/07/09 07:43 linux-6.1.y 7753af06eebf bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/07/08 12:59 linux-6.1.y 7753af06eebf cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/07/06 09:34 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/07/04 05:50 linux-6.1.y 99e6a620de00 f76a75f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/06/29 16:36 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/06/26 13:07 linux-6.1.y eb44d83053d6 c6d33a01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/06/22 07:05 linux-6.1.y eb44d83053d6 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/06/18 18:56 linux-6.1.y eb44d83053d6 639d6cdf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/06/10 15:45 linux-6.1.y 88690811da69 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/06/08 04:42 linux-6.1.y 88690811da69 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/06/07 09:42 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/06/01 07:25 linux-6.1.y 88690811da69 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2024/05/18 05:46 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
* Struck through repros no longer work on HEAD.