syzbot


INFO: rcu detected stall in bond_alb_monitor

Status: closed as invalid on 2023/09/08 17:33
Subsystems: net
[Documentation on labels]
First crash: 748d, last: 748d

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P30382/2:b..l
rcu: 	(detected by 1, t=10502 jiffies, g=418409, q=609 ncpus=2)
task:kworker/u4:23   state:R  running task     stack:27600 pid:30382 ppid:2      flags:0x00004000
Workqueue: bond704 bond_alb_monitor
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6710
 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7022
 irqentry_exit+0x35/0x80 kernel/entry/common.c:433
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:trace_lock_acquire include/trace/events/lock.h:24 [inline]
RIP: 0010:lock_acquire+0xbf/0x510 kernel/locking/lockdep.c:5732
Code: 07 0f 87 d7 03 00 00 89 d5 be 08 00 00 00 48 89 e8 48 c1 e8 06 48 8d 3c c5 90 24 ac 8e e8 c9 da 73 00 48 0f a3 2d 01 f3 44 0d <0f> 82 9a 03 00 00 48 c7 c0 b0 59 ac 8e 48 ba 00 00 00 00 00 fc ff
RSP: 0018:ffffc9001b48fa28 EFLAGS: 00000247
RAX: 0000000000000001 RBX: 1ffff92003691f47 RCX: ffffffff81673187
RDX: fffffbfff1d58493 RSI: 0000000000000008 RDI: ffffffff8eac2490
RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff1d58492
R10: ffffffff8eac2497 R11: 000000000000004e R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8c9a7a00 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
 rcu_read_lock include/linux/rcupdate.h:749 [inline]
 alb_send_learning_packets+0x10b/0x300 drivers/net/bonding/bond_alb.c:1016
 bond_alb_monitor+0x9a1/0x15f0 drivers/net/bonding/bond_alb.c:1563
 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600
 worker_thread+0x687/0x1110 kernel/workqueue.c:2751
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
rcu: rcu_preempt kthread starved for 2833 jiffies! g418409 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:28176 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6710
 schedule+0xe7/0x1b0 kernel/sched/core.c:6786
 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1609
 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1808
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 PID: 20619 Comm: bond5 Not tainted 6.5.0-rc5-syzkaller-01349-g6a1ed1430daa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue:  0x0 (bond5)
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 3a 1a 2f f7 48 89 df e8 12 99 2f f7 e8 7d c3 54 f7 fb bf 01 00 00 00 <e8> c2 3b 21 f7 65 8b 05 a3 b1 cb 75 85 c0 74 02 5b c3 e8 00 7a c8
RSP: 0018:ffffc90003947da8 EFLAGS: 00000202
RAX: 0000000000001ea7 RBX: ffff888013241000 RCX: 1ffffffff1d57e61
RDX: 0000000000000000 RSI: ffffffff8a6c8140 RDI: 0000000000000001
RBP: ffff8880777ea340 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8eac2497 R11: 0000000000000000 R12: ffff8880777ea300
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888013241000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5363d78038 CR3: 0000000079c88000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 rescuer_thread+0x889/0xdd0 kernel/workqueue.c:2898
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/11 09:10 net-next 6a1ed1430daa da3c3ef8 .config console log report info ci-upstream-net-kasan-gce INFO: rcu detected stall in bond_alb_monitor
* Struck through repros no longer work on HEAD.