syzbot


INFO: rcu detected stall in ip_rcv (2)

Status: auto-closed as invalid on 2021/03/20 21:11
Reported-by: syzbot+31bed35ef5f4225996b3@syzkaller.appspotmail.com
First crash: 581d, last: 581d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in ip_rcv C error 15 41d 417d 0/1 upstream: reported C repro on 2021/05/04 03:32
upstream INFO: rcu detected stall in ip_rcv 2 1064d 1227d 0/22 auto-closed as invalid on 2019/10/25 14:11
upstream INFO: rcu detected stall in ip_rcv (2) 1 570d 570d 0/22 auto-closed as invalid on 2021/03/01 14:28
upstream INFO: rcu detected stall in ip_rcv (3) 1 432d 432d 0/22 auto-closed as invalid on 2021/07/17 18:11
linux-4.14 INFO: rcu detected stall in ip_rcv 3 761d 780d 0/1 auto-closed as invalid on 2020/09/21 12:55

Sample crash report:
net_ratelimit: 7 callbacks suppressed
GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog
Bluetooth: hci5 command 0x0406 tx timeout
INFO: rcu_sched self-detected stall on CPU
	1-...: (10473 ticks this GP) idle=632/140000000000002/0 softirq=25963/26028 fqs=16 
	 (t=10500 jiffies g=2157 c=2156 q=11)
rcu_sched kthread starved for 4486 jiffies! g2157 c2156 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0
rcu_sched       R  running task    30008     9      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_timeout+0x4af/0xe90 kernel/time/timer.c:1747
 rcu_gp_kthread+0xc0a/0x1e60 kernel/rcu/tree.c:2255
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
NMI backtrace for cpu 1
CPU: 1 PID: 13845 Comm: syz-executor.1 Not tainted 4.14.207-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:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x13a/0x17f lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:158 [inline]
 rcu_dump_cpu_stacks+0x15f/0x19c kernel/rcu/tree.c:1396
 print_cpu_stall kernel/rcu/tree.c:1542 [inline]
 check_cpu_stall kernel/rcu/tree.c:1610 [inline]
 __rcu_pending kernel/rcu/tree.c:3390 [inline]
 rcu_pending kernel/rcu/tree.c:3452 [inline]
 rcu_check_callbacks.cold+0x464/0xd99 kernel/rcu/tree.c:2792
 update_process_times+0x29/0x60 kernel/time/timer.c:1591
 tick_sched_handle+0x7d/0x150 kernel/time/tick-sched.c:165
 tick_sched_timer+0x92/0x200 kernel/time/tick-sched.c:1223
 __run_hrtimer kernel/time/hrtimer.c:1223 [inline]
 __hrtimer_run_queues+0x30b/0xc80 kernel/time/hrtimer.c:1287
 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline]
 smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1100
 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
RIP: 0010:unwind_next_frame+0xfad/0x17d0 arch/x86/kernel/unwind_orc.c:474
RSP: 0018:ffff8880ba5072c0 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000001 RBX: 1ffff110174a0e5f RCX: ffffffff8acbe476
RDX: ffff8880ba5073c0 RSI: 0000000000000000 RDI: ffffffff8acbe478
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001
R10: ffff8880ba507a60 R11: 0000000000000001 R12: ffff8880ba5073b5
R13: ffff8880ba5073b8 R14: ffff8880ba5073d0 R15: ffff8880ba507380
 __save_stack_trace+0x90/0x160 arch/x86/kernel/stacktrace.c:44
 save_stack mm/kasan/kasan.c:447 [inline]
 set_track mm/kasan/kasan.c:459 [inline]
 kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551
 __do_kmalloc_node mm/slab.c:3682 [inline]
 __kmalloc_node_track_caller+0x4c/0x70 mm/slab.c:3696
 __kmalloc_reserve net/core/skbuff.c:137 [inline]
 __alloc_skb+0x96/0x510 net/core/skbuff.c:205
 __pskb_copy_fclone+0x100/0xc90 net/core/skbuff.c:1386
 __pskb_copy include/linux/skbuff.h:1034 [inline]
 pskb_copy include/linux/skbuff.h:2907 [inline]
 nf_dup_ipv4 net/ipv4/netfilter/nf_dup_ipv4.c:65 [inline]
 nf_dup_ipv4+0x105/0x680 net/ipv4/netfilter/nf_dup_ipv4.c:53
 tee_tg4+0x109/0x160 net/netfilter/xt_TEE.c:36
 ipt_do_table+0xa9a/0x16f0 net/ipv4/netfilter/ip_tables.c:353
 iptable_filter_hook+0x172/0x1e0 net/ipv4/netfilter/iptable_filter.c:47
 nf_hook_entry_hookfn include/linux/netfilter.h:108 [inline]
 nf_hook_slow+0xb0/0x1a0 net/netfilter/core.c:467
 nf_hook include/linux/netfilter.h:205 [inline]
 NF_HOOK include/linux/netfilter.h:248 [inline]
 ip_local_deliver+0x28c/0x460 net/ipv4/ip_input.c:257
 dst_input include/net/dst.h:476 [inline]
 ip_rcv_finish+0x6e3/0x19f0 net/ipv4/ip_input.c:396
 NF_HOOK include/linux/netfilter.h:250 [inline]
 ip_rcv+0x8a7/0xf01 net/ipv4/ip_input.c:493
 __netif_receive_skb_core+0x15ee/0x2a30 net/core/dev.c:4474
 __netif_receive_skb+0x27/0x1a0 net/core/dev.c:4512
 process_backlog+0x218/0x6f0 net/core/dev.c:5194
 napi_poll net/core/dev.c:5596 [inline]
 net_rx_action+0x466/0xfd0 net/core/dev.c:5662
 __do_softirq+0x254/0xa1d kernel/softirq.c:288
 invoke_softirq kernel/softirq.c:368 [inline]
 irq_exit+0x193/0x240 kernel/softirq.c:409
 exiting_irq arch/x86/include/asm/apic.h:648 [inline]
 smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
 </IRQ>
RIP: 0010:__tlb_remove_page_size+0xf7/0x440 mm/memory.c:327
RSP: 0018:ffff88805cc8f788 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: dffffc0000000000 RBX: ffff88805cc8f9d0 RCX: 1ffff1100b64f526
RDX: 1ffff1101467831d RSI: ffffea000234e200 RDI: ffff8880a33c18e8
RBP: ffff8880a33c1000 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: ffff88805b27a080 R12: 000000000000011b
R13: ffffea000234e200 R14: 000000000000011c R15: ffff88805cc8f9f8
 __tlb_remove_page include/asm-generic/tlb.h:150 [inline]
 zap_pte_range mm/memory.c:1357 [inline]
 zap_pmd_range mm/memory.c:1456 [inline]
 zap_pud_range mm/memory.c:1485 [inline]
 zap_p4d_range mm/memory.c:1506 [inline]
 unmap_page_range+0xf92/0x1ce0 mm/memory.c:1527
 unmap_single_vma+0x147/0x2b0 mm/memory.c:1572
 unmap_vmas+0x9d/0x160 mm/memory.c:1602
 exit_mmap+0x270/0x4d0 mm/mmap.c:3058
 __mmput kernel/fork.c:930 [inline]
 mmput kernel/fork.c:951 [inline]
 mmput+0xfa/0x420 kernel/fork.c:946
 exit_mm kernel/exit.c:548 [inline]
 do_exit+0x984/0x2850 kernel/exit.c:855
 do_group_exit+0x100/0x2e0 kernel/exit.c:965
 get_signal+0x38d/0x1ca0 kernel/signal.c:2423
 do_signal+0x7c/0x1550 arch/x86/kernel/signal.c:814
 exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45deb9
RSP: 002b:00007f14d2debc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: 0000000000000060 RBX: 0000000000027f80 RCX: 000000000045deb9
RDX: 0000000000000060 RSI: 0000000020007fc0 RDI: 0000000000000004
RBP: 000000000118bf68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffd5bf8d6bf R14: 00007f14d2dec9c0 R15: 000000000118bf2c
Bluetooth: hci0 command 0x0406 tx timeout
ip_tables: iptables: counters copy to user failed while replacing table

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/11/20 21:10 linux-4.14.y 8961076ed318 68068804 .config log report info