syzbot


net-next test error: WARNING in rcu_check_gp_start_stall

Status: auto-obsoleted due to no activity on 2024/03/17 14:42
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+caa85c9208da01314296@syzkaller.appspotmail.com
First crash: 361d, last: 360d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] net-next test error: WARNING in rcu_check_gp_start_stall 0 (1) 2023/12/12 13:32

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 48 at kernel/rcu/tree_stall.h:990 rcu_check_gp_start_stall.part.0+0x1c4/0x4b0 kernel/rcu/tree_stall.h:990
Modules linked in:
CPU: 0 PID: 48 Comm: kworker/u4:3 Not tainted 6.7.0-rc4-syzkaller-00835-g36b0bdb6d330 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:rcu_check_gp_start_stall.part.0+0x1c4/0x4b0 kernel/rcu/tree_stall.h:990
Code: 88 5d 01 00 00 be 04 00 00 00 48 c7 c7 c0 6a 80 92 e8 e0 57 6d 00 b8 01 00 00 00 87 05 d5 48 0f 11 85 c0 0f 85 39 01 00 00 90 <0f> 0b 90 48 81 fd c0 6f fb 8c 48 c7 c3 f8 2e 19 8f 74 5a 48 b8 00
RSP: 0018:ffffc90000007df0 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000002904 RCX: ffffffff817121e0
RDX: fffffbfff2500d58 RSI: 0000000000000004 RDI: ffffffff92806ac0
RBP: ffffffff8cfb6fc0 R08: 0000000000000001 R09: fffffbfff2500d58
R10: 0000000000000003 R11: 0000000000000005 R12: 1ffffffff1981e40
R13: 0000000000000246 R14: ffffffff8cfb6fc0 R15: ffff8880b983d612
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005625fd4c8000 CR3: 000000000cd77000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rcu_check_gp_start_stall kernel/rcu/tree_stall.h:953 [inline]
 rcu_core+0x4e1/0x1680 kernel/rcu/tree.c:2426
 __do_softirq+0x21a/0x8de kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_pc+0x34/0x60 kernel/kcov.c:207
Code: bc 03 00 65 8b 05 f4 26 7c 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 fc 15 00 00 85 c0 74 2b 8b 82 d8 15 00 00 <83> f8 02 75 20 48 8b 8a e0 15 00 00 8b 92 dc 15 00 00 48 8b 01 48
RSP: 0018:ffffc90000b8f928 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff8880b9941a60 RCX: ffffffff817bd538
RDX: ffff8880136ebb80 RSI: ffffffff817bd512 RDI: 0000000000000005
RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000006 R12: ffffed101732834d
R13: 0000000000000001 R14: ffff8880b9941a68 R15: ffff8880b983d8c0
 rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline]
 cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline]
 csd_lock_wait kernel/smp.c:311 [inline]
 smp_call_function_many_cond+0x4e2/0x1550 kernel/smp.c:855
 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:2006 [inline]
 text_poke_bp_batch+0x22b/0x750 arch/x86/kernel/alternative.c:2216
 text_poke_flush arch/x86/kernel/alternative.c:2407 [inline]
 text_poke_flush arch/x86/kernel/alternative.c:2404 [inline]
 text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2414
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 jump_label_update+0x1d7/0x400 kernel/jump_label.c:829
 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:205
 static_key_enable+0x1a/0x20 kernel/jump_label.c:218
 toggle_allocation_gate mm/kfence/core.c:830 [inline]
 toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:822
 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627
 process_scheduled_works kernel/workqueue.c:2700 [inline]
 worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
----------------
Code disassembly (best guess):
   0:	bc 03 00 65 8b       	mov    $0x8b650003,%esp
   5:	05 f4 26 7c 7e       	add    $0x7e7c26f4,%eax
   a:	a9 00 01 ff 00       	test   $0xff0100,%eax
   f:	48 8b 34 24          	mov    (%rsp),%rsi
  13:	74 0f                	je     0x24
  15:	f6 c4 01             	test   $0x1,%ah
  18:	74 35                	je     0x4f
  1a:	8b 82 fc 15 00 00    	mov    0x15fc(%rdx),%eax
  20:	85 c0                	test   %eax,%eax
  22:	74 2b                	je     0x4f
  24:	8b 82 d8 15 00 00    	mov    0x15d8(%rdx),%eax
* 2a:	83 f8 02             	cmp    $0x2,%eax <-- trapping instruction
  2d:	75 20                	jne    0x4f
  2f:	48 8b 8a e0 15 00 00 	mov    0x15e0(%rdx),%rcx
  36:	8b 92 dc 15 00 00    	mov    0x15dc(%rdx),%edx
  3c:	48 8b 01             	mov    (%rcx),%rax
  3f:	48                   	rex.W

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/08 14:41 net-next 36b0bdb6d330 28b24332 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in rcu_check_gp_start_stall
2023/12/08 03:32 net-next 2483e7f04ce0 28b24332 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in rcu_check_gp_start_stall
2023/12/07 12:58 net-next d16f1096b320 28b24332 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in rcu_check_gp_start_stall
2023/12/07 12:14 net-next d5449d59f10e 28b24332 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce net-next test error: WARNING in rcu_check_gp_start_stall
* Struck through repros no longer work on HEAD.