syzbot


BUG: soft lockup in ip_list_rcv

Status: auto-obsoleted due to no activity on 2024/10/31 19:10
Reported-by: syzbot+d033e1973f5cbef59d33@syzkaller.appspotmail.com
First crash: 145d, last: 122d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in ip_list_rcv 20 70d 223d 0/2 premoderation: reported on 2024/04/23 12:02
upstream BUG: soft lockup in ip_list_rcv (2) kvm 8 952d 952d 0/28 auto-closed as invalid on 2022/06/25 08:42
upstream BUG: soft lockup in ip_list_rcv net 1 1452d 1452d 0/28 auto-closed as invalid on 2021/03/11 09:36
upstream INFO: rcu detected stall in ip_list_rcv (6) virt netfilter C done done 38 3d15h 364d 0/28 upstream: reported C repro on 2023/12/04 09:45
android-5-10 BUG: soft lockup in ip_list_rcv 1 118d 118d 0/2 auto-obsoleted due to no activity on 2024/11/04 20:30
linux-5.15 INFO: rcu detected stall in ip_list_rcv 2 80d 136d 0/3 upstream: reported on 2024/07/20 04:22
linux-6.1 INFO: rcu detected stall in ip_list_rcv 1 96d 96d 0/3 upstream: reported on 2024/08/28 18:02
upstream INFO: rcu detected stall in ip_list_rcv (5) lsm netfilter 3 508d 566d 0/28 auto-obsoleted due to no activity on 2023/10/11 22:12
upstream INFO: rcu detected stall in ip_list_rcv (4) netfilter 1 883d 883d 0/28 auto-closed as invalid on 2022/09/01 16:20
upstream INFO: rcu detected stall in ip_list_rcv (2) netfilter 3 1379d 1458d 0/28 auto-closed as invalid on 2021/05/23 12:59
upstream INFO: rcu detected stall in ip_list_rcv (3) net 1 1071d 1071d 0/28 closed as invalid on 2022/02/08 10:10

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 226s! [syz.2.888:4813]
Modules linked in:
CPU: 1 PID: 4813 Comm: syz.2.888 Not tainted 6.1.90-syzkaller-00126-g4ac7f55b9824 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__dev_queue_xmit+0x23e6/0x36e0 net/core/dev.c:4266
Code: 48 89 df e8 8c f2 b2 fd e9 28 e0 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c f0 e8 ff ff 48 89 df e8 8f f2 b2 fd e9 e3 e8 ff ff <48> 8d 8c 24 d0 01 00 00 80 e1 07 80 c1 03 38 c1 0f 8c 81 f1 ff ff
RSP: 0018:ffffc900001af440 EFLAGS: 00000202
RAX: 0000000000000004 RBX: 0000000000000000 RCX: 1ffff92000035ec2
RDX: 0000000000000302 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900001af670 R08: ffffffff8409c698 R09: ffffed102351c01c
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff88813d7c4800 R14: 0000000000000174 R15: ffff88811a8e0000
FS:  00007f907c19e6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000012f15b000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 dev_queue_xmit include/linux/netdevice.h:3076 [inline]
 neigh_resolve_output+0x6e3/0x7f0 net/core/neighbour.c:1563
 neigh_output include/net/neighbour.h:552 [inline]
 ip_finish_output2+0xbda/0xf70 net/ipv4/ip_output.c:228
 __ip_finish_output+0x162/0x370
 ip_finish_output+0x31/0x2a0 net/ipv4/ip_output.c:316
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip_output+0x1d6/0x420 net/ipv4/ip_output.c:430
 dst_output include/net/dst.h:444 [inline]
 ip_local_out net/ipv4/ip_output.c:126 [inline]
 __ip_queue_xmit+0x10b0/0x1af0 net/ipv4/ip_output.c:532
 ip_queue_xmit+0x4c/0x70 net/ipv4/ip_output.c:546
 __tcp_transmit_skb+0x1e9e/0x35a0 net/ipv4/tcp_output.c:1401
 __tcp_send_ack+0x2e4/0x6c0 net/ipv4/tcp_output.c:4004
 tcp_send_ack+0x3b/0x60 net/ipv4/tcp_output.c:4010
 __tcp_ack_snd_check+0x3fc/0x970 net/ipv4/tcp_input.c:5547
 tcp_rcv_established+0x1291/0x1c60 net/ipv4/tcp_input.c:5991
 tcp_v4_do_rcv+0x430/0xa20 net/ipv4/tcp_ipv4.c:1677
 tcp_v4_rcv+0x20d7/0x2a30 net/ipv4/tcp_ipv4.c:2099
 ip_protocol_deliver_rcu+0x32f/0x720 net/ipv4/ip_input.c:205
 ip_local_deliver_finish+0x246/0x400 net/ipv4/ip_input.c:233
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ip_local_deliver+0x1b3/0x3b0 net/ipv4/ip_input.c:254
 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+0x7e5/0x990 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:5578 [inline]
 __netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5626
 __netif_receive_skb_list net/core/dev.c:5678 [inline]
 netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5769
 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+0x45f/0x920 net/core/gro.c:658
 receive_buf+0x22e7/0x4ee0 drivers/net/virtio_net.c:1297
 virtnet_receive drivers/net/virtio_net.c:1562 [inline]
 virtnet_poll+0x6d3/0x1470 drivers/net/virtio_net.c:1680
 __napi_poll+0xbe/0x5c0 net/core/dev.c:6544
 napi_poll net/core/dev.c:6611 [inline]
 net_rx_action+0x595/0xdd0 net/core/dev.c:6725
 __do_softirq+0x1d8/0x661 kernel/softirq.c:617
 invoke_softirq kernel/softirq.c:472 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:finish_task_switch+0x16f/0x7b0 kernel/sched/core.c:5295
Code: 74 08 4c 89 ff e8 d1 5b 6c 00 49 8b 1f 48 85 db 4c 8b 6d c0 0f 85 ce 00 00 00 4c 89 e7 e8 39 ef ce 03 fb 49 8d 9d 48 0b 00 00 <48> 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30
RSP: 0018:ffffc90000fc7c00 EFLAGS: 00000282
RAX: 0000000080000001 RBX: ffff88812d470b48 RCX: 0000000000000002
RDX: 0000000040000002 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000fc7c50 R08: ffffffff819b5460 R09: fffffbfff0ee5117
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7137c80
R13: ffff88812d470000 R14: 1ffff1103ee270fc R15: ffff8881f71387e0
 context_switch kernel/sched/core.c:5421 [inline]
 __schedule+0xcaf/0x1550 kernel/sched/core.c:6744
 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:7056
 raw_irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:396
 irqentry_exit+0x30/0x40 kernel/entry/common.c:439
 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:__x64_sys_futex+0x0/0x100 kernel/futex/syscalls.c:166
Code: 45 84 e4 75 0f e8 f0 6c 0a 00 4c 8b 74 24 30 e9 8a f7 ff ff e8 e1 6c 0a 00 e8 d8 53 95 ff eb ea 66 2e 0f 1f 84 00 00 00 00 00 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 10 48 89 fb 49 bf
RSP: 0018:ffffc90000fc7f18 EFLAGS: 00000283
RAX: 00000000000000ca RBX: ffffc90000fc7f30 RCX: 00000000000000ca
RDX: 0000000000000000 RSI: 00000000000000ca RDI: ffffc90000fc7f58
RBP: ffffc90000fc7f20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90000fc7f58 R15: 0000000000000000
 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:0x7f907b3773b9
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:00007f907c19e0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00007f907b506060 RCX: 00007f907b3773b9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f907b506064
RBP: 00007f907b506058 R08: 00007fffa150e0b0 R09: 00007f907c19e6c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f907b506064
R13: 000000000000006e R14: 00007fffa14ebc00 R15: 00007fffa14ebce8
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3881 Comm: syz.3.753 Not tainted 6.1.90-syzkaller-00126-g4ac7f55b9824 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__perf_event_overflow+0x42c/0x630 kernel/events/core.c:9409
Code: 07 00 74 08 4c 89 e7 e8 92 3f 20 00 4d 89 34 24 49 be 00 00 00 00 00 fc ff df 4c 8b 7d b0 49 8d bd 40 03 00 00 e8 c4 8a e7 ff <49> 8d bd e0 03 00 00 48 89 f8 48 c1 e8 03 42 80 3c 30 00 74 05 e8
RSP: 0018:ffffc90000007418 EFLAGS: 00000046
RAX: ffffffff819c7f34 RBX: ffffc90000007500 RCX: ffff888111959440
RDX: 0000000000010100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000007470 R08: ffffffff819c7f2a R09: ffffed10256c206f
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff88812b610000 R14: dffffc0000000000 R15: ffffc90000007978
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2fd3035000 CR3: 0000000006e0f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 perf_swevent_hrtimer+0x38e/0x4f0 kernel/events/core.c:10817
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x41a/0xad0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x40c/0xaa0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:sk_fullsock include/net/sock.h:2908 [inline]
RIP: 0010:inet6_sk include/linux/ipv6.h:345 [inline]
RIP: 0010:ndisc_send_skb+0x414/0xdc0 net/ipv6/ndisc.c:503
Code: 85 01 06 00 00 66 41 89 1e 48 8b 44 24 28 48 8d 58 12 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 fd 05 00 00 44 0f b6 33 <bf> 20 00 00 00 44 89 f6 e8 6f 61 f8 fc 41 83 fe 1f 0f 87 cd 07 00
RSP: 0018:ffffc90000007a20 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88810d9bae12 RCX: dffffc0000000000
RDX: ffff888111959440 RSI: 000000003a000000 RDI: 000000006800f782
RBP: ffffc90000007bf8 R08: ffffffff848e000d R09: ffffc90000007900
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888126f19790
R13: dffffc0000000000 R14: 0000000000000007 R15: ffff8881263fcc80
 ndisc_send_rs+0x47d/0x5f0 net/ipv6/ndisc.c:719
 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3984
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1510
 expire_timers kernel/time/timer.c:1555 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1826
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1839
 __do_softirq+0x1d8/0x661 kernel/softirq.c:617
 invoke_softirq kernel/softirq.c:472 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:update_stack_state+0x2a4/0x460 arch/x86/kernel/unwind_frame.c:239
Code: 22 44 3b 7d a4 75 1c 48 3b 45 98 73 16 31 db 89 d8 48 81 c4 90 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 4d 85 ed 4c 89 75 b0 <74> 77 49 bf 00 00 00 00 00 fc ff df 48 8b 45 90 42 80 3c 38 00 74
RSP: 0018:ffffc900058df0d0 EFLAGS: 00000246
RAX: ffffc900058df5b0 RBX: ffffc900058df248 RCX: ffffc900058df5c0
RDX: 1ffff92000b1be46 RSI: ffffc900058df5b0 RDI: ffffc900058df278
RBP: ffffc900058df188 R08: ffffc900058df308 R09: 0000000000000000
R10: ffffc900058df310 R11: dffffc0000000001 R12: 1ffff92000b1be4c
R13: 0000000000000000 R14: ffffc900058df260 R15: 0000000000000001
 unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:315
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 save_stack+0xf6/0x1e0 mm/page_owner.c:147
 __reset_page_owner+0x54/0x190 mm/page_owner.c:168
 reset_page_owner include/linux/page_owner.h:26 [inline]
 free_pages_prepare mm/page_alloc.c:1498 [inline]
 free_pcp_prepare mm/page_alloc.c:1572 [inline]
 free_unref_page_prepare+0x83d/0x850 mm/page_alloc.c:3498
 free_unref_page+0xb2/0x5c0 mm/page_alloc.c:3594
 free_the_page mm/page_alloc.c:798 [inline]
 __free_pages+0x61/0xf0 mm/page_alloc.c:5803
 __vunmap+0x9f3/0xb60 mm/vmalloc.c:2728
 __vfree mm/vmalloc.c:2776 [inline]
 vfree+0x5c/0x80 mm/vmalloc.c:2807
 kcov_put kernel/kcov.c:428 [inline]
 kcov_close+0x2b/0x50 kernel/kcov.c:524
 __fput+0x3ab/0x870 fs/file_table.c:320
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x24d/0x2e0 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xbd5/0x2b80 kernel/exit.c:875
 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025
 get_signal+0x169d/0x1820 kernel/signal.c:2880
 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x26/0x130 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f9957b773b9
Code: Unable to access opcode bytes at 0x7f9957b7738f.
RSP: 002b:00007f99589640f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f9957d06138 RCX: 00007f9957b773b9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f9957d0613c
RBP: 00007f9957d06130 R08: 00007ffdc0d620b0 R09: 00007f99589646c0
R10: 0000000000000007 R11: 0000000000000246 R12: 00007f9957d0613c
R13: 000000000000006e R14: 00007ffdc0ca4440 R15: 00007ffdc0ca4528
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/02 19:01 android14-6.1 4ac7f55b9824 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in ip_list_rcv
2024/07/11 05:19 android14-6.1 96d66062d076 c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in ip_list_rcv
* Struck through repros no longer work on HEAD.