syzbot


INFO: rcu detected stall in arp_rcv

Status: closed as invalid on 2022/02/08 10:10
Subsystems: net
[Documentation on labels]
First crash: 877d, last: 877d

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (10499 ticks this GP) idle=5c9/1/0x4000000000000000 softirq=124498/124502 fqs=0 
	(t=10500 jiffies g=209833 q=138)
rcu: rcu_preempt kthread starved for 10500 jiffies! g209833 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
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:26576 pid:   14 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4972 [inline]
 __schedule+0xb72/0x1460 kernel/sched/core.c:6253
 schedule+0x12b/0x1f0 kernel/sched/core.c:6326
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1881
 rcu_gp_fqs_loop+0x1fd/0x770 kernel/rcu/tree.c:1955
 rcu_gp_kthread+0xa5/0x350 kernel/rcu/tree.c:2128
 kthread+0x468/0x490 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 13096 Comm: syz-executor.5 Not tainted 5.16.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline]
RIP: 0010:queued_spin_is_locked include/asm-generic/qspinlock.h:28 [inline]
RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:100 [inline]
RIP: 0010:do_raw_spin_unlock+0x5d/0x8a0 kernel/locking/spinlock_debug.c:140
Code: 24 0f 85 2e 04 00 00 81 3a ad 4e ad de 0f 85 ff 00 00 00 4c 89 ff be 04 00 00 00 e8 ed 91 68 00 4c 89 f8 48 c1 e8 03 8a 04 18 <84> c0 0f 85 25 04 00 00 41 83 3f 00 0f 84 9a 01 00 00 4d 8d 6f 10
RSP: 0018:ffffc90000007100 EFLAGS: 00000806
RAX: 1ffffffff21bd800 RBX: dffffc0000000000 RCX: ffffffff8167cba3
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff90dec268
RBP: ffffc900000071f8 R08: dffffc0000000000 R09: fffffbfff21bd84e
R10: fffffbfff21bd84e R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff92000000e2c R14: ffffc90000007180 R15: ffffffff90dec268
FS:  00007f3a3f4fb700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbe6edd9000 CR3: 0000000152e23000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline]
 _raw_spin_unlock_irqrestore+0x7d/0x130 kernel/locking/spinlock.c:194
 debug_object_activate+0x282/0x6a0 lib/debugobjects.c:689
 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline]
 debug_activate kernel/time/hrtimer.c:475 [inline]
 enqueue_hrtimer kernel/time/hrtimer.c:1084 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1702 [inline]
 __hrtimer_run_queues+0x594/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:skb_shared include/linux/skbuff.h:1760 [inline]
RIP: 0010:skb_share_check include/linux/skbuff.h:1779 [inline]
RIP: 0010:arp_rcv+0xe3/0x4f0 net/ipv4/arp.c:953
Code: 49 8d ad dc 00 00 00 48 89 ef be 04 00 00 00 e8 73 53 14 f9 48 89 e8 48 c1 e8 03 42 8a 04 38 84 c0 0f 85 f0 02 00 00 8b 5d 00 <bf> 01 00 00 00 89 de e8 01 82 c8 f8 83 fb 01 75 10 4d 85 ed 0f 84
RSP: 0018:ffffc90000007618 EFLAGS: 00000246
RAX: 1ffff11003b71a00 RBX: 0000000000000001 RCX: ffffffff88bc0a1d
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88801db8d0dc
RBP: ffff88801db8d0dc R08: dffffc0000000000 R09: ffffed1003b71a1c
R10: ffffed1003b71a1c R11: 0000000000000000 R12: ffffffff8e001408
R13: ffff88801db8d000 R14: ffff88814765e000 R15: dffffc0000000000
 __netif_receive_skb_list_ptype net/core/dev.c:5510 [inline]
 __netif_receive_skb_list_core+0x8cf/0x950 net/core/dev.c:5553
 __netif_receive_skb_list+0x4b0/0x590 net/core/dev.c:5605
 netif_receive_skb_list_internal+0x2df/0x8a0 net/core/dev.c:5696
 gro_normal_list net/core/dev.c:5850 [inline]
 napi_complete_done+0x34d/0x820 net/core/dev.c:6587
 virtqueue_napi_complete drivers/net/virtio_net.c:339 [inline]
 virtnet_poll+0xaf2/0x11c0 drivers/net/virtio_net.c:1557
 __napi_poll+0xbd/0x520 net/core/dev.c:7020
 napi_poll net/core/dev.c:7087 [inline]
 net_rx_action+0x61c/0xf30 net/core/dev.c:7174
 __do_softirq+0x392/0x7a3 kernel/softirq.c:558
 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:636
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6668
Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 98 00 00 00 bf 01 00 00 00 e8 d9 70 46 f7 e8 f4 70 77 f7 fb bf 01 00 00 00 <e8> f9 e3 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 a9 a8 bc f7 48
RSP: 0018:ffffc900029afa00 EFLAGS: 00000286
RAX: b2ab45b7d0cb6300 RBX: 1ffff92000535f48 RCX: ffffffff90bb2903
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc900029afab8 R08: ffffffff818b24d0 R09: ffffffff8f72d008
R10: ffffffff8f72d01c R11: ffffffff8f72d010 R12: 1ffff92000535f40
R13: 1ffff92000535f44 R14: ffffc900029afa20 R15: dffffc0000000000
 irqentry_exit+0x56/0x90 kernel/entry/common.c:425
 asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:tomoyo_check_acl+0xbd/0x430 security/tomoyo/domain.c:173
Code: 49 39 dc 0f 84 14 02 00 00 0f 1f 40 00 49 8d 6c 24 18 48 89 e8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 1d 01 00 00 0f b6 6d 00 <31> ff 89 ee e8 8a 5f a7 fd 85 ed 74 16 e8 b1 5c a7 fd e9 c6 00 00
RSP: 0018:ffffc900029afb80 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888072da0410 RCX: 0000000000040000
RDX: ffffc900143a1000 RSI: 000000000000b712 RDI: 000000000000b713
RBP: 0000000000000000 R08: ffffffff83dd89c4 R09: ffffffff83dec7a2
R10: 0000000000000002 R11: ffff888081d43a00 R12: ffff888072c90200
R13: dffffc0000000000 R14: ffff888072da0400 R15: 0000000000000000
 tomoyo_path_number_perm+0x42f/0x7c0 security/tomoyo/file.c:733
 security_file_ioctl+0x55/0xb0 security/security.c:1541
 __do_sys_ioctl fs/ioctl.c:868 [inline]
 __se_sys_ioctl+0x48/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3a41f858a7
Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 04 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3a3f4fafa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000020000540 RCX: 00007f3a41f858a7
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000008
RBP: 00007f3a3f4fb6bc R08: 00007f3a3f4fb040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000016 R14: 00007f3a3f4fb000 R15: 0000000020000040
 </TASK>
NMI backtrace for cpu 1
CPU: 1 PID: 13138 Comm: syz-executor.2 Not tainted 5.16.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x22d/0x390 kernel/rcu/tree_stall.h:343
 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:711 [inline]
 rcu_pending kernel/rcu/tree.c:3878 [inline]
 rcu_sched_clock_irq+0x1e33/0x2bc0 kernel/rcu/tree.c:2597
 update_process_times+0x197/0x200 kernel/time/timer.c:1785
 tick_sched_handle kernel/time/tick-sched.c:226 [inline]
 tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1421
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:mod_timer+0x3/0x20 kernel/time/timer.c:1107
Code: 53 dd 11 00 48 c7 c7 a0 cf b2 8c 4c 89 ee e8 54 b2 d6 02 e9 73 f6 ff ff e8 3a dd 11 00 0f 0b e8 b3 5d 9f 08 0f 1f 00 41 56 53 <49> 89 f6 48 89 fb e8 22 dd 11 00 48 89 df 4c 89 f6 31 d2 5b 41 5e
RSP: 0018:ffffc90000dc0ba8 EFLAGS: 00000286
RAX: 0000000000000064 RBX: ffffffff883f0610 RCX: ffff8880b2995700
RDX: 0000000000000100 RSI: 0000000100018561 RDI: ffff8880b2946860
RBP: ffffc90000dc0cb0 R08: ffffffff81722b91 R09: ffffed1016528d17
R10: ffffed1016528d17 R11: 0000000000000000 R12: ffff8880b2946860
R13: ffffc90000dc0c00 R14: 0000000000000100 R15: 1ffff920001b817c
 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421
 expire_timers kernel/time/timer.c:1466 [inline]
 __run_timers+0x71a/0x910 kernel/time/timer.c:1734
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747
 __do_softirq+0x392/0x7a3 kernel/softirq.c:558
 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:636
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:tomoyo_check_acl+0xbd/0x430 security/tomoyo/domain.c:173
Code: 49 39 dc 0f 84 14 02 00 00 0f 1f 40 00 49 8d 6c 24 18 48 89 e8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 1d 01 00 00 0f b6 6d 00 <31> ff 89 ee e8 8a 5f a7 fd 85 ed 74 16 e8 b1 5c a7 fd e9 c6 00 00
RSP: 0018:ffffc900040f7b80 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88801d3c1590 RCX: 0000000000040000
RDX: ffffc9000df6f000 RSI: 000000000000300e RDI: 000000000000300f
RBP: 0000000000000000 R08: ffffffff83dd89c4 R09: ffffffff83dec7a2
R10: 0000000000000002 R11: ffff8880b2995700 R12: ffff88807be87f80
R13: dffffc0000000000 R14: ffff88801d3c1580 R15: 0000000000000000
 tomoyo_path_number_perm+0x42f/0x7c0 security/tomoyo/file.c:733
 security_file_ioctl+0x55/0xb0 security/security.c:1541
 __do_sys_ioctl fs/ioctl.c:868 [inline]
 __se_sys_ioctl+0x48/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f1a1022f8a7
Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 04 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1a0d783f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1a0d7846bc RCX: 00007f1a1022f8a7
RDX: 0000000000000006 RSI: 0000000000004c00 RDI: 0000000000000007
RBP: 0000000000000007 R08: 0000000000000000 R09: ffffffff00000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000010
R13: 0000000000000006 R14: 0000000020000558 R15: 0000000000000001
 </TASK>
----------------
Code disassembly (best guess):
   0:	24 0f                	and    $0xf,%al
   2:	85 2e                	test   %ebp,(%rsi)
   4:	04 00                	add    $0x0,%al
   6:	00 81 3a ad 4e ad    	add    %al,-0x52b152c6(%rcx)
   c:	de 0f                	fimuls (%rdi)
   e:	85 ff                	test   %edi,%edi
  10:	00 00                	add    %al,(%rax)
  12:	00 4c 89 ff          	add    %cl,-0x1(%rcx,%rcx,4)
  16:	be 04 00 00 00       	mov    $0x4,%esi
  1b:	e8 ed 91 68 00       	callq  0x68920d
  20:	4c 89 f8             	mov    %r15,%rax
  23:	48 c1 e8 03          	shr    $0x3,%rax
  27:	8a 04 18             	mov    (%rax,%rbx,1),%al
* 2a:	84 c0                	test   %al,%al <-- trapping instruction
  2c:	0f 85 25 04 00 00    	jne    0x457
  32:	41 83 3f 00          	cmpl   $0x0,(%r15)
  36:	0f 84 9a 01 00 00    	je     0x1d6
  3c:	4d 8d 6f 10          	lea    0x10(%r15),%r13

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/01 20:39 upstream 58e1100fdc59 5fa3eacc .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in arp_rcv
* Struck through repros no longer work on HEAD.