syzbot


BUG: soft lockup in ip_list_rcv (2)

Status: premoderation: reported on 2025/03/26 13:39
Reported-by: syzbot+1b7ca7bd32eb28bcee35@syzkaller.appspotmail.com
First crash: 15d, last: 15d
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in ip_list_rcv 20 199d 352d 0/2 auto-obsoleted due to no activity on 2024/12/22 22:06
upstream BUG: soft lockup in ip_list_rcv (2) kvm 8 1080d 1081d 0/28 auto-closed as invalid on 2022/06/25 08:42
upstream BUG: soft lockup in ip_list_rcv net 1 1581d 1581d 0/28 auto-closed as invalid on 2021/03/11 09:36
android-6-1 BUG: soft lockup in ip_list_rcv 2 251d 273d 0/2 auto-obsoleted due to no activity on 2024/10/31 19:10
upstream INFO: rcu detected stall in ip_list_rcv (6) net C done done 41 3d22h 493d 0/28 upstream: reported C repro on 2023/12/04 09:45
android-5-10 BUG: soft lockup in ip_list_rcv 1 247d 247d 0/2 auto-obsoleted due to no activity on 2024/11/04 20:30
linux-6.1 INFO: rcu detected stall in ip_list_rcv (2) 1 72d 72d 0/3 upstream: reported on 2025/01/28 11:17
linux-5.15 INFO: rcu detected stall in ip_list_rcv 2 209d 264d 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 225d 225d 0/3 auto-obsoleted due to no activity on 2024/12/06 18:02
upstream INFO: rcu detected stall in ip_list_rcv (5) lsm netfilter 3 637d 695d 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 1012d 1012d 0/28 auto-closed as invalid on 2022/09/01 16:20
upstream INFO: rcu detected stall in ip_list_rcv (2) netfilter 3 1508d 1587d 0/28 auto-closed as invalid on 2021/05/23 12:59
upstream INFO: rcu detected stall in ip_list_rcv (3) net 1 1200d 1200d 0/28 closed as invalid on 2022/02/08 10:10

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz.2.1793:6191]
Modules linked in:
CPU: 0 PID: 6191 Comm: syz.2.1793 Tainted: G        W         5.15.178-syzkaller-00013-g7d1f9b5c2ff5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:__dev_queue_xmit+0x1e8/0x2e80 net/core/dev.c:4195
Code: c0 0f 85 38 1e 00 00 48 89 5c 24 78 8b 03 49 8d 5c 06 03 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 35 1e 00 00 0f b6 1b <89> de 83 e6 40 31 ff e8 ac e1 87 fd 83 e3 40 0f 85 b7 1a 00 00 e8
RSP: 0018:ffffc900000064a0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffff11024490cde
RDX: ffff888122486640 RSI: 0000000000000000 RDI: ffff888122486640
RBP: ffffc90000006698 R08: ffffffff842649ea R09: ffffed1029b6ac22
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000006620
R13: dffffc0000000000 R14: ffff88814db56000 R15: 1ffff11024490ce2
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f610564a8db CR3: 0000000006a0f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 dev_queue_xmit+0x17/0x20 net/core/dev.c:4297
 neigh_hh_output include/net/neighbour.h:501 [inline]
 neigh_output include/net/neighbour.h:515 [inline]
 ip_finish_output2+0xb9f/0xf60 net/ipv4/ip_output.c:228
 __ip_finish_output+0x162/0x360
 ip_finish_output+0x31/0x210 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+0x1105/0x1c20 net/ipv4/ip_output.c:532
 ip_queue_xmit+0x4c/0x70 net/ipv4/ip_output.c:546
 __tcp_transmit_skb+0x1e84/0x3920 net/ipv4/tcp_output.c:1404
 __tcp_send_ack+0x303/0x710 net/ipv4/tcp_output.c:4012
 tcp_send_ack+0x3b/0x60 net/ipv4/tcp_output.c:4018
 __tcp_ack_snd_check+0x3fc/0x970 net/ipv4/tcp_input.c:5584
 tcp_rcv_established+0x10f1/0x1ac0 net/ipv4/tcp_input.c:6019
 tcp_v4_do_rcv+0x3d7/0xa00 net/ipv4/tcp_ipv4.c:1726
 tcp_v4_rcv+0x23dd/0x2a70 net/ipv4/tcp_ipv4.c:2138
 ip_protocol_deliver_rcu+0x32f/0x710 net/ipv4/ip_input.c:204
 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ip_local_deliver+0x2c6/0x590 net/ipv4/ip_input.c:252
 dst_input include/net/dst.h:454 [inline]
 ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline]
 ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline]
 ip_sublist_rcv+0x7e2/0x980 net/ipv4/ip_input.c:636
 ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:671
 __netif_receive_skb_list_ptype net/core/dev.c:5544 [inline]
 __netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5592
 __netif_receive_skb_list net/core/dev.c:5644 [inline]
 netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5735
 gro_normal_list net/core/dev.c:5889 [inline]
 gro_normal_one net/core/dev.c:5902 [inline]
 napi_skb_finish net/core/dev.c:6239 [inline]
 napi_gro_receive+0x45f/0x920 net/core/dev.c:6269
 receive_buf+0x38c2/0x5860 drivers/net/virtio_net.c:1208
 virtnet_receive drivers/net/virtio_net.c:1472 [inline]
 virtnet_poll+0x615/0x1250 drivers/net/virtio_net.c:1585
 __napi_poll+0xc4/0x5a0 net/core/dev.c:7051
 napi_poll net/core/dev.c:7118 [inline]
 net_rx_action+0x47d/0xc50 net/core/dev.c:7208
 handle_softirqs+0x25e/0x5c0 kernel/softirq.c:565
 __do_softirq kernel/softirq.c:603 [inline]
 invoke_softirq kernel/softirq.c:425 [inline]
 __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:652
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:664
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:513 [inline]
RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline]
RIP: 0010:do_raw_spin_lock include/linux/spinlock.h:187 [inline]
RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline]
RIP: 0010:_raw_spin_lock+0xc0/0x1b0 kernel/locking/spinlock.c:154
Code: fc 4c 89 ff be 04 00 00 00 e8 3c be ca fc 43 0f b6 04 26 84 c0 0f 85 aa 00 00 00 8b 44 24 20 b9 01 00 00 00 f0 41 0f b1 4d 00 <75> 33 48 c7 04 24 0e 36 e0 45 49 c7 04 1c 00 00 00 00 65 48 8b 04
RSP: 0018:ffffc90000ac7400 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 1ffff92000158e80 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000ac7420
RBP: ffffc90000ac7490 R08: dffffc0000000000 R09: 0000000000000003
R10: fffff52000158e84 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffea00044982e8 R14: 1ffff92000158e84 R15: ffffc90000ac7420
 spin_lock include/linux/spinlock.h:363 [inline]
 zap_pte_range mm/memory.c:1407 [inline]
 zap_pmd_range mm/memory.c:1574 [inline]
 zap_pud_range mm/memory.c:1603 [inline]
 zap_p4d_range mm/memory.c:1624 [inline]
 unmap_page_range+0xa6d/0x1ed0 mm/memory.c:1645
 unmap_single_vma mm/memory.c:1690 [inline]
 unmap_vmas+0x389/0x560 mm/memory.c:1722
 exit_mmap+0x458/0x990 mm/mmap.c:3233
 __mmput+0x95/0x310 kernel/fork.c:1180
 mmput+0x5b/0x170 kernel/fork.c:1203
 exit_mm kernel/exit.c:554 [inline]
 do_exit+0xb9c/0x2ca0 kernel/exit.c:867
 do_group_exit+0x141/0x310 kernel/exit.c:1002
 get_signal+0x7a3/0x1630 kernel/signal.c:2907
 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867
 handle_signal_work kernel/entry/common.c:154 [inline]
 exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:178
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:307
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f49bd842169
Code: Unable to access opcode bytes at RIP 0x7f49bd84213f.
RSP: 002b:00007f49bbeac0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 00007f49bda5afa8 RCX: 00007f49bd842169
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f49bda5afa8
RBP: 00007f49bda5afa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f49bda5afac
R13: 0000000000000000 R14: 00007ffc7d0f47e0 R15: 00007ffc7d0f48c8
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 279 Comm: syz-executor Tainted: G        W         5.15.178-syzkaller-00013-g7d1f9b5c2ff5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918
Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 0b d9 12 04 fb f4 <e9> 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c
RSP: 0018:ffffc900007af5a0 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff920000f5eb8 RCX: ffffffff81553c8f
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88811b2a3148
RBP: ffffc900007af650 R08: dffffc0000000000 R09: ffffed102365462a
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811b2a3148 R14: 0000000000000003 R15: 1ffff920000f5ebc
FS:  0000555579d39500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7730dd2c58 CR3: 000000011cf02000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock include/linux/spinlock.h:187 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline]
 _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:368 [inline]
 lock_sock_nested+0x97/0x300 net/core/sock.c:3272
 lock_sock include/net/sock.h:1684 [inline]
 tcp_recvmsg+0x226/0x7f0 net/ipv4/tcp.c:2562
 inet_recvmsg+0x158/0x500 net/ipv4/af_inet.c:861
 sock_recvmsg_nosec net/socket.c:966 [inline]
 sock_recvmsg net/socket.c:984 [inline]
 sock_read_iter+0x353/0x480 net/socket.c:1057
 call_read_iter include/linux/fs.h:2200 [inline]
 new_sync_read fs/read_write.c:404 [inline]
 vfs_read+0xa81/0xd40 fs/read_write.c:485
 ksys_read+0x199/0x2c0 fs/read_write.c:623
 __do_sys_read fs/read_write.c:633 [inline]
 __se_sys_read fs/read_write.c:631 [inline]
 __x64_sys_read+0x7b/0x90 fs/read_write.c:631
 x64_sys_call+0x28/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:1
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f7732f1ab3d
Code: a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb b5 e8 a8 48 00 00 0f 1f 84 00 00 00 00 00 80 3d 01 1a 1f 00 00 74 17 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5b c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec
RSP: 002b:00007ffc5a061ca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007ffc5a061db0 RCX: 00007f7732f1ab3d
RDX: 0000000000000004 RSI: 00007ffc5a061cbc RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffc5a11c080 R09: 00007ffc5a11c0b0
R10: 00000000000119e8 R11: 0000000000000246 R12: 00007ffc5a0620d0
R13: 0000000000000004 R14: 00007ffc5a061cbc R15: 00007ffc5a061d50
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/26 13:38 android13-5.15-lts 7d1f9b5c2ff5 89d30d73 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in ip_list_rcv
* Struck through repros no longer work on HEAD.