Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp230304imn; Fri, 1 Jul 2022 13:51:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vNrBUC3FEjA1jfPXoGdLX19Pp/KvwM3l9kfUOri2cq+GBGjWqXbsandGM3rmjJMycphno/ X-Received: by 2002:a17:907:30cb:b0:722:e898:c9c8 with SMTP id vl11-20020a17090730cb00b00722e898c9c8mr16560833ejb.465.1656708704756; Fri, 01 Jul 2022 13:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656708704; cv=none; d=google.com; s=arc-20160816; b=Z4kaPj/9skFoOyvBgNp/hqIXWMeRV+xL/sA7wAt9ULMQjA7mIOLkbUd/wiS1BpkOk1 p9urBwq+3rtkjKaAtDqMk//Blzw5JWSduXAwSSaIg5hNPNa8UBOX43XPfITu7ERDMAh+ UYGxwPxKUouEkeW8iEcQeWNPVDqtxya/K+MmtwU7RK46zZ+frqCt9H8w11kepA8/fpZI QIl4gJOTnp/8OOC/s6uV/M7Nz6ki3Y2Ti1TWk44FjoSDQ1i+YE8QU+9vT+U8JBEHlbsa 02jU+XIcBAiB60RFsDf4H6jI/vOa+6XAsL4Sg8MQHM4MBJbRXscIfXHad7IZJmq7QlFg NqKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FxksPPwnUTgnJmHdQOY0Tc6XB/F/awH3U/wARJ+fhWA=; b=x3/l6zJC6pJsQ0Ki5NitO6t0/bbGagKm5P0F2CLfXzctl8kR0LSdRebBfiu925iBH7 Nz1zE/uJMNcCHDHCN3AbI6MyQtvdmAqVerjigUkzrVEKgYONnfCVyBXYetjc5TVRbQdD Uav/QXKlCiDJnbCWAw+lTrVMXdcMvA8YO0IPJmfvRk3qSrAe3FlPXrUEPM83mJNGiWUt 19xDktP0omPwyz9k5fB4YxlrqYpj0VUmYEKufnltm6xp9Wzpz0wbCsF20kQyxRsQGqYe nRHTulivUOS4hA6RKDTEWY/WQGZmzZTTcJekq16AAZ8x5DPPvNldH0ixZ13PgPlkXo3g nQNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd38-20020a17090762a600b006ff8cd702e8si2875318ejc.29.2022.07.01.13.51.18; Fri, 01 Jul 2022 13:51:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230229AbiGAUBc (ORCPT + 99 others); Fri, 1 Jul 2022 16:01:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231892AbiGAUB3 (ORCPT ); Fri, 1 Jul 2022 16:01:29 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EABA44D165; Fri, 1 Jul 2022 13:01:26 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1o7MpC-00040v-4C; Fri, 01 Jul 2022 22:01:10 +0200 Date: Fri, 1 Jul 2022 22:01:10 +0200 From: Florian Westphal To: Kajetan Puchalski Cc: Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Mel Gorman , lukasz.luba@arm.com, dietmar.eggemann@arm.com, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, stable@vger.kernel.org, regressions@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [Regression] stress-ng udp-flood causes kernel panic on Ampere Altra Message-ID: <20220701200110.GA15144@breakpoint.cc> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kajetan Puchalski wrote: > While running the udp-flood test from stress-ng on Ampere Altra (Mt. > Jade platform) I encountered a kernel panic caused by NULL pointer > dereference within nf_conntrack. > > The issue is present in the latest mainline (5.19-rc4), latest stable > (5.18.8), as well as multiple older stable versions. The last working > stable version I found was 5.15.40. Do I need a special setup for conntrack? No crashes after more than one hour of stress-ng on 1. 4 core amd64 Fedora 5.17 kernel 2. 16 core amd64, linux stable 5.17.15 3. 12 core intel, Fedora 5.18 kernel 4. 3 core aarch64 vm, 5.18.7-200.fc36.aarch64 I used standard firewalld ruleset for all of these and manually tuned conntrack settings to make sure the early evict path (as per backtrace) gets exercised.