From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752072AbeEKTIx (ORCPT ); Fri, 11 May 2018 15:08:53 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:45877 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752022AbeEKTIg (ORCPT ); Fri, 11 May 2018 15:08:36 -0400 X-Google-Smtp-Source: AB8JxZrMFFAVfpk/xNVKN4vzOyyjG6MZT5SP1n2dJJdRgLfsyq1wJtjdhY/eq0AwYxfUqgXR1E/vvg== Subject: Re: INFO: rcu detected stall in kfree_skbmem To: Marcelo Ricardo Leitner , Dmitry Vyukov Cc: syzbot , Vladislav Yasevich , Neil Horman , linux-sctp@vger.kernel.org, Andrei Vagin , David Miller , Kirill Tkhai , LKML , netdev , syzkaller-bugs References: <000000000000a9b0e3056b14bfb2@google.com> <20180511184141.GW5105@localhost.localdomain> From: Eric Dumazet Message-ID: <683d1ead-d35b-27ee-0f0c-f7e815d989fc@gmail.com> Date: Fri, 11 May 2018 12:08:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180511184141.GW5105@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Maybe some kind of list corruption.