syzbot


INFO: rcu detected stall in net_rx_action

Status: auto-closed as invalid on 2021/04/21 12:41
Subsystems: net virt
[Documentation on labels]
First crash: 1196d, last: 1187d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in net_rx_action (3) kvm 67 728d 728d 0/26 auto-closed as invalid on 2022/06/05 10:21
linux-5.15 INFO: rcu detected stall in net_rx_action 1 216d 216d 0/3 auto-obsoleted due to no activity on 2023/12/28 19:24
upstream INFO: rcu detected stall in net_rx_action (2) batman 1 881d 881d 0/26 closed as invalid on 2022/02/08 10:10
upstream INFO: rcu detected stall in net_rx_action (4) kernel 1 444d 444d 0/26 auto-obsoleted due to no activity on 2023/05/05 00:12

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (9395 ticks this GP) idle=692/1/0x4000000000000000 softirq=35338/35340 fqs=5103 
	(t=10502 jiffies g=49469 q=312)
NMI backtrace for cpu 0
CPU: 0 PID: 18533 Comm: syz-executor.4 Not tainted 5.11.0-rc4-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:79 [inline]
 dump_stack+0x107/0x163 lib/dump_stack.c:120
 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x1f4/0x230 kernel/rcu/tree_stall.h:337
 print_cpu_stall kernel/rcu/tree_stall.h:569 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:643 [inline]
 rcu_pending kernel/rcu/tree.c:3751 [inline]
 rcu_sched_clock_irq.cold+0x48e/0xedf kernel/rcu/tree.c:2580
 update_process_times+0x16d/0x200 kernel/time/timer.c:1782
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226
 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1369
 __run_hrtimer kernel/time/hrtimer.c:1519 [inline]
 __hrtimer_run_queues+0x1c0/0xe40 kernel/time/hrtimer.c:1583
 hrtimer_interrupt+0x334/0x940 kernel/time/hrtimer.c:1645
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1102
 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline]
 sysvec_apic_timer_interrupt+0x48/0x100 arch/x86/kernel/apic/apic.c:1096
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628
RIP: 0010:__kmalloc_node_track_caller+0x31/0x3f0 mm/slub.c:4480
Code: 89 d5 41 54 49 89 fc 55 89 f5 53 48 83 ec 20 48 89 0c 24 65 48 8b 04 25 28 00 00 00 48 89 44 24 18 31 c0 48 81 ff 00 20 00 00 <0f> 87 dd 02 00 00 e8 04 1c ec ff 48 83 f8 10 49 89 c6 0f 86 01 03
RSP: 0018:ffffc900000079e8 EFLAGS: 00000287
RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff86f171c0
RDX: 00000000ffffffff RSI: 00000000000a2a20 RDI: 0000000000000200
RBP: 00000000000a2a20 R08: 0000000000000140 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000200
R13: 00000000ffffffff R14: 00000000ffffffff R15: ffff88805f10b140
 __kmalloc_reserve net/core/skbuff.c:142 [inline]
 __alloc_skb+0xae/0x5a0 net/core/skbuff.c:210
 __napi_alloc_skb+0x70/0x310 net/core/skbuff.c:520
 napi_alloc_skb include/linux/skbuff.h:2876 [inline]
 page_to_skb+0x75/0xa40 drivers/net/virtio_net.c:389
 receive_mergeable drivers/net/virtio_net.c:949 [inline]
 receive_buf+0x2852/0x5ce0 drivers/net/virtio_net.c:1059
 virtnet_receive drivers/net/virtio_net.c:1351 [inline]
 virtnet_poll+0x568/0xd90 drivers/net/virtio_net.c:1456
 napi_poll net/core/dev.c:6805 [inline]
 net_rx_action+0x461/0xe10 net/core/dev.c:6888
 __do_softirq+0x2bc/0xa29 kernel/softirq.c:343
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:226 [inline]
 __irq_exit_rcu kernel/softirq.c:420 [inline]
 irq_exit_rcu+0x134/0x200 kernel/softirq.c:432
 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1096
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628
RIP: 0010:add_mm_rss_vec mm/memory.c:487 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1314 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1368 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1397 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1418 [inline]
RIP: 0010:unmap_page_range+0xef9/0x2640 mm/memory.c:1439
Code: 25 00 f0 01 00 48 8d bb a0 04 00 00 48 89 f8 48 c1 e8 03 42 80 3c 30 00 0f 85 b3 16 00 00 48 8b 44 24 48 48 3b 83 a0 04 00 00 <0f> 84 98 0c 00 00 48 8b 44 24 48 31 ed 48 8b 5c 24 40 4c 8d a0 e0
RSP: 0018:ffffc900034a7798 EFLAGS: 00000286
RAX: ffff888024060700 RBX: ffff888074575340 RCX: 0000000000000000
RDX: ffff888074575340 RSI: ffffffff81a50d0b RDI: ffff8880745757e0
RBP: ffffea00009cf180 R08: 0000000000000000 R09: ffff888074575347
R10: ffffffff81a50697 R11: 0000000000000000 R12: 80000000273c7007
R13: ffff888078768cb0 R14: dffffc0000000000 R15: 00007f07f0197000
 unmap_single_vma+0x198/0x300 mm/memory.c:1484
 unmap_vmas+0x168/0x2e0 mm/memory.c:1516
 exit_mmap+0x2b1/0x5a0 mm/mmap.c:3220
 __mmput+0x122/0x470 kernel/fork.c:1083
 mmput+0x53/0x60 kernel/fork.c:1104
 exit_mm kernel/exit.c:501 [inline]
 do_exit+0xb6a/0x2ae0 kernel/exit.c:812
 do_group_exit+0x125/0x310 kernel/exit.c:922
 get_signal+0x427/0x20f0 kernel/signal.c:2773
 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:811
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x148/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
Code: Unable to access opcode bytes at RIP 0x45e1ef.
RSP: 002b:00007f07eef5acf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000119bf88 RCX: 000000000045e219
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000119bf88
RBP: 000000000119bf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffc808bf26f R14: 00007f07eef5b9c0 R15: 000000000119bf8c

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/21 12:36 upstream 9791581c049c d4f4eca5 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in net_rx_action
2021/01/16 01:23 upstream 5ee88057889b 65a7a854 .config console log report info ci-upstream-kasan-gce-root
2021/01/12 19:20 upstream e609571b5ffa 0cdd6185 .config console log report info ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.