Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1275276imm; Fri, 11 May 2018 13:50:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoO/fvpBwgQ2yBoJKc9pFirgVUBFxBSNm8He0jLO+F5J8XLUVlwRSNsqpy8hrsJ+fY6hClo X-Received: by 2002:a17:902:a5c7:: with SMTP id t7-v6mr7000506plq.360.1526071803995; Fri, 11 May 2018 13:50:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526071803; cv=none; d=google.com; s=arc-20160816; b=mJIqI6GJotZtcOQ1YjDJZoASrLJs62yulfZu/nTWBzK23u9YnFDPkRUbhZTeAFf1De nV21uFum847nLu3lWtC5luiXW2QQbNrf5tTUNv8npvxZEahptQ424qXOcbLZRbzbAAu1 70v8Ic0aBbWa9g/D0pDPWxEJJNkLZzZo+5nVVqwf5OwNND5w/Pa105l7vDMW/2AfCmmU 9b7j643oX1wbq+Bw42hnqIg1ZSMJGiJjLr4UMJixMGldB1IhjYyZodL4jMTf0G74M9c7 up8889134T4J++uJsuXMmnPusoVRrs6axJnN6ZSHo0Vbqfr54Q06mDK9LuPhc9zC6ZJw QI7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=TjiHt1NE/H6zVHgZo3PrF8nLjpN0HRS6HS9YnN6kv7s=; b=rhSaFW95z1OWA5qVo8l11HhVzpLnIhGlXt5ATZ4WdBqb4Vwlg1refvU1XTLipgOCD4 ked0oZHukXuqWp3CpvQxqhZfHykyVXk6VRHO/eFnnMm7OgaPvg4gF9PMIvwtdej+hUyC FMvdcxMZ7EwNs42W5Uog9x6Qkwp8fkLeiJ9DzBzpJ4wA1Om/34oLV6NIhQqSOXUOfR0K BTFTTuRZcIarsiVg3+z/qCbNEGcecWTv84f8pi63HGiFUokFI05rcKpGGGeF4Y+l1zRj tTVczj7CFZEYVo27HyJIakMPsNlRfKXr/oJJPc8eFYZHWGKIyZ7/fv/ggOdzYH+UIjz4 Js6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pUdoc1qv; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l30-v6si3896557plg.420.2018.05.11.13.49.48; Fri, 11 May 2018 13:50: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=@gmail.com header.s=20161025 header.b=pUdoc1qv; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751664AbeEKUsN (ORCPT + 99 others); Fri, 11 May 2018 16:48:13 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:46287 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980AbeEKUsM (ORCPT ); Fri, 11 May 2018 16:48:12 -0400 Received: by mail-qk0-f193.google.com with SMTP id s70-v6so5416330qks.13; Fri, 11 May 2018 13:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TjiHt1NE/H6zVHgZo3PrF8nLjpN0HRS6HS9YnN6kv7s=; b=pUdoc1qv+//ZGKNAIXFfAnTcpWFF9Cztq0tnbgOnxnWt5p9gYD0wpCXKypyGD5TYHv +X6HhcpebQarSm1Z5xoOPxdzQbL9eyhBlJgcoFhPUVNu6fGTVgaCR7qpUPGkM7VfM2Wo KxSbPIjo7RaDHDDnpEXjZfuMafobfQi3Yobj4RYr+lEQO7D0f8r022F3rAUagnq5kFst Ddx8aXNY05Z5753A9BXpIxttQrrA26OhgppP6bT8JlkYizmRA66NKDiydr2bkwMJP1Zw varmzZrQZW+Vz2CgTSsgnbzaH7l9djK6wSDACQ+dlEAnSGuhWrzWQURIO3zxm92/8xUB PcQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=TjiHt1NE/H6zVHgZo3PrF8nLjpN0HRS6HS9YnN6kv7s=; b=PJQYQXOMugszG9lI703Yk/mf/tU9lNMHLauUcJTBZBKtpxH60hsFace/0XMSnI9d1B nPti+S5QGxyS0RbT2VFlILjI3biYJqlimTXnLPWqz0OvtSnqh15AAcqIEALaXkOJ7dTb nKifrUHmqnHumlSN1Ma5R7FkjHo7O9XLlX3JfzFDYcWmB3E8TM30XEToh41r32G6mVFZ Quo4q9C9TvtlGnquOyUldI6X/GedvTpe4Z99IClC+wLJtxc1pl4C+fagASuX6jrHfh/2 PFwDh16hgaWRVwRUhecwaIOcUqlAl+6pim0+MZcbD59ZNfzcAwDKtg5HJaWWFtsWSE08 uegA== X-Gm-Message-State: ALKqPwcHNRG66+Rsit0xApYiiTVqYmP5ZrcXAE9IMnQ0K2d7rAcDt+Kp fBEBYpOxxW913pVuj/2UHAc= X-Received: by 2002:a37:1a59:: with SMTP id a86-v6mr6529219qka.426.1526071353426; Fri, 11 May 2018 13:42:33 -0700 (PDT) Received: from localhost.localdomain ([45.4.239.227]) by smtp.gmail.com with ESMTPSA id s16-v6sm3296930qks.78.2018.05.11.13.42.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 May 2018 13:42:32 -0700 (PDT) Received: by localhost.localdomain (Postfix, from userid 1000) id 7CD3A180C3B; Fri, 11 May 2018 17:42:28 -0300 (-03) Date: Fri, 11 May 2018 17:42:28 -0300 From: Marcelo Ricardo Leitner To: Eric Dumazet Cc: Dmitry Vyukov , syzbot , Vladislav Yasevich , Neil Horman , linux-sctp@vger.kernel.org, Andrei Vagin , David Miller , Kirill Tkhai , LKML , netdev , syzkaller-bugs Subject: Re: INFO: rcu detected stall in kfree_skbmem Message-ID: <20180511204228.GO4977@localhost.localdomain> References: <000000000000a9b0e3056b14bfb2@google.com> <20180511184141.GW5105@localhost.localdomain> <683d1ead-d35b-27ee-0f0c-f7e815d989fc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <683d1ead-d35b-27ee-0f0c-f7e815d989fc@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) 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 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? Marcelo