Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1191597imi; Fri, 1 Jul 2022 05:07:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tZF8DLtOXlNjH7YBCixMiViVKBABtu4gXxJfepMyT+CLMNKxmKR+zWZ5bNABHhXbl3ba/z X-Received: by 2002:a17:90b:35ce:b0:1ec:b764:36ce with SMTP id nb14-20020a17090b35ce00b001ecb76436cemr18008075pjb.143.1656677265680; Fri, 01 Jul 2022 05:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656677265; cv=none; d=google.com; s=arc-20160816; b=mFb7cQoS0qAXke6ywTM9pE3iI8XZ9dUnSMM9LA98komsgxU0yteDGimGplBqAJhfbR 3rs3mONuEIsq3N84re6Z1BqbCfofAM8iybC05CK2nK0KriiKSHoufl+cK0LSOQ2bG+Xv vbHt28enBotUQopdKRiW4bfcQ0fWX9ZQPAcKDVAorOFhhqECzZrFSpEyjlPxI5H7PjLQ PXSwJfICC0M4qpyFga1ACMMHz0gNLLxBjCTTb6Zwe42rttWNI8X695E8YGPMLwt3JH9D Ou3gN2+jiXfgi2Jen38XnwKEqOF1vvOhhUF4QUAk8YXO8gRdHoP2Tk68dKn6a8GJRwG8 uh+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id; bh=bZevObodAa8/cNDO53An17BFK1zTOo592KCFuTx3JWg=; b=S04jA6qc0Ae69AZtTGZ2bBjqaF8oEwQ0KsGG0zE4ajS5J9yDo3alTAU0uTn4kWtk0x C5vnh4A2SlNNlnlT34tl1RZBc/Tdh8agcIWKUIHGCgXsefnr+rub/m+YtDzMCet4WsDC Kkfkpzk+YcRfw+Dm56hFIwNeRZZQ+5hTNegPBqJdDIJQfaQcTLtEV8mlVHxqeZGnxdYx NPE6q+QiRq3U578xBmk1BLVlDrrJ5lr/5kbO5iwQVxY3ldsmVTw1qbZWUNpw5MOwaYtZ nLeSMqfHFMjheMXssYwZZSTM8tkg0TMzEUdo8fJHDt9BJ/2YNhPaBJh6JmZnP8Utbwsz U78g== 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 nl17-20020a17090b385100b001ecd30c59c1si4811671pjb.46.2022.07.01.05.07.32; Fri, 01 Jul 2022 05:07:45 -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 S235562AbiGALmm (ORCPT + 99 others); Fri, 1 Jul 2022 07:42:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231351AbiGALmk (ORCPT ); Fri, 1 Jul 2022 07:42:40 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E221823B3; Fri, 1 Jul 2022 04:42:32 -0700 (PDT) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1o7F2b-0005HB-Ml; Fri, 01 Jul 2022 13:42:29 +0200 Message-ID: Date: Fri, 1 Jul 2022 13:42:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: en-US To: regressions@lists.linux.dev, kajetan.puchalski@arm.com Cc: netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org References: From: Thorsten Leemhuis Subject: Re: [Regression] stress-ng udp-flood causes kernel panic on Ampere Altra #forregzbot In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1656675752;a7962714; X-HE-SMSGID: 1o7F2b-0005HB-Ml X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,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 [TLDR: I'm adding this regression report to the list of tracked regressions; all text from me you find below is based on a few templates paragraphs you might have encountered already already in similar form.] TWIMC: this mail is primarily send for documentation purposes and for regzbot, my Linux kernel regression tracking bot. These mails usually contain '#forregzbot' in the subject, to make them easy to spot and filter. Hi, this is your Linux kernel regression tracker. On 01.07.22 13:11, Kajetan Puchalski wrote: > Hi, > > 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. > > Through bisecting I've traced the issue back to mainline commit > 719774377622bc4025d2a74f551b5dc2158c6c30 (netfilter: conntrack: convert to refcount_t api), > on kernels from before this commit the test runs fine. As far as I can tell, this commit was > included in stable with version 5.15.41, thus causing the regression > compared to 5.15.40. It was included in the mainline with version 5.16. FWIW, looks like it was merged for v5.17-rc1 $ git describe --contains --tags 719774377622bc4025 v5.17-rc1~170^2~24^2~19 > The issue is very consistently reproducible as well, running this > command resulted in the same kernel panic every time I tried it on > different kernels from after the change in question was merged. > > stress-ng --udp-flood 0 -t 1m --metrics-brief --perf > > The commit was not easily revertible so I can't say whether reverting it > on the latest mainline would fix the problem or not. > > [...] > > The distirbution is Ubuntu 20.04.3 LTS, the architecture is aarch64. > > Please let me know if I can provide any more details or try any more > tests. Thanks for the report. To be sure below issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, my Linux kernel regression tracking bot: #regzbot ^introduced 719774377622bc402 #regzbot title net: netfilter: stress-ng udp-flood causes kernel panic on Ampere Altra This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply -- ideally with also telling regzbot about it, as explained here: https://linux-regtracking.leemhuis.info/tracked-regression/ Reminder for developers: When fixing the issue, add 'Link:' tags pointing to the report (the mail this one replies to), as explained for in the Linux kernel's documentation; above webpage explains why this is important for tracked regressions. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight.