syzbot


BUG: soft lockup in ip_rcv (2)

Status: auto-closed as invalid on 2021/07/26 15:49
Reported-by: syzbot+753df8cb1d3d716367bd@syzkaller.appspotmail.com
First crash: 1096d, last: 1096d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in ip_rcv C error 16 391d 1059d 0/1 upstream: reported C repro on 2021/05/04 03:32
linux-4.14 BUG: soft lockup in ip_rcv 1 1258d 1258d 0/1 auto-closed as invalid on 2021/02/14 05:25
linux-4.14 BUG: soft lockup in ip_rcv (3) C error 4 571d 691d 0/1 upstream: reported C repro on 2022/05/07 10:08
upstream INFO: rcu detected stall in ip_rcv (3) kernel 1 1074d 1074d 0/26 auto-closed as invalid on 2021/07/17 18:11
upstream INFO: rcu detected stall in ip_rcv (4) bpf net 12 702d 773d 0/26 auto-closed as invalid on 2022/07/25 09:18
upstream INFO: rcu detected stall in ip_rcv (5) net 2 216d 228d 0/26 auto-obsoleted due to no activity on 2023/11/23 01:36

Sample crash report:
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f7dd1e9d1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc97cefc0f R14: 00007f7dd1e9d300 R15: 0000000000022000
watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [ksoftirqd/0:7]
Modules linked in:
irq event stamp: 6741177
hardirqs last  enabled at (6741176): [<ffffffff817e5998>] slab_alloc_node mm/slab.c:3327 [inline]
hardirqs last  enabled at (6741176): [<ffffffff817e5998>] kmem_cache_alloc_node+0x2f8/0x410 mm/slab.c:3640
hardirqs last disabled at (6741177): [<ffffffff874018ae>] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793
softirqs last  enabled at (3467942): [<ffffffff8760068b>] __do_softirq+0x68b/0x9ff kernel/softirq.c:314
softirqs last disabled at (3467947): [<ffffffff81320710>] run_ksoftirqd+0x50/0x1a0 kernel/softirq.c:670
CPU: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 4.14.227-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880b5ff61c0 task.stack: ffff8880b5408000
RIP: 0010:unwind_next_frame+0xd5d/0x17d0 arch/x86/kernel/unwind_orc.c:467
RSP: 0018:ffff8880b540e280 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000000 RBX: 1ffff11016a81c57 RCX: ffffffff8ac7a654
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8880b540e838
RBP: 0000000000000001 R08: ffffffff8ac7a658 R09: ffffffff8ac7a659
R10: ffff8880b540e840 R11: 0000000000000001 R12: ffff8880b540e375
R13: ffff8880b540e378 R14: ffff8880b540e390 R15: ffff8880b540e340
FS:  0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7dd1ebdfe8 CR3: 0000000008e6a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __save_stack_trace+0x90/0x160 arch/x86/kernel/stacktrace.c:44
 save_stack mm/kasan/kasan.c:447 [inline]
 set_track mm/kasan/kasan.c:459 [inline]
 kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551
 kmem_cache_alloc_node+0x146/0x410 mm/slab.c:3642
 __alloc_skb+0x5c/0x510 net/core/skbuff.c:193
 skb_segment+0x677/0x2e60 net/core/skbuff.c:3680
 sctp_gso_segment net/sctp/offload.c:76 [inline]
 sctp_gso_segment+0x204/0x810 net/sctp/offload.c:43
 inet_gso_segment+0x470/0x10c0 net/ipv4/af_inet.c:1272
 inet_gso_segment+0x470/0x10c0 net/ipv4/af_inet.c:1272
 skb_mac_gso_segment+0x240/0x4c0 net/core/dev.c:2745
 __skb_gso_segment+0x302/0x600 net/core/dev.c:2818
 skb_gso_segment include/linux/netdevice.h:4002 [inline]
 validate_xmit_skb+0x49c/0x9f0 net/core/dev.c:3071
 validate_xmit_skb_list+0xaf/0x110 net/core/dev.c:3122
 sch_direct_xmit+0x2dc/0x500 net/sched/sch_generic.c:181
 qdisc_restart net/sched/sch_generic.c:249 [inline]
 __qdisc_run+0x25d/0xe00 net/sched/sch_generic.c:257
 __dev_xmit_skb net/core/dev.c:3231 [inline]
 __dev_queue_xmit+0x13ac/0x2480 net/core/dev.c:3489
 neigh_hh_output include/net/neighbour.h:490 [inline]
 neigh_output include/net/neighbour.h:498 [inline]
 ip_finish_output2+0x9db/0x1340 net/ipv4/ip_output.c:230
 ip_finish_output+0x37c/0xc50 net/ipv4/ip_output.c:318
 NF_HOOK_COND include/linux/netfilter.h:239 [inline]
 ip_output+0x1cd/0x510 net/ipv4/ip_output.c:406
 dst_output include/net/dst.h:470 [inline]
 ip_local_out+0x93/0x170 net/ipv4/ip_output.c:125
 iptunnel_xmit+0x5cc/0x950 net/ipv4/ip_tunnel_core.c:91
 ip_tunnel_xmit+0xedc/0x33a0 net/ipv4/ip_tunnel.c:799
 sit_tunnel_xmit__ net/ipv6/sit.c:1008 [inline]
 sit_tunnel_xmit+0x1ab/0x2130 net/ipv6/sit.c:1021
 __netdev_start_xmit include/linux/netdevice.h:4051 [inline]
 netdev_start_xmit include/linux/netdevice.h:4060 [inline]
 xmit_one net/core/dev.c:3005 [inline]
 dev_hard_start_xmit+0x188/0x890 net/core/dev.c:3021
 __dev_queue_xmit+0x1d7f/0x2480 net/core/dev.c:3521
 neigh_output include/net/neighbour.h:500 [inline]
 ip_finish_output2+0xba6/0x1340 net/ipv4/ip_output.c:230
 ip_finish_output+0x37c/0xc50 net/ipv4/ip_output.c:318
 NF_HOOK_COND include/linux/netfilter.h:239 [inline]
 ip_output+0x1cd/0x510 net/ipv4/ip_output.c:406
 dst_output include/net/dst.h:470 [inline]
 ip_local_out+0x93/0x170 net/ipv4/ip_output.c:125
 nf_dup_ipv4 net/ipv4/netfilter/nf_dup_ipv4.c:91 [inline]
 nf_dup_ipv4+0x4bb/0x680 net/ipv4/netfilter/nf_dup_ipv4.c:53
 tee_tg4+0x109/0x160 net/netfilter/xt_TEE.c:36
 ipt_do_table+0xa9a/0x16f0 net/ipv4/netfilter/ip_tables.c:353
 iptable_filter_hook+0x172/0x1e0 net/ipv4/netfilter/iptable_filter.c:47
 nf_hook_entry_hookfn include/linux/netfilter.h:108 [inline]
 nf_hook_slow+0xb0/0x1a0 net/netfilter/core.c:467
 nf_hook include/linux/netfilter.h:205 [inline]
 NF_HOOK include/linux/netfilter.h:248 [inline]
 ip_local_deliver+0x28c/0x460 net/ipv4/ip_input.c:257
 dst_input include/net/dst.h:476 [inline]
 ip_rcv_finish+0x6e3/0x19f0 net/ipv4/ip_input.c:396
 NF_HOOK include/linux/netfilter.h:250 [inline]
 ip_rcv+0x8a7/0xf10 net/ipv4/ip_input.c:493
 __netif_receive_skb_core+0x15ee/0x2a30 net/core/dev.c:4474
 __netif_receive_skb+0x27/0x1a0 net/core/dev.c:4512
 process_backlog+0x218/0x6f0 net/core/dev.c:5194
 napi_poll net/core/dev.c:5596 [inline]
 net_rx_action+0x466/0xfd0 net/core/dev.c:5662
 __do_softirq+0x24d/0x9ff kernel/softirq.c:288
 run_ksoftirqd+0x50/0x1a0 kernel/softirq.c:670
 smpboot_thread_fn+0x5c1/0x920 kernel/smpboot.c:164
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 48 c1 ea 03 48 c1 ee 03 0f b6 14 02 0f b6 04 06 4c 89 c6 83 e6 07 40 38 f2 40 0f 9e c6 84 d2 0f 95 c2 40 84 d6 0f 85 cd 07 00 00 <41> 83 e1 07 44 38 c8 0f 9e c2 84 c0 0f 95 c0 84 c2 0f 85 b6 07 
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at pc 0xffffffff872134be

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/28 15:48 linux-4.14.y 670d6552eda8 a8529b82 .config console log report info ci2-linux-4-14 BUG: soft lockup in ip_rcv
* Struck through repros no longer work on HEAD.