syzbot


BUG: soft lockup in ip_list_rcv

Status: auto-closed as invalid on 2021/03/11 09:36
Subsystems: net
[Documentation on labels]
First crash: 1400d, last: 1400d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in ip_list_rcv 20 18d 171d 0/2 premoderation: reported on 2024/04/23 12:02
upstream BUG: soft lockup in ip_list_rcv (2) kvm 8 899d 900d 0/28 auto-closed as invalid on 2022/06/25 08:42
android-6-1 BUG: soft lockup in ip_list_rcv 2 70d 92d 0/2 premoderation: reported on 2024/07/11 05:20
upstream INFO: rcu detected stall in ip_list_rcv (6) netfilter virt C done done 36 1d15h 312d 0/28 upstream: reported C repro on 2023/12/04 09:45
android-5-10 BUG: soft lockup in ip_list_rcv 1 66d 66d 0/2 premoderation: reported on 2024/08/06 20:21

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 134s! [syz-executor.0:15134]
Modules linked in:
irq event stamp: 19503983
hardirqs last  enabled at (19503982): [<ffffffff89000d42>] asm_sysvec_irq_work+0x12/0x20 arch/x86/include/asm/idtentry.h:657
hardirqs last disabled at (19503983): [<ffffffff88e58dfc>] sysvec_apic_timer_interrupt+0xc/0x100 arch/x86/kernel/apic/apic.c:1091
softirqs last  enabled at (13989776): [<ffffffff89000eaf>] asm_call_irq_on_stack+0xf/0x20
softirqs last disabled at (13989779): [<ffffffff89000eaf>] asm_call_irq_on_stack+0xf/0x20
CPU: 1 PID: 15134 Comm: syz-executor.0 Not tainted 5.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__tcp_transmit_skb+0x1110/0x3760 net/ipv4/tcp_output.c:1378
Code: 00 00 00 00 fc ff df 48 8d 7b 08 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 63 21 00 00 4c 89 e6 48 89 ef ff 53 08 48 8b 4c 24 08 <48> b8 00 00 00 00 00 fc ff df 48 89 ca 83 e1 07 48 c1 ea 03 0f b6
RSP: 0018:ffffc90000d90038 EFLAGS: 00000292
RAX: 0000000000000010 RBX: ffffffff8a4ed6a0 RCX: ffff888024bc7034
RDX: 0000000000000000 RSI: ffffffff8775ef15 RDI: ffff888024bc708a
RBP: ffff888026650bc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888024bc7000
R13: 0000000000000000 R14: ffff8880266512d0 R15: 000000000012fa80
FS:  0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002001d000 CR3: 000000000b08e000 CR4: 0000000000350ee0
Call Trace:
 <IRQ>
 __tcp_send_ack.part.0+0x3d6/0x750 net/ipv4/tcp_output.c:3970
 __tcp_send_ack net/ipv4/tcp_output.c:3976 [inline]
 tcp_send_ack+0x7d/0xa0 net/ipv4/tcp_output.c:3976
 tcp_validate_incoming+0x12e8/0x1b60 net/ipv4/tcp_input.c:5586
 tcp_rcv_established+0x543/0x1eb0 net/ipv4/tcp_input.c:5856
 tcp_v4_do_rcv+0x5d1/0x870 net/ipv4/tcp_ipv4.c:1671
 tcp_v4_rcv+0x2d10/0x3750 net/ipv4/tcp_ipv4.c:2053
 ip_protocol_deliver_rcu+0x5c/0x8a0 net/ipv4/ip_input.c:204
 ip_local_deliver_finish+0x20a/0x370 net/ipv4/ip_input.c:231
 NF_HOOK include/linux/netfilter.h:301 [inline]
 NF_HOOK include/linux/netfilter.h:295 [inline]
 ip_local_deliver+0x1b3/0x200 net/ipv4/ip_input.c:252
 dst_input include/net/dst.h:449 [inline]
 ip_sublist_rcv_finish+0x9a/0x2c0 net/ipv4/ip_input.c:550
 ip_list_rcv_finish.constprop.0+0x514/0x6e0 net/ipv4/ip_input.c:600
 ip_sublist_rcv net/ipv4/ip_input.c:608 [inline]
 ip_list_rcv+0x34e/0x490 net/ipv4/ip_input.c:643
 __netif_receive_skb_list_ptype net/core/dev.c:5354 [inline]
 __netif_receive_skb_list_core+0x549/0x8e0 net/core/dev.c:5402
 __netif_receive_skb_list net/core/dev.c:5454 [inline]
 netif_receive_skb_list_internal+0x777/0xd70 net/core/dev.c:5564
 gro_normal_list net/core/dev.c:5718 [inline]
 gro_normal_list net/core/dev.c:5714 [inline]
 gro_normal_one+0x16f/0x260 net/core/dev.c:5730
 napi_skb_finish net/core/dev.c:6058 [inline]
 napi_gro_receive+0x56c/0x6c0 net/core/dev.c:6090
 receive_buf+0x1014/0x5ce0 drivers/net/virtio_net.c:1087
 virtnet_receive drivers/net/virtio_net.c:1351 [inline]
 virtnet_poll+0x568/0xd90 drivers/net/virtio_net.c:1456
 napi_poll net/core/dev.c:6759 [inline]
 net_rx_action+0x4dc/0x1100 net/core/dev.c:6829
 __do_softirq+0x2a0/0x9f6 kernel/softirq.c:298
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:393 [inline]
 __irq_exit_rcu kernel/softirq.c:423 [inline]
 irq_exit_rcu+0x132/0x200 kernel/softirq.c:435
 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x25/0x50 kernel/locking/spinlock.c:191
Code: f8 5d c3 66 90 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 fa 28 6e f8 48 89 ef e8 82 dd 6e f8 f6 c7 02 75 1a 53 9d <bf> 01 00 00 00 e8 91 49 63 f8 65 8b 05 ba f3 19 77 85 c0 74 0a 5b
RSP: 0018:ffffc900038cf958 EFLAGS: 00000202
RAX: 0000000000005e05 RBX: 0000000000000202 RCX: 1ffffffff19d8e91
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffff8880258156f8 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000202
R13: ffff8880258156f8 R14: ffff8880b9e34958 R15: ffff8880b9e34940
 try_to_wake_up+0x56b/0x1330 kernel/sched/core.c:2981
 wake_up_process kernel/sched/core.c:3049 [inline]
 wake_up_q+0x96/0x100 kernel/sched/core.c:597
 __mutex_unlock_slowpath+0x2b6/0x610 kernel/locking/mutex.c:1280
 uprobe_clear_state+0xf8/0x3b0 kernel/events/uprobes.c:1552
 __mmput+0x73/0x470 kernel/fork.c:1075
 mmput+0x53/0x60 kernel/fork.c:1100
 exit_mm kernel/exit.c:486 [inline]
 do_exit+0xa72/0x29b0 kernel/exit.c:796
 do_group_exit+0x125/0x310 kernel/exit.c:906
 get_signal+0x42a/0x1f10 kernel/signal.c:2758
 arch_do_signal+0x82/0x2390 arch/x86/kernel/signal.c:811
 exit_to_user_mode_loop kernel/entry/common.c:161 [inline]
 exit_to_user_mode_prepare+0x100/0x1a0 kernel/entry/common.c:191
 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e159
Code: Unable to access opcode bytes at RIP 0x45e12f.
RSP: 002b:00007f54b20d1cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 000000000119bf88 RCX: 000000000045e159
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000119bf8c
RBP: 000000000119bf80 R08: 000000000000000e R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007fff7b9a803f R14: 00007f54b20d29c0 R15: 000000000119bf8c
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 15123 Comm: syz-executor.1 Not tainted 5.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:native_apic_mem_write+0x8/0x10 arch/x86/include/asm/apic.h:110
Code: 00 00 5b 5d 41 5c 41 5d 41 5e c3 48 89 04 24 e8 fe 8b 82 00 48 8b 04 24 eb 83 e8 93 a0 b6 07 cc cc cc 89 ff 89 b7 00 c0 5f ff <c3> 0f 1f 80 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 53 89 fb 48
RSP: 0018:ffffc90000007bb0 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: ffffffff8ae3c9c0 RCX: 1ffffffff1de7924
RDX: 1ffffffff15c7938 RSI: 0000000000000000 RDI: 00000000000000b0
RBP: 0000000000000000 R08: ffffffff8e48e018 R09: ffffffff8e48e00f
R10: ffffffff8e48e017 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa186c2e740 CR3: 0000000014a03000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 apic_eoi arch/x86/include/asm/apic.h:408 [inline]
 ack_APIC_irq arch/x86/include/asm/apic.h:454 [inline]
 __sysvec_apic_timer_interrupt+0x79/0x540 arch/x86/kernel/apic/apic.c:1095
 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline]
 sysvec_apic_timer_interrupt+0x48/0x100 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:trace_consume_skb include/trace/events/skb.h:37 [inline]
RIP: 0010:trace_consume_skb+0x219/0x280 include/trace/events/skb.h:37
Code: fa e9 7c fe ff ff e8 56 88 83 fa 0f 0b e9 34 fe ff ff e8 4a 88 83 fa 0f 0b e9 8c fe ff ff e8 3e 88 83 fa e8 a9 a3 6f fa 31 ff <89> c3 89 c6 e8 7e 80 83 fa 85 db 75 a0 e8 25 88 83 fa 48 c7 c2 a0
RSP: 0018:ffffc90000007ca8 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 1ffffffff19d9c03
RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000000
RBP: ffff88802847a780 R08: 0000000000000000 R09: ffffffff8cecae4f
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88802847a854
R13: ffff888012dc3350 R14: 0000000000000000 R15: ffff888012dc0cd0
 consume_skb net/core/skbuff.c:833 [inline]
 consume_skb+0x81/0x160 net/core/skbuff.c:828
 mac80211_hwsim_tx_frame+0x157/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1706
 mac80211_hwsim_beacon_tx+0x4ba/0x910 drivers/net/wireless/mac80211_hwsim.c:1759
 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:792
 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:828
 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1782
 __run_hrtimer kernel/time/hrtimer.c:1519 [inline]
 __hrtimer_run_queues+0x693/0xea0 kernel/time/hrtimer.c:1583
 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1600
 __do_softirq+0x2a0/0x9f6 kernel/softirq.c:298
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:393 [inline]
 __irq_exit_rcu kernel/softirq.c:423 [inline]
 irq_exit_rcu+0x132/0x200 kernel/softirq.c:435
 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:196
Code: fc ff ff 48 c7 c7 00 d5 38 8b 48 89 54 24 08 48 89 34 24 e8 72 b3 5e 02 48 8b 54 24 08 48 8b 34 24 e9 a1 fd ff ff 0f 1f 40 00 <65> 48 8b 14 25 00 f0 01 00 65 8b 05 40 eb 91 7e a9 00 01 ff 00 48
RSP: 0018:ffffc90005c9f790 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81a14982
RDX: 0000000000000000 RSI: ffff888025814ec0 RDI: 0000000000000001
RBP: ffffea0001fb0ec0 R08: 0000000000000000 R09: ffffea0001fb0047
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: ffff8880230bb1d8 R14: dffffc0000000000 R15: 000000000103c000
 zap_pte_range mm/memory.c:1301 [inline]
 zap_pmd_range mm/memory.c:1357 [inline]
 zap_pud_range mm/memory.c:1386 [inline]
 zap_p4d_range mm/memory.c:1407 [inline]
 unmap_page_range+0x998/0x2640 mm/memory.c:1428
 unmap_single_vma+0x198/0x300 mm/memory.c:1473
 unmap_vmas+0x168/0x2e0 mm/memory.c:1505
 exit_mmap+0x2b1/0x530 mm/mmap.c:3220
 __mmput+0x122/0x470 kernel/fork.c:1079
 mmput+0x53/0x60 kernel/fork.c:1100
 exit_mm kernel/exit.c:486 [inline]
 do_exit+0xa72/0x29b0 kernel/exit.c:796
 do_group_exit+0x125/0x310 kernel/exit.c:906
 get_signal+0x42a/0x1f10 kernel/signal.c:2758
 arch_do_signal+0x82/0x2390 arch/x86/kernel/signal.c:811
 exit_to_user_mode_loop kernel/entry/common.c:161 [inline]
 exit_to_user_mode_prepare+0x100/0x1a0 kernel/entry/common.c:191
 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e159
Code: Unable to access opcode bytes at RIP 0x45e12f.
RSP: 002b:00007f0e05e1cc68 EFLAGS: 00000246 ORIG_RAX: 000000000000010e
RAX: fffffffffffffff7 RBX: 0000000000000006 RCX: 000000000045e159
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000040
RBP: 000000000119bfd8 R08: 0000000020000200 R09: 0000000000000000
R10: 0000000020000140 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffe78f9e6ff R14: 00007f0e05e1d9c0 R15: 000000000119bf8c

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/11 09:30 upstream 33dc9614dc20 f900b48c .config console log report info ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.