Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5334885rwl; Sun, 8 Jan 2023 13:07:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXu6YlfRzvwvNsTlCeF3YHziuOhxSdJ6E7UwA+31BY4wg3mGXYRJ+MWy23tBAtCcERixjE4K X-Received: by 2002:a17:903:40c4:b0:193:197e:494f with SMTP id t4-20020a17090340c400b00193197e494fmr7535597pld.27.1673212029969; Sun, 08 Jan 2023 13:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673212029; cv=none; d=google.com; s=arc-20160816; b=Nu26XJDYnZABqmpyBPWd5SVhCHeH+5aZCI3NMRyaz1Vhl2pis0JgN0QRnyNpzTlJgG IZeSI/he6VVGL4OpiknwcpmszPlpgLLREajQEXOW4Eju0K/wD1Q+7q8NZ13sgJ/BKOAd GgAKtfM/X+t5BjDMig9f5x4TsdoCR1yNIb6B7cKvqq5ApALpf58UGbRY0TuXdeedchZh 6Z+GEZVKSlu5capQHOgVQudCcwG2Eioma0226VJAdxAP57nt5npGI4cp7jLn91k3bbCJ gv9e3pJW+RJbZA8OKAkqKpR9hfl41H6g4DX5MaY+omn4mdRGHoAaqzu1qEYLSTGWsJLc VlXQ== 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:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=QAh3yKy7Pvc0QHEbX/SCDTnRApY4Qv7SmRkdx/WuYCY=; b=vsSDLNG72T5dvRERm7zuglRu3C6SBWN1PxoYsQVmuyyM/nqr3c23JXP9YlJbdjmy1+ 7gcksE22KCd7JobGH+qOVRB9p4z2pFdl6HVvzBAdzCYPAI2dcDr988+sPgfQks6P8OxW txv3fhU/s72ksZ2B2IHL07n4sQlj22mso1lJnLuECv8incLxDt8X/PBkCFyctG5naoc8 FNd44ash8MQ1rgYIadw3s3FxOVuR8AGy+wqZR9lxDyKodqMeDYCb7SNkuNGdIbcGSZpj mQxRsLOvOy6aJUS57qLa6lZRZMo5sl+5rnTg/U5nw/sAOuozz/RPMM1bBtSHtuDHMO31 CRyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 w4-20020a170902e88400b001890b070acesi8720630plg.38.2023.01.08.13.07.01; Sun, 08 Jan 2023 13:07:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233071AbjAHU66 (ORCPT + 65 others); Sun, 8 Jan 2023 15:58:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231402AbjAHU64 (ORCPT ); Sun, 8 Jan 2023 15:58:56 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 387FFA191 for ; Sun, 8 Jan 2023 12:58:55 -0800 (PST) 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 1pEckl-0001i9-92; Sun, 08 Jan 2023 21:58:51 +0100 Message-ID: Date: Sun, 8 Jan 2023 21:58:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: Commit b320d6c4 broke mt76 Content-Language: en-US, de-DE To: "Alexander E. Patrakov" , Benjamin Berg Cc: Johannes Berg , Felix Fietkau , linux-wireless@vger.kernel.org, "regressions@lists.linux.dev" References: From: "Linux kernel regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1673211535;5f3b4acf; X-HE-SMSGID: 1pEckl-0001i9-92 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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-wireless@vger.kernel.org [CCing the regression list, as it should be in the loop for regressions: https://docs.kernel.org/admin-guide/reporting-regressions.html] On 08.01.23 20:46, Alexander E. Patrakov wrote: > Hello Benjamin, > > I have this hardware, which is supported by the mt76x2e driver: > > 04:00.0 Network controller [0280]: MEDIATEK Corp. MT7612E 802.11acbgn > PCI Express Wireless Network Adapter [14c3:7612] > > Since Linux 6.1, the mt76 driver panics the kernel due to null > dereference shortly after authenticating to the AP, as follows: Thx for your report. > [...] > > On Reddit, there is a similar thread with a USB adapter: > https://www.reddit.com/r/archlinux/comments/zufy3n/linuxzen_611zen11_crashes_while_trying_to_use_usb/ > > I have checked with the nearly latest git revisions of both the kernel > (9b43a525db125799df81e6fbef712a2ae50bfc5d) and the mt76 driver from > https://github.com/openwrt/mt76 (679254c). The issue still exists. > > I have bisected this, and the first bad commit is yours: > > b320d6c456ff2aa43491654407d448bcfa58ac9f is the first bad commit > commit b320d6c456ff2aa43491654407d448bcfa58ac9f > Author: Benjamin Berg > Date: Fri Sep 2 16:12:40 2022 +0200 Not my area of expertise, but I guess it's fixed by this patch: https://lore.kernel.org/all/20221230200747.19040-1-nbd@nbd.name/ Earlier reports: https://lore.kernel.org/linux-wireless/CAFktD2fRnSbNgWRRoGbQzG5_Mw7=zFJKTVBHS_3D+mNUYcv9hQ@mail.gmail.com/ https://bugzilla.kernel.org/show_bug.cgi?id=216839 https://bugzilla.kernel.org/show_bug.cgi?id=216844 Hopefully everyone is back from vacation tomorrow so that we can finally get this fixed in mainline soon. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.