syzbot


INFO: rcu detected stall in ip_list_rcv (5)

Status: auto-obsoleted due to no activity on 2023/10/11 22:12
Subsystems: lsm netfilter
[Documentation on labels]
First crash: 403d, last: 344d
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 788d 788d 0/27 auto-closed as invalid on 2022/06/25 08:42
upstream INFO: rcu detected stall in ip_list_rcv (6) net C done 11 3d09h 201d 0/27 upstream: reported C repro on 2023/12/04 09:45
upstream INFO: rcu detected stall in ip_list_rcv net C error done 3 1362d 1388d 15/27 fixed on 2020/11/16 12:12
upstream INFO: rcu detected stall in ip_list_rcv (4) netfilter 1 720d 720d 0/27 auto-closed as invalid on 2022/09/01 16:20
upstream INFO: rcu detected stall in ip_list_rcv (2) netfilter 3 1216d 1295d 0/27 auto-closed as invalid on 2021/05/23 12:59
upstream INFO: rcu detected stall in ip_list_rcv (3) net 1 908d 908d 0/27 closed as invalid on 2022/02/08 10:10
android-5-15 BUG: soft lockup in ip_list_rcv 14 6d16h 60d 0/2 premoderation: reported on 2024/04/23 12:02

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (1 ticks this GP) idle=fb24/1/0x4000000000000000 softirq=57034/57034 fqs=0
rcu: 	(detected by 1, t=10502 jiffies, g=82825, q=149 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:div64_u64 include/linux/math64.h:69 [inline]
RIP: 0010:taprio_set_budgets+0x1e3/0x360 net/sched/sch_taprio.c:677
Code: ae 10 f9 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 25 ac 10 f9 48 89 e8 31 d2 48 f7 33 <48> 89 c5 bf 11 00 00 00 4c 89 fe e8 bd d8 b8 f8 49 83 ff 10 0f 87
RSP: 0018:ffffc90000007c30 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffff888079cf02e0 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888079cf02e0
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100f39e05d
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000004
R13: ffff88802225ec08 R14: ffff88802225ec00 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200bc030 CR3: 00000000313b3000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 advance_sched+0x993/0xc80 net/sched/sch_taprio.c:982
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:207
Code: 89 fb e8 13 00 00 00 48 8b 3d 84 58 ca 0c 48 89 de 5b e9 c3 01 57 00 0f 1f 00 f3 0f 1e fa 48 8b 04 24 65 48 8b 0d 10 38 78 7e <65> 8b 15 11 38 78 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74
RSP: 0018:ffffc90000146c78 EFLAGS: 00000206
RAX: ffffffff892b6e40 RBX: 00000000f31fe79d RCX: ffff888014a63b80
RDX: ffff888014a63b80 RSI: 00000000f31fe79d RDI: 00000000f31fe88d
RBP: ffffc90000146db8 R08: ffffffff892b6db0 R09: fffffbfff2065464
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807f768c40
R13: dffffc0000000000 R14: 00000000f31fe88d R15: dffffc0000000000
 tcp_rcv_established+0x1270/0x1f80 net/ipv4/tcp_input.c:5956
 tcp_v4_do_rcv+0x6bd/0xb50 net/ipv4/tcp_ipv4.c:1722
 tcp_v4_rcv+0x297e/0x3280 net/ipv4/tcp_ipv4.c:2144
 ip_protocol_deliver_rcu+0x5a3/0xd20 net/ipv4/ip_input.c:205
 ip_local_deliver_finish+0x28e/0x4c0 net/ipv4/ip_input.c:233
 NF_HOOK+0x368/0x410 include/linux/netfilter.h:303
 dst_input include/net/dst.h:468 [inline]
 ip_sublist_rcv_finish net/ipv4/ip_input.c:580 [inline]
 ip_list_rcv_finish net/ipv4/ip_input.c:630 [inline]
 ip_sublist_rcv+0xa95/0xde0 net/ipv4/ip_input.c:638
 ip_list_rcv+0x426/0x470 net/ipv4/ip_input.c:673
 __netif_receive_skb_list_ptype net/core/dev.c:5536 [inline]
 __netif_receive_skb_list_core+0x6b5/0x890 net/core/dev.c:5584
 __netif_receive_skb_list net/core/dev.c:5636 [inline]
 netif_receive_skb_list_internal+0x9f9/0xe00 net/core/dev.c:5727
 gro_normal_list include/net/gro.h:433 [inline]
 napi_complete_done+0x310/0x8e0 net/core/dev.c:6067
 virtqueue_napi_complete drivers/net/virtio_net.c:408 [inline]
 virtnet_poll+0xc89/0x1470 drivers/net/virtio_net.c:1858
 __napi_poll+0xc7/0x470 net/core/dev.c:6498
 napi_poll net/core/dev.c:6565 [inline]
 net_rx_action+0x78b/0x1010 net/core/dev.c:6698
 __do_softirq+0x2ab/0x908 kernel/softirq.c:571
 run_ksoftirqd+0xc5/0x120 kernel/softirq.c:939
 smpboot_thread_fn+0x533/0x9f0 kernel/smpboot.c:164
 kthread+0x2b8/0x350 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g82825 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=49799
rcu: rcu_preempt kthread starved for 10502 jiffies! g82825 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26488 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5343 [inline]
 __schedule+0x187b/0x4900 kernel/sched/core.c:6669
 schedule+0xc3/0x180 kernel/sched/core.c:6745
 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808
 kthread+0x2b8/0x350 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </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: 15 Comm: ksoftirqd/0 Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3759 [inline]
RIP: 0010:validate_chain+0x121/0x58f0 kernel/locking/lockdep.c:3815
Code: 04 00 00 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 60 a2 32 90 be 08 00 00 00 e8 47 87 77 00 48 0f a3 1d af d0 c6 0e <72> 25 48 c7 c0 a0 21 b2 91 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85
RSP: 0018:ffffc90000007760 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 0000000000000d4a RCX: ffffffff816bd1a9
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9032a408
RBP: ffffc90000007a18 R08: dffffc0000000000 R09: fffffbfff2065482
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888014a646e0 R14: 435ccbca2feb10fa R15: ffff888014a646e0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200bc030 CR3: 00000000313b3000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __lock_acquire+0x1316/0x2070 kernel/locking/lockdep.c:5088
 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5705
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:350 [inline]
 advance_sched+0xae/0xc80 net/sched/sch_taprio.c:929
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:207
Code: 89 fb e8 13 00 00 00 48 8b 3d 84 58 ca 0c 48 89 de 5b e9 c3 01 57 00 0f 1f 00 f3 0f 1e fa 48 8b 04 24 65 48 8b 0d 10 38 78 7e <65> 8b 15 11 38 78 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74
RSP: 0018:ffffc90000146c78 EFLAGS: 00000206
RAX: ffffffff892b6e40 RBX: 00000000f31fe79d RCX: ffff888014a63b80
RDX: ffff888014a63b80 RSI: 00000000f31fe79d RDI: 00000000f31fe88d
RBP: ffffc90000146db8 R08: ffffffff892b6db0 R09: fffffbfff2065464
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807f768c40
R13: dffffc0000000000 R14: 00000000f31fe88d R15: dffffc0000000000
 tcp_rcv_established+0x1270/0x1f80 net/ipv4/tcp_input.c:5956
 tcp_v4_do_rcv+0x6bd/0xb50 net/ipv4/tcp_ipv4.c:1722
 tcp_v4_rcv+0x297e/0x3280 net/ipv4/tcp_ipv4.c:2144
 ip_protocol_deliver_rcu+0x5a3/0xd20 net/ipv4/ip_input.c:205
 ip_local_deliver_finish+0x28e/0x4c0 net/ipv4/ip_input.c:233
 NF_HOOK+0x368/0x410 include/linux/netfilter.h:303
 dst_input include/net/dst.h:468 [inline]
 ip_sublist_rcv_finish net/ipv4/ip_input.c:580 [inline]
 ip_list_rcv_finish net/ipv4/ip_input.c:630 [inline]
 ip_sublist_rcv+0xa95/0xde0 net/ipv4/ip_input.c:638
 ip_list_rcv+0x426/0x470 net/ipv4/ip_input.c:673
 __netif_receive_skb_list_ptype net/core/dev.c:5536 [inline]
 __netif_receive_skb_list_core+0x6b5/0x890 net/core/dev.c:5584
 __netif_receive_skb_list net/core/dev.c:5636 [inline]
 netif_receive_skb_list_internal+0x9f9/0xe00 net/core/dev.c:5727
 gro_normal_list include/net/gro.h:433 [inline]
 napi_complete_done+0x310/0x8e0 net/core/dev.c:6067
 virtqueue_napi_complete drivers/net/virtio_net.c:408 [inline]
 virtnet_poll+0xc89/0x1470 drivers/net/virtio_net.c:1858
 __napi_poll+0xc7/0x470 net/core/dev.c:6498
 napi_poll net/core/dev.c:6565 [inline]
 net_rx_action+0x78b/0x1010 net/core/dev.c:6698
 __do_softirq+0x2ab/0x908 kernel/softirq.c:571
 run_ksoftirqd+0xc5/0x120 kernel/softirq.c:939
 smpboot_thread_fn+0x533/0x9f0 kernel/smpboot.c:164
 kthread+0x2b8/0x350 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/14 10:16 upstream b6dad5178cea d2ee9228 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in ip_list_rcv
2023/05/16 15:49 upstream f1fcbaa18b28 11c89444 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in ip_list_rcv
2023/07/13 21:52 linux-next e32622656258 55eda22f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in ip_list_rcv
* Struck through repros no longer work on HEAD.