Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3220458imm; Sun, 13 May 2018 06:53:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpEsv3Lb6OoADsRgm/5XTc+A3yvVt7kstG4VqsrCbtfxX1zpFb32PFFckuNAUf0re1E2oBL X-Received: by 2002:a63:b907:: with SMTP id z7-v6mr5506223pge.9.1526219583840; Sun, 13 May 2018 06:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526219583; cv=none; d=google.com; s=arc-20160816; b=VhSXTWU/oE62f5Qko8mokrNy/X2HSrILDGwuletEYp3WdjTvK1mbzh4PW0Y/krLuTS vsdMrh5DGIsrtPnxA6k0svd0eDMo1X7+UC7awCafxTY0wjSFkqaJESK/Sjk+JrFmW9FV GrnAM8h3jUqScybmJ9RLOnxNMeHv7Nk1QCsLxLkaxrFXdLntYGrNI+SHFpdofW+0awpS okazz3HHLGvW02k6t//Hny5GJhLUqPIx+czLMJj4E2IfhgNJAvflOdxIh8ChS3rVHvZF bbvntfLKLJ9fHIpuhtrhFIVoxG3Sh83xS4HiRv7yOFNVdeok7S1nC9pDqZe+0VsTIb44 OGFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=ar3hQUAxZfz8JPYqU24d+S5jRkye7tq1+ZovYi1slhw=; b=GIjAMDd7UU4icbgthGKgeMYDqMz8ezNmuaGMaIhQ3B1dXibd5GnOJzxqL2d0tm+x8a yhzY3sehoqfig+UWdxv0ebDDmx3FBg0pVuoS7f4XVDYPthzv489kOSiu/uA7K+Vinnbt /hnAthijVtBJJ9hoQccQ769YiY4aVx0I/GeFG7pTbo2NZDmmPyq3SfCnzZANKFIX5TvD 0UJdLHfuLHzxnU5df60ifDTxsNxcUIM1pMcyPo1P3A5ePATeqp2b/jnJ+B66oItf2eVR tq7JAmfggX/qeaH7LeMtajhSa/NmQzkd6o/prWtnFeKjaiVObc1N1E8W3GhOTsKlFpWJ q6wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=cbHQLvNY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 202-v6si7835046pfx.61.2018.05.13.06.52.34; Sun, 13 May 2018 06:53:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=cbHQLvNY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751805AbeEMNwZ (ORCPT + 99 others); Sun, 13 May 2018 09:52:25 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:40202 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbeEMNwX (ORCPT ); Sun, 13 May 2018 09:52:23 -0400 Received: by mail-pl0-f66.google.com with SMTP id t12-v6so5870251plo.7 for ; Sun, 13 May 2018 06:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ar3hQUAxZfz8JPYqU24d+S5jRkye7tq1+ZovYi1slhw=; b=cbHQLvNYh2X+Eo8gW3U6qDG/4Uu/QpdiinQBG5y/LVOc2ooESxfi5cpYJ5Ijk1NjI8 IjrDsZAE+FK/OPpKtuKJxskpB43FPbFE2wjmB/6iBfnxIDe1sCMTrhVvWbpjixqEgS8h NZAvR47ssf+9Ec4Ro75U7Ub2aKk04RoSiw3MLf0ja/VWsyJvMUgPw04auzdJdJW/pSBA QKZyIFtNgQPEDmRugkyuChgKfnIdf/LjFZKF32toeeKaqS0vM/j0XQOhIKBDWgjcyM1c DohX06VTgS5CdmxzIw5FwGvQHZdkD+poAVbNCa9qbljxSDTMyuLP/wNvyiP9PU12p6Lf h3gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ar3hQUAxZfz8JPYqU24d+S5jRkye7tq1+ZovYi1slhw=; b=IvhO7NLHkJLxFjb1ka8KKMex3t+x3F8xP826jPEppg67XpmdWmrjBKgpf57eslPyL+ DBSuu1Pe4LPuEaQBHtrpGi6xj8pi/NDFTq0kt9ovy7gHvxNuZtOQaSMKEozI6Ajr+5sr /3iZlkbpE0vTVs3K2My4q5BuYDNUm7JaBuAOVnox7W2zsaHNIgZxBwT6qxWSr72+u1ej 5rrA+OFV2uh9tXs/sBCjshmUcEy3wX+lNfKFkP/1udgJy07yooe7u95yE2A8NHzQs66i vLK1s6px0GinRrLSVlTHk67MuaJIMrn45Ti0ALklakHu13/smmA0ZHsoEyMqTQKikQz0 VnIQ== X-Gm-Message-State: ALKqPwd7Bq7XNJ47r6fdVCZi4En3OiEYZlkF5NCKrrFVpfC/LPJZhYvz pWkxVbmdLzVNhM5F12U+qWf3A4Jb0/wksVyb5e7P5A== X-Received: by 2002:a17:902:2a43:: with SMTP id i61-v6mr6188733plb.54.1526219542399; Sun, 13 May 2018 06:52:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:9518:0:0:0:0 with HTTP; Sun, 13 May 2018 06:52:01 -0700 (PDT) In-Reply-To: <20180511204228.GO4977@localhost.localdomain> References: <000000000000a9b0e3056b14bfb2@google.com> <20180511184141.GW5105@localhost.localdomain> <683d1ead-d35b-27ee-0f0c-f7e815d989fc@gmail.com> <20180511204228.GO4977@localhost.localdomain> From: Dmitry Vyukov Date: Sun, 13 May 2018 15:52:01 +0200 Message-ID: Subject: Re: INFO: rcu detected stall in kfree_skbmem To: Marcelo Ricardo Leitner Cc: Eric Dumazet , syzbot , Vladislav Yasevich , Neil Horman , linux-sctp@vger.kernel.org, Andrei Vagin , David Miller , Kirill Tkhai , LKML , netdev , syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 11, 2018 at 10:42 PM, Marcelo Ricardo Leitner wrote: > On Fri, May 11, 2018 at 12:08:33PM -0700, Eric Dumazet wrote: >> >> >> On 05/11/2018 11:41 AM, Marcelo Ricardo Leitner wrote: >> >> > But calling ip6_xmit with rcu_read_lock is expected. tcp stack also >> > does it. >> > Thus I think this is more of an issue with IPv6 stack. If a host has >> > an extensive ip6tables ruleset, it probably generates this more >> > easily. >> > >> >>> sctp_v6_xmit+0x4a5/0x6b0 net/sctp/ipv6.c:225 >> >>> sctp_packet_transmit+0x26f6/0x3ba0 net/sctp/output.c:650 >> >>> sctp_outq_flush+0x1373/0x4370 net/sctp/outqueue.c:1197 >> >>> sctp_outq_uncork+0x6a/0x80 net/sctp/outqueue.c:776 >> >>> sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1820 [inline] >> >>> sctp_side_effects net/sctp/sm_sideeffect.c:1220 [inline] >> >>> sctp_do_sm+0x596/0x7160 net/sctp/sm_sideeffect.c:1191 >> >>> sctp_generate_heartbeat_event+0x218/0x450 net/sctp/sm_sideeffect.c:406 >> >>> call_timer_fn+0x230/0x940 kernel/time/timer.c:1326 >> >>> expire_timers kernel/time/timer.c:1363 [inline] >> > >> > Having this call from a timer means it wasn't processing sctp stack >> > for too long. >> > >> >> I feel the problem is that this part is looping, in some infinite loop. >> >> I have seen this stack traces in other reports. > > Checked mail history now, seems at least two other reports on RCU > stalls had sctp_generate_heartbeat_event involved. > >> >> Maybe some kind of list corruption. > > Could be. > Do we know if it generated a flood of packets? We only know what's in the bug reports. Do the other ones have reproducers? It can make sense to mark them as duplicates to not have a placer of open bugs about the same root cause.