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: 150d, last: 7d03h
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 1699d 1699d 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 356d 462d 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 857d 919d 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 1009d 1202d 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 44 21d 98d 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 36 3d22h 586d 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 626d 751d 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 1329d 1332d 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 104d 103d 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 777d 838d 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 798d 798d 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 1142d 1142d 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): P46/1:b..l
	(detected by 1, t=10502 jiffies, g=48077, q=220 ncpus=2)
task:kworker/u4:3    state:R  running task     stack:22328 pid:46    ppid:2      flags:0x00004000
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5241 [inline]
 __schedule+0x143f/0x4570 kernel/sched/core.c:6558
 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870
 irqentry_exit+0x53/0x80 kernel/entry/common.c:439
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666
Code: 2b 00 74 08 4c 89 f7 e8 3f ac 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:ffffc90000b77900 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff9200016ef2c RCX: 1ffff9200016eecc
RDX: dffffc0000000000 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5d7180
RBP: ffffc90000b77a48 R08: dffffc0000000000 R09: fffffbfff223ba45
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200016ef28
R13: dffffc0000000000 R14: ffffc90000b77960 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+0x8a9/0x11d0 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 10338 jiffies! g48077 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=23636
rcu: rcu_preempt kthread starved for 10339 jiffies! g48077 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27128 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5241 [inline]
 __schedule+0x143f/0x4570 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 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:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline]
RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline]
RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:567
Code: ac d9 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 a4 6b e0 f6 0f 1f 44 00 00 e8 ba a8 d9 f6 0f 00 2d 93 90 b6 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 5b 2b 31 f7
RSP: 0018:ffffc90000177b80 EFLAGS: 000002d3
RAX: ffffffff8ab10686 RBX: 0000000000000000 RCX: ffff888017ff1dc0
RDX: 0000000000000000 RSI: ffffffff8b0c0340 RDI: ffffffff8b5d7180
RBP: ffffc90000177c10 R08: ffffffff8ab10668 R09: ffffed1002ffe3b9
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200002ef70
R13: ffff88801a764004 R14: ffffc90000177ba0 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f42d67e66c0 CR3: 000000001d7a9000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:704
 cpuidle_enter_state+0x516/0xf80 drivers/cpuidle/cpuidle.c:239
 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356
 call_cpuidle kernel/sched/idle.c:155 [inline]
 cpuidle_idle_call kernel/sched/idle.c:236 [inline]
 do_idle+0x3ce/0x680 kernel/sched/idle.c:303
 cpu_startup_entry+0x3d/0x60 kernel/sched/idle.c:401
 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:281
 secondary_startup_64_no_verify+0xcf/0xdb
 </TASK>

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.