syzbot


INFO: rcu detected stall in tx

Status: upstream: reported on 2024/04/12 14:07
Reported-by: syzbot+f37ed25462439c904d62@syzkaller.appspotmail.com
First crash: 17d, last: 17d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in tx serial C 64 1d02h 590d 0/26 upstream: reported C repro on 2022/09/18 05:29
upstream INFO: rcu detected stall in tx net C error unreliable 3 969d 1107d 20/26 fixed on 2021/11/10 00:50
upstream INFO: rcu detected stall in tx (2) serial 79 735d 853d 0/26 auto-closed as invalid on 2022/08/24 07:21
linux-5.15 BUG: soft lockup in tx 21 134d 386d 0/3 auto-obsoleted due to no activity on 2024/03/27 03:04
linux-6.1 BUG: soft lockup in tx (2) 1 87d 87d 0/3 upstream: reported on 2024/02/02 18:08
linux-4.14 BUG: soft lockup in tx C error 2 755d 934d 0/1 upstream: reported C repro on 2021/10/09 08:02
linux-4.19 BUG: soft lockup in tx C done 1 969d 999d 1/1 fixed on 2021/10/04 07:44
linux-6.1 BUG: soft lockup in tx 3 248d 372d 0/3 auto-obsoleted due to no activity on 2023/12/03 12:31

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (10500 ticks this GP) idle=c71/1/0x4000000000000000 softirq=14020/14020 fqs=5243 
	(t=10502 jiffies g=18813 q=890)
NMI backtrace for cpu 1
CPU: 1 PID: 1381 Comm: aoe_tx0 Not tainted 5.15.154-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349
 print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633
 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline]
 rcu_pending kernel/rcu/tree.c:3932 [inline]
 rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619
 update_process_times+0x196/0x200 kernel/time/timer.c:1818
 tick_sched_handle kernel/time/tick-sched.c:254 [inline]
 tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473
 __run_hrtimer kernel/time/hrtimer.c:1686 [inline]
 __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
 __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 12 12 a3 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 67 54 30 f7 65 8b 05 18 63 db 75 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc9000548f900 EFLAGS: 00000206
RAX: d90f01458bbeb900 RBX: 1ffff92000a91f24 RCX: ffffffff81631878
RDX: dffffc0000000000 RSI: ffffffff8a8b2a00 RDI: 0000000000000001
RBP: ffffc9000548f990 R08: dffffc0000000000 R09: fffffbfff1f7ec4b
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000a91f20 R14: ffffc9000548f920 R15: 0000000000000246
 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
 uart_write+0x3ae/0x930 drivers/tty/serial/serial_core.c:572
 handle_tx+0x249/0x620 drivers/net/caif/caif_serial.c:236
 __netdev_start_xmit include/linux/netdevice.h:5019 [inline]
 netdev_start_xmit include/linux/netdevice.h:5033 [inline]
 xmit_one net/core/dev.c:3617 [inline]
 dev_hard_start_xmit+0x298/0x7a0 net/core/dev.c:3633
 __dev_queue_xmit+0x1cee/0x3230 net/core/dev.c:4248
 tx+0x65/0x160 drivers/block/aoe/aoenet.c:63
 kthread+0x234/0x440 drivers/block/aoe/aoecmd.c:1230
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/12 14:07 linux-5.15.y cdfd0a7f0139 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in tx
* Struck through repros no longer work on HEAD.