syzbot


INFO: rcu detected stall in ip_list_rcv (2)

Status: auto-closed as invalid on 2021/05/23 12:59
Subsystems: netfilter
[Documentation on labels]
First crash: 1252d, last: 1173d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in ip_list_rcv (2) kvm 8 745d 746d 0/26 auto-closed as invalid on 2022/06/25 08:42
upstream INFO: rcu detected stall in ip_list_rcv (6) net C done 4 17m 158d 0/26 upstream: reported C repro on 2023/12/04 09:45
upstream INFO: rcu detected stall in ip_list_rcv (5) lsm netfilter 3 302d 360d 0/26 auto-obsoleted due to no activity on 2023/10/11 22:12
upstream INFO: rcu detected stall in ip_list_rcv net C error done 3 1319d 1345d 15/26 fixed on 2020/11/16 12:12
upstream INFO: rcu detected stall in ip_list_rcv (4) netfilter 1 677d 677d 0/26 auto-closed as invalid on 2022/09/01 16:20
upstream INFO: rcu detected stall in ip_list_rcv (3) net 1 865d 865d 0/26 closed as invalid on 2022/02/08 10:10
android-5-15 BUG: soft lockup in ip_list_rcv 7 5d02h 17d 0/2 premoderation: reported on 2024/04/23 12:02

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (8214 ticks this GP) idle=686/1/0x4000000000000000 softirq=10598/10599 fqs=5119 
	(t=10500 jiffies g=10733 q=1675)
NMI backtrace for cpu 0
CPU: 0 PID: 9805 Comm: syz-executor.1 Not tainted 5.11.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:79 [inline]
 dump_stack+0xfa/0x151 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+0x222/0x2a7 kernel/rcu/tree_stall.h:341
 print_cpu_stall kernel/rcu/tree_stall.h:622 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:697 [inline]
 rcu_pending kernel/rcu/tree.c:3830 [inline]
 rcu_sched_clock_irq.cold+0x4f7/0x11dd kernel/rcu/tree.c:2650
 update_process_times+0x16d/0x200 kernel/time/timer.c:1796
 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:1089 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1106
 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:1100
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:skb_headlen include/linux/skbuff.h:2130 [inline]
RIP: 0010:skb_header_pointer include/linux/skbuff.h:3694 [inline]
RIP: 0010:nf_ct_get_tuple+0x128/0x550 net/netfilter/nf_conntrack_core.c:270
Code: fa 49 8d 7e 70 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e cf 03 00 00 49 8d 7e 74 <41> 8b 46 70 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f
RSP: 0018:ffffc90000007348 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000100
RDX: 1ffff11004bbca86 RSI: ffffffff873cafbf RDI: ffff888025de5434
RBP: 0000000000000002 R08: ffffffff8a6b2840 R09: ffffffff873caf90
R10: 0000000000000002 R11: 0000000000000002 R12: 1ffff92000000e6d
R13: ffffc900000074f0 R14: ffff888025de53c0 R15: 0000000000000002
 resolve_normal_ct net/netfilter/nf_conntrack_core.c:1663 [inline]
 nf_conntrack_in+0x3b0/0x1330 net/netfilter/nf_conntrack_core.c:1830
 nf_hook_entry_hookfn include/linux/netfilter.h:136 [inline]
 nf_hook_slow+0xc5/0x1e0 net/netfilter/core.c:589
 nf_hook_slow_list+0x1b1/0x430 net/netfilter/core.c:627
 NF_HOOK_LIST.constprop.0+0x1c6/0x330 include/linux/netfilter.h:337
 ip_sublist_rcv net/ipv4/ip_input.c:607 [inline]
 ip_list_rcv+0x343/0x490 net/ipv4/ip_input.c:644
 __netif_receive_skb_list_ptype net/core/dev.c:5408 [inline]
 __netif_receive_skb_list_core+0x549/0x8e0 net/core/dev.c:5456
 __netif_receive_skb_list net/core/dev.c:5508 [inline]
 netif_receive_skb_list_internal+0x777/0xd70 net/core/dev.c:5618
 gro_normal_list net/core/dev.c:5772 [inline]
 gro_normal_list net/core/dev.c:5768 [inline]
 gro_normal_one+0x17f/0x260 net/core/dev.c:5785
 napi_skb_finish net/core/dev.c:6100 [inline]
 napi_gro_receive+0x156/0x6a0 net/core/dev.c:6128
 receive_buf+0x1015/0x5c40 drivers/net/virtio_net.c:1081
 virtnet_receive drivers/net/virtio_net.c:1345 [inline]
 virtnet_poll+0x568/0xd90 drivers/net/virtio_net.c:1450
 __napi_poll+0xaf/0x440 net/core/dev.c:6892
 napi_poll net/core/dev.c:6959 [inline]
 net_rx_action+0x801/0xb40 net/core/dev.c:7036
 __do_softirq+0x29b/0x9f6 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:1100
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:account_kernel_stack+0xe2/0x1a0 kernel/fork.c:390
Code: 5b 5d 41 5c e9 9f 04 31 00 e8 9a 04 31 00 e8 15 d1 36 00 44 89 e2 be 24 00 00 00 48 89 ef e8 a5 62 7a 00 e8 30 d6 36 00 fb 5b <5d> 41 5c e9 76 04 31 00 e8 71 04 31 00 48 8d 7b 20 48 b8 00 00 00
RSP: 0018:ffffc90016d0f3e0 EFLAGS: 00000202
RAX: 0000000000f25f91 RBX: ffff888071f61bc0 RCX: 1ffffffff1b8ab81
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffea00009a8040 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff817941b8 R11: 0000000000000000 R12: 00000000ffffffe0
R13: ffff888071f61bc0 R14: 0000000000000000 R15: ffff888071f631f0
 release_task_stack kernel/fork.c:427 [inline]
 put_task_stack+0xdf/0x480 kernel/fork.c:439
 finish_task_switch.isra.0+0x557/0x7e0 kernel/sched/core.c:4233
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x914/0x21a0 kernel/sched/core.c:5075
 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:5532
 irqentry_exit_cond_resched kernel/entry/common.c:392 [inline]
 irqentry_exit_cond_resched kernel/entry/common.c:384 [inline]
 irqentry_exit+0x7a/0xa0 kernel/entry/common.c:428
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:197
Code: 81 e1 00 01 00 00 65 48 8b 14 25 00 f0 01 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 cc 14 00 00 85 c0 74 2b 8b 82 a8 14 00 00 <83> f8 02 75 20 48 8b 8a b0 14 00 00 8b 92 ac 14 00 00 48 8b 01 48
RSP: 0018:ffffc90016d0f630 EFLAGS: 00000246
RAX: 0000000000000000 RBX: dead000000000100 RCX: 0000000000000000
RDX: ffff88801dd43780 RSI: ffffffff819aa7cd RDI: 0000000000000003
RBP: ffffea00017a5940 R08: 0000000000000000 R09: 00000000017a5900
R10: ffffffff819aa79c R11: 0000000000000000 R12: 0000000000000000
R13: ffff888012a3e918 R14: 0000000000000120 R15: dffffc0000000000
 page_zonenum include/linux/mm.h:1107 [inline]
 is_zone_device_page include/linux/mm.h:1113 [inline]
 release_pages+0x15d/0x1d20 mm/swap.c:881
 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
 tlb_flush_mmu_free mm/mmu_gather.c:242 [inline]
 tlb_flush_mmu+0xe9/0x6b0 mm/mmu_gather.c:249
 zap_pte_range mm/memory.c:1342 [inline]
 zap_pmd_range mm/memory.c:1380 [inline]
 zap_pud_range mm/memory.c:1409 [inline]
 zap_p4d_range mm/memory.c:1430 [inline]
 unmap_page_range+0x1a7f/0x2650 mm/memory.c:1451
 unmap_single_vma+0x198/0x300 mm/memory.c:1496
 unmap_vmas+0x16d/0x2f0 mm/memory.c:1528
 exit_mmap+0x2a8/0x590 mm/mmap.c:3220
 __mmput+0x122/0x470 kernel/fork.c:1082
 mmput+0x58/0x60 kernel/fork.c:1103
 exit_mm kernel/exit.c:501 [inline]
 do_exit+0xb6f/0x2ae0 kernel/exit.c:812
 do_group_exit+0x125/0x310 kernel/exit.c:922
 get_signal+0x42c/0x2100 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:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4194e4
Code: Unable to access opcode bytes at RIP 0x4194ba.
RSP: 002b:00007fc660897cc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: 0000000000000003 RBX: 000000000056c008 RCX: 00000000004194e4
RDX: 0000000000000002 RSI: 00007fc660897d60 RDI: 00000000ffffff9c
RBP: 00007fc660897d60 R08: 0000000000000000 R09: 000000000000000d
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 00007fff40429a4f R14: 00007fc660898300 R15: 0000000000022000

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/22 12:59 upstream 31caf8b2a847 a659b3f1 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in ip_list_rcv
2020/12/11 07:21 upstream 33dc9614dc20 f900b48c .config console log report info ci-upstream-kasan-gce-root
2020/12/05 13:24 upstream b3298500b23f 50503117 .config console log report info ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.