syzbot


INFO: rcu detected stall in __netif_receive_skb_core

Status: auto-closed as invalid on 2021/12/03 17:24
Subsystems: mm
[Documentation on labels]
First crash: 936d, last: 936d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: rcu detected stall in __netif_receive_skb_core 1 1436d 1436d 0/1 auto-closed as invalid on 2020/08/20 02:51

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (10469 ticks this GP) idle=ac5/1/0x4000000000000000 softirq=71623/71632 fqs=4597 
	(t=10500 jiffies g=109737 q=2883)
NMI backtrace for cpu 1
CPU: 1 PID: 3577 Comm: syz-executor.4 Not tainted 5.14.0-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+0xcd/0x134 lib/dump_stack.c:105
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x25e/0x3f0 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:3880 [inline]
 rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2599
 update_process_times+0x16d/0x200 kernel/time/timer.c:1785
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226
 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x7/0x60 kernel/kcov.c:197
Code: fd ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 65 8b 05 39 d2 8b 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 40 f0 01 00 a9
RSP: 0018:ffffc90000dc0b60 EFLAGS: 00000282
RAX: 0000000000000101 RBX: ffff8880782452f0 RCX: 0000000000000100
RDX: 1ffff11003ec6c12 RSI: ffffffff871f0414 RDI: ffffffff8d6fff50
RBP: ffff88809dd36000 R08: 0000000000000000 R09: 0000000000000008
R10: ffffffff871f03e9 R11: 0000000000000008 R12: 0000000000000008
R13: dffffc0000000000 R14: 0000000000000008 R15: ffffffff8d6fff20
 deliver_ptype_list_skb net/core/dev.c:2224 [inline]
 __netif_receive_skb_core+0xdbf/0x3640 net/core/dev.c:5392
 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5434
 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5550
 process_backlog+0x2a5/0x6c0 net/core/dev.c:6427
 __napi_poll+0xaf/0x440 net/core/dev.c:6982
 napi_poll net/core/dev.c:7049 [inline]
 net_rx_action+0x801/0xb40 net/core/dev.c:7136
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 invoke_softirq kernel/softirq.c:432 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:pte_none arch/x86/include/asm/pgtable.h:727 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1326 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1481 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1510 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1531 [inline]
RIP: 0010:unmap_page_range+0xa9a/0x2a10 mm/memory.c:1552
Code: 00 f0 ff ff 48 89 44 24 08 e8 82 f8 ca ff 48 8b 04 24 48 c1 e8 03 42 80 3c 30 00 0f 85 04 1a 00 00 48 8b 04 24 31 ff 4c 8b 20 <4c> 89 e3 48 83 e3 9f 48 89 de e8 b7 fd ca ff 48 85 db 0f 85 ef fd
RSP: 0018:ffffc9000c72f7b0 EFLAGS: 00000246
RAX: ffff88808690e270 RBX: 00000000004af000 RCX: 0000000000000000
RDX: ffff888019150000 RSI: ffffffff81ab253e RDI: 0000000000000000
RBP: ffffea0001ba9f40 R08: 00000000004af000 R09: 0000000000000000
R10: ffffffff81ab251a R11: 0000000000000000 R12: 000000006ea7e025
R13: ffffea0001ba9f08 R14: dffffc0000000000 R15: 000000000044f000
 unmap_single_vma+0x198/0x310 mm/memory.c:1597
 unmap_vmas+0x16d/0x2f0 mm/memory.c:1629
 exit_mmap+0x1d0/0x620 mm/mmap.c:3194
 __mmput+0x122/0x470 kernel/fork.c:1103
 mmput+0x58/0x60 kernel/fork.c:1124
 exit_mm kernel/exit.c:501 [inline]
 do_exit+0xabc/0x2a30 kernel/exit.c:812
 do_group_exit+0x125/0x310 kernel/exit.c:922
 get_signal+0x47f/0x2160 kernel/signal.c:2868
 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865
 handle_signal_work kernel/entry/common.c:148 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
 exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665f9
Code: Unable to access opcode bytes at RIP 0x4665cf.
RSP: 002b:00007ff1c25df188 EFLAGS: 00000246 ORIG_RAX: 0000000000000013
RAX: 0000000000235000 RBX: 000000000056bf80 RCX: 00000000004665f9
RDX: 000000000000000a RSI: 0000000020001900 RDI: 0000000000000005
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007fffeae70a7f R14: 00007ff1c25df300 R15: 0000000000022000
----------------
Code disassembly (best guess), 3 bytes skipped:
   0:	b9 ff ff ff ff       	mov    $0xffffffff,%ecx
   5:	ba 08 00 00 00       	mov    $0x8,%edx
   a:	4d 8b 03             	mov    (%r11),%r8
   d:	48 0f bd ca          	bsr    %rdx,%rcx
  11:	49 8b 45 00          	mov    0x0(%r13),%rax
  15:	48 63 c9             	movslq %ecx,%rcx
  18:	e9 64 ff ff ff       	jmpq   0xffffff81
  1d:	0f 1f 00             	nopl   (%rax)
  20:	65 8b 05 39 d2 8b 7e 	mov    %gs:0x7e8bd239(%rip),%eax        # 0x7e8bd260
* 27:	89 c1                	mov    %eax,%ecx <-- trapping instruction
  29:	48 8b 34 24          	mov    (%rsp),%rsi
  2d:	81 e1 00 01 00 00    	and    $0x100,%ecx
  33:	65 48 8b 14 25 40 f0 	mov    %gs:0x1f040,%rdx
  3a:	01 00
  3c:	a9                   	.byte 0xa9

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/04 17:17 upstream f1583cb1be35 d236a457 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in __netif_receive_skb_core
* Struck through repros no longer work on HEAD.