syzbot


WARNING in rcu_check_gp_start_stall (2)

Status: upstream: reported on 2024/04/24 21:58
Reported-by: syzbot+63c309992cdbc358f543@syzkaller.appspotmail.com
First crash: 167d, last: 22d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in rcu_check_gp_start_stall net C done error 1792 3h19m 2055d 0/28 upstream: reported C repro on 2019/02/22 17:10
linux-5.15 WARNING in rcu_check_gp_start_stall 1 305d 305d 0/3 auto-obsoleted due to no activity on 2024/03/17 09:39
linux-6.1 WARNING in rcu_check_gp_start_stall origin:upstream C 9 7d06h 387d 0/3 upstream: reported C repro on 2023/09/17 20:24

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 10496 at kernel/rcu/tree_stall.h:937 rcu_check_gp_start_stall+0x2c8/0x450 kernel/rcu/tree_stall.h:922
Modules linked in:
CPU: 0 PID: 10496 Comm: syz.2.1157 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:rcu_check_gp_start_stall+0x2c8/0x450 kernel/rcu/tree_stall.h:937
Code: c7 c7 60 dc 8a 96 be 04 00 00 00 e8 b2 87 5e 00 b8 01 00 00 00 87 05 d7 3d 1f 15 85 c0 0f 85 1c ff ff ff 48 c7 c0 00 3c 92 8c <0f> 0b 49 39 c7 74 47 48 c7 c0 44 94 e9 8d 48 c1 e8 03 42 0f b6 04
RSP: 0018:ffffc90000007bd8 EFLAGS: 00010046
RAX: ffffffff8c923c00 RBX: 000000010000957b RCX: ffffffff816b9e7e
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff968adc60
RBP: ffffc90000007e10 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000246 R15: ffffffff8c923c00
FS:  00007efd04a226c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002006b000 CR3: 0000000068e29000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rcu_core+0x657/0x1650 kernel/rcu/tree.c:2758
 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558
 __do_softirq kernel/softirq.c:592 [inline]
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653
 sysvec_apic_timer_interrupt+0x91/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_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 51 67 f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 4e ed 24 f7 48 89 df e8 26 41 26 f7 e8 f1 f4 48 f7 fb bf 01 00 00 00 <e8> 06 87 19 f7 65 8b 05 87 89 c4 75 85 c0 74 02 5b c3 e8 54 a6 c2
RSP: 0018:ffffc90003207bc0 EFLAGS: 00000282
RAX: cc21978e3ea6cd00 RBX: ffff88807b2a9280 RCX: ffffffff96868f03
RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: 0000000000000001
RBP: 0000000000000000 R08: ffffffff8186db50 R09: ffffed100f655251
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000021
R13: dffffc0000000000 R14: ffff88807b2a9718 R15: ffff88807b2a9280
 spin_unlock_irq include/linux/spinlock.h:413 [inline]
 get_signal+0x13ee/0x14e0 kernel/signal.c:2900
 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
 handle_signal_work kernel/entry/common.c:154 [inline]
 exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7efd065a9ef7
Code: ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 <0f> 05 48 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89
RSP: 002b:00007efd04a22038 EFLAGS: 00000246
RAX: 0000000000000049 RBX: 00007efd06761f80 RCX: 00007efd065a9ef9
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000005
RBP: 00007efd0661cb76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007efd06761f80 R15: 00007fffa6e17d58
 </TASK>
----------------
Code disassembly (best guess):
   0:	51                   	push   %rcx
   1:	67 f6 ff             	addr32 idiv %bh
   4:	90                   	nop
   5:	53                   	push   %rbx
   6:	48 89 fb             	mov    %rdi,%rbx
   9:	48 83 c7 18          	add    $0x18,%rdi
   d:	48 8b 74 24 08       	mov    0x8(%rsp),%rsi
  12:	e8 4e ed 24 f7       	call   0xf724ed65
  17:	48 89 df             	mov    %rbx,%rdi
  1a:	e8 26 41 26 f7       	call   0xf7264145
  1f:	e8 f1 f4 48 f7       	call   0xf748f515
  24:	fb                   	sti
  25:	bf 01 00 00 00       	mov    $0x1,%edi
* 2a:	e8 06 87 19 f7       	call   0xf7198735 <-- trapping instruction
  2f:	65 8b 05 87 89 c4 75 	mov    %gs:0x75c48987(%rip),%eax        # 0x75c489bd
  36:	85 c0                	test   %eax,%eax
  38:	74 02                	je     0x3c
  3a:	5b                   	pop    %rbx
  3b:	c3                   	ret
  3c:	e8                   	.byte 0xe8
  3d:	54                   	push   %rsp
  3e:	a6                   	cmpsb  %es:(%rdi),%ds:(%rsi)
  3f:	c2                   	.byte 0xc2

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/16 11:44 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rcu_check_gp_start_stall
2024/08/15 08:34 linux-5.15.y 7e89efd3ae1c e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rcu_check_gp_start_stall
2024/08/01 04:21 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rcu_check_gp_start_stall
2024/06/28 19:07 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rcu_check_gp_start_stall
2024/05/25 15:59 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rcu_check_gp_start_stall
2024/05/10 15:25 linux-5.15.y 284087d4f7d5 f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rcu_check_gp_start_stall
2024/04/24 21:57 linux-5.15.y c52b9710c83d 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rcu_check_gp_start_stall
* Struck through repros no longer work on HEAD.