syzbot


INFO: rcu detected stall in ip_list_rcv (2)

Status: upstream: reported on 2025/01/28 11:17
Reported-by: syzbot+38d76c8ba7056c6df32a@syzkaller.appspotmail.com
First crash: 1d17h, last: 1d17h
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in ip_list_rcv (2) kvm 8 1009d 1010d 0/28 auto-closed as invalid on 2022/06/25 08:42
linux-5.15 INFO: rcu detected stall in ip_list_rcv 2 138d 194d 0/3 auto-obsoleted due to no activity on 2024/12/22 19:35
linux-6.1 INFO: rcu detected stall in ip_list_rcv 1 154d 154d 0/3 auto-obsoleted due to no activity on 2024/12/06 18:02
upstream INFO: rcu detected stall in ip_list_rcv (6) netfilter bpf virt C done done 39 52d 422d 0/28 upstream: reported C repro on 2023/12/04 09:45
upstream INFO: rcu detected stall in ip_list_rcv (5) lsm netfilter 3 566d 624d 0/28 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 1583d 1609d 15/28 fixed on 2020/11/16 12:12
upstream INFO: rcu detected stall in ip_list_rcv (4) netfilter 1 941d 941d 0/28 auto-closed as invalid on 2022/09/01 16:20
upstream INFO: rcu detected stall in ip_list_rcv (2) netfilter 3 1437d 1516d 0/28 auto-closed as invalid on 2021/05/23 12:59
upstream INFO: rcu detected stall in ip_list_rcv (3) net 1 1129d 1129d 0/28 closed as invalid on 2022/02/08 10:10
android-5-15 BUG: soft lockup in ip_list_rcv 20 128d 281d 0/2 auto-obsoleted due to no activity on 2024/12/22 22:06
android-6-1 BUG: soft lockup in ip_list_rcv 2 180d 202d 0/2 auto-obsoleted due to no activity on 2024/10/31 19:10
android-5-10 BUG: soft lockup in ip_list_rcv 1 176d 176d 0/2 auto-obsoleted due to no activity on 2024/11/04 20:30

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 2680 jiffies s: 1697 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4482 Comm: syz.2.46 Not tainted 6.1.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:rcu_read_unlock+0x80/0xa0 include/linux/rcupdate.h:823
Code: a6 2c d6 ff eb 24 e8 9f 2c d6 ff c6 05 54 44 d2 0c 01 48 c7 c7 c0 c9 14 8b be 35 03 00 00 48 c7 c2 60 ca 14 8b e8 e0 91 b6 ff <e8> fb e4 bf ff 48 8d 35 00 00 00 00 48 c7 c7 c0 b0 32 8d 5b e9 67
RSP: 0018:ffffc900001dec30 EFLAGS: 00000006
RAX: ffffffff81b46fc8 RBX: 0000000000000001 RCX: ffff88802fe40000
RDX: 0000000000010100 RSI: ffffffff8b5e67a0 RDI: ffffffff8b5e6760
RBP: ffffc900001ded70 R08: ffffffff81b46fb6 R09: fffffbfff224a04d
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff9200003bd98 R14: 0000000000000008 R15: ffffc900001dedc0
FS:  00007fa90fc436c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000020f67000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __perf_output_begin kernel/events/ring_buffer.c:262 [inline]
 perf_output_begin_forward+0x77e/0xaf0 kernel/events/ring_buffer.c:271
 __perf_event_output kernel/events/core.c:7708 [inline]
 perf_event_output_forward+0x1e5/0x330 kernel/events/core.c:7726
 __perf_event_overflow+0x45e/0x640 kernel/events/core.c:9472
 perf_swevent_hrtimer+0x38e/0x4f0 kernel/events/core.c:10880
 __run_hrtimer kernel/time/hrtimer.c:1689 [inline]
 __hrtimer_run_queues+0x5a7/0xe50 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x4d/0xc0 arch/x86/kernel/apic/apic.c:1118
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:in_exception_stack arch/x86/kernel/dumpstack_64.c:108 [inline]
RIP: 0010:get_stack_info_noinstr+0x4a/0x130 arch/x86/kernel/dumpstack_64.c:179
Code: 00 65 48 8b 05 27 c5 4f 75 48 39 d8 74 08 45 31 f6 e9 b9 00 00 00 48 c7 c7 5a d7 c7 8c e8 de 44 00 00 65 48 8b 1d 56 ca 4f 75 <48> 85 db 74 69 48 39 eb 77 64 48 8d 83 00 f0 01 00 48 39 e8 76 58
RSP: 0018:ffffc900001df4d8 EFLAGS: 00000282
RAX: 0000000000000001 RBX: fffffe000004f000 RCX: ffffc900034d0000
RDX: ffffc900001df5a0 RSI: ffffffff8cc7d75a RDI: ffffffff8b5e67c0
RBP: ffffc900001df540 R08: dffffc0000000000 R09: ffffc900001df5a0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900001df5a0
R13: ffffc900001df5c8 R14: ffffc900001df501 R15: 1ffff9200003beb9
 get_stack_info+0x37/0xf0 arch/x86/kernel/dumpstack_64.c:199
 __unwind_start+0x437/0x720 arch/x86/kernel/unwind_orc.c:686
 unwind_start arch/x86/include/asm/unwind.h:64 [inline]
 arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:45 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516
 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236
 kasan_slab_free include/linux/kasan.h:177 [inline]
 slab_free_hook mm/slub.c:1724 [inline]
 slab_free_freelist_hook mm/slub.c:1750 [inline]
 slab_free mm/slub.c:3661 [inline]
 kmem_cache_free+0x292/0x510 mm/slub.c:3683
 tcp_drop_reason net/ipv4/tcp_input.c:4800 [inline]
 tcp_data_queue+0x1be3/0x6fd0 net/ipv4/tcp_input.c:5180
 tcp_rcv_established+0xe63/0x1f00 net/ipv4/tcp_input.c:6097
 tcp_v4_do_rcv+0x487/0xb00 net/ipv4/tcp_ipv4.c:1683
 tcp_v4_rcv+0x29e0/0x3250 net/ipv4/tcp_ipv4.c:2114
 ip_protocol_deliver_rcu+0x381/0x740 net/ipv4/ip_input.c:205
 ip_local_deliver_finish+0x304/0x580 net/ipv4/ip_input.c:233
 NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302
 dst_input include/net/dst.h:454 [inline]
 ip_sublist_rcv_finish net/ipv4/ip_input.c:580 [inline]
 ip_list_rcv_finish net/ipv4/ip_input.c:631 [inline]
 ip_sublist_rcv+0xaf9/0xe70 net/ipv4/ip_input.c:639
 ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:674
 __netif_receive_skb_list_ptype net/core/dev.c:5581 [inline]
 __netif_receive_skb_list_core+0x37b/0x890 net/core/dev.c:5619
 __netif_receive_skb_list net/core/dev.c:5681 [inline]
 netif_receive_skb_list_internal+0xa0d/0xe20 net/core/dev.c:5772
 gro_normal_list include/net/gro.h:433 [inline]
 gro_normal_one include/net/gro.h:446 [inline]
 napi_skb_finish net/core/gro.c:628 [inline]
 napi_gro_receive+0x4be/0xb60 net/core/gro.c:658
 receive_buf+0x2571/0x5640 drivers/net/virtio_net.c:1297
 virtnet_receive drivers/net/virtio_net.c:1562 [inline]
 virtnet_poll+0x6d5/0x1450 drivers/net/virtio_net.c:1680
 __napi_poll+0xc7/0x470 net/core/dev.c:6547
 napi_poll net/core/dev.c:6614 [inline]
 net_rx_action+0x70f/0xeb0 net/core/dev.c:6728
 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
 __do_softirq kernel/softirq.c:605 [inline]
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__sanitizer_cov_trace_pc+0x41/0x60 kernel/kcov.c:221
Code: ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2
RSP: 0018:ffffc900034d74b8 EFLAGS: 00000246
RAX: ffffffff81cc0652 RBX: 00007fa90e1a3000 RCX: ffff88802fe40000
RDX: ffffc9000db61000 RSI: 00000000000283ea RDI: 000000000000001f
RBP: ffffc900034d7870 R08: ffffffff81cc0548 R09: fffffbfff1d364e6
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880305f7ea0
R13: 00000000000005c0 R14: ffff888057499758 R15: 0000000000000018
 copy_pte_range mm/memory.c:1059 [inline]
 copy_pmd_range mm/memory.c:1177 [inline]
 copy_pud_range mm/memory.c:1214 [inline]
 copy_p4d_range mm/memory.c:1238 [inline]
 copy_page_range+0x1382/0x4660 mm/memory.c:1336
 dup_mmap kernel/fork.c:697 [inline]
 dup_mm kernel/fork.c:1541 [inline]
 copy_mm+0xf42/0x1990 kernel/fork.c:1590
 copy_process+0x19d5/0x4060 kernel/fork.c:2266
 kernel_clone+0x222/0x920 kernel/fork.c:2681
 __do_sys_clone kernel/fork.c:2822 [inline]
 __se_sys_clone kernel/fork.c:2806 [inline]
 __x64_sys_clone+0x231/0x280 kernel/fork.c:2806
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa90ed8cd29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa90fc42fe8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fa90efa5fa0 RCX: 00007fa90ed8cd29
RDX: 0000000020000000 RSI: 0000000000000000 RDI: 0000000080027080
RBP: 00007fa90ee0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa90efa5fa0 R15: 00007ffd635e1038
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/28 11:17 linux-6.1.y 75cefdf153f5 18070896 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf INFO: rcu detected stall in ip_list_rcv
* Struck through repros no longer work on HEAD.