syzbot


INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (2)

Status: closed as invalid on 2022/02/08 10:00
Subsystems: batman
[Documentation on labels]
First crash: 1201d, last: 1007d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (2) 25 5d22h 149d 0/3 upstream: reported on 2024/05/18 05:47
linux-4.19 INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet 1 1698d 1698d 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 355d 461d 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 856d 918d 0/28 auto-closed as invalid on 2022/09/09 16:10
upstream BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet netfilter C error 44 20d 97d 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 2d16h 584d 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 625d 750d 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 1327d 1331d 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 103d 102d 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 776d 837d 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 797d 797d 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 1141d 1141d 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): P4328/1:b..l
	(detected by 1, t=10502 jiffies, g=268565, q=308)
task:kworker/u4:3    state:R  running task     stack:25888 pid: 4328 ppid:     2 flags:0x00004000
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0xa9a/0x4940 kernel/sched/core.c:6253
 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6668
 irqentry_exit+0x31/0x80 kernel/entry/common.c:425
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:756 [inline]
RIP: 0010:batadv_iv_ogm_schedule_buff+0x606/0x1430 net/batman-adv/bat_iv_ogm.c:826
Code: c6 e8 0e 05 9c f8 40 84 ed 5e 0f 84 be 04 00 00 e8 1f 01 9c f8 48 89 d8 48 c1 e8 03 42 80 3c 28 00 0f 85 6c 0d 00 00 48 8b 2b <48> 85 ed 0f 84 28 01 00 00 e8 fc 00 9c f8 48 81 ed c8 01 00 00 0f
RSP: 0018:ffffc900083a7b98 EFLAGS: 00000246
RAX: 1ffff110081ef1e8 RBX: ffff888040f78f40 RCX: 0000000000000000
RDX: ffff888026ed1d00 RSI: ffffffff88dba9d1 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff88dba9c2 R11: 0000000000000000 R12: ffff88807caf4894
R13: dffffc0000000000 R14: ffff88801d57cc80 R15: 00000000000001e8
 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:869 [inline]
 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:862 [inline]
 batadv_iv_send_outstanding_bat_ogm_packet+0x740/0x8e0 net/batman-adv/bat_iv_ogm.c:1713
 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
 kthread+0x405/0x4f0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	e8 0e 05 9c f8       	callq  0xf89c0513
   5:	40 84 ed             	test   %bpl,%bpl
   8:	5e                   	pop    %rsi
   9:	0f 84 be 04 00 00    	je     0x4cd
   f:	e8 1f 01 9c f8       	callq  0xf89c0133
  14:	48 89 d8             	mov    %rbx,%rax
  17:	48 c1 e8 03          	shr    $0x3,%rax
  1b:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
  20:	0f 85 6c 0d 00 00    	jne    0xd92
  26:	48 8b 2b             	mov    (%rbx),%rbp
* 29:	48 85 ed             	test   %rbp,%rbp <-- trapping instruction
  2c:	0f 84 28 01 00 00    	je     0x15a
  32:	e8 fc 00 9c f8       	callq  0xf89c0133
  37:	48 81 ed c8 01 00 00 	sub    $0x1c8,%rbp
  3e:	0f                   	.byte 0xf

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/09 16:01 upstream 2a987e65025e b54aa474 .config console log report info ci-upstream-kasan-gce INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2021/10/21 11:52 upstream 2f111a6fd5b5 f111d03b .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2021/10/14 15:46 upstream 26d657410983 5462d470 .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2021/09/26 14:07 upstream a3b397b4fffb 8cac236e .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2022/01/11 00:35 net-next-old 8aaaf2f3af2a ddb0ab8c .config console log report info ci-upstream-net-kasan-gce INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2021/07/01 20:10 bpf-next dbe69e433722 658ebc66 .config console log report info ci-upstream-bpf-next-kasan-gce INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
* Struck through repros no longer work on HEAD.