Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp524431ybh; Wed, 15 Jul 2020 08:14:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7n2j0pSP1a/pPu3fJLyFx1iLGl9T44ihQoSPXmbo6jpJU/1JB8Onhsfsmsq1U27FPvKmn X-Received: by 2002:a05:6402:359:: with SMTP id r25mr70507edw.177.1594826042664; Wed, 15 Jul 2020 08:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594826042; cv=none; d=google.com; s=arc-20160816; b=OpeE5oBKyG2WZNTVsQQk6GG31IN6pI19VSrlQ2aRTRoXqEnBPzVXrDQbMgxrmLwD4L twYxIrhpLN6czcA5pbT1Z2e7IlrBT0Ltr+MJ5pjXv7iy9Jt8GqLF9AHZy7x2SUAVj99c 2Mpobm3xxBnwm5QRxbnVfbj4u4sHJgBMVp49VXWxAsj2HVcxAfvUEjRZZ6JiR5b17oHx CbLFXHnpFLIDaAoK6w22HcZAeI05JrRxL9ZLrCUE/7PpQLr5yFQirvvYmDKKIPEc/w8E A4lMLPNqLNoFyNk/At2o0f62o8rjlKNC4GAs5G5kEOi2eU0fN9lCOUwdbsAJ4aasdyiB /udg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dmarc-filter:dkim-signature; bh=SSjNXt42DQxpNXXA7N1+wh/xYOkbNXGPf32vrswsm9M=; b=IsZaMm4JngRmlhTofr1fj8ta2I7C2RjAb5t5cv4MDxkmBBN9/lZv6dB2TLUSshCAJb RDBnUvMSdZimmTdlkBZ9SkoyMwME/uoC3xCyx7iWTl4dqndgz3aKJuliYLEVZ26QXybg CLnLDn30uDg20sf4MVpCmlLBPKMvCT/J85O1/RfIPVmSyf3w/OxsYY/uIbmJ4st8wAFs o6eWRmUP67d3oJkjmPGrr/qVXocsaovy/5lff3iP5X3wAu+0pqR4Ro+f89QAGiTTEbbV fXJYnONqdCSFF3mWN5OA/U4XbFpmxlXHTGnBttK4AEdmWsqOHRoyIFlLSviKkYgrFisY ckJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=gl5bB9+M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p13si1447438ejd.637.2020.07.15.08.13.38; Wed, 15 Jul 2020 08:14:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=gl5bB9+M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725835AbgGOPNh (ORCPT + 99 others); Wed, 15 Jul 2020 11:13:37 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:11929 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbgGOPNg (ORCPT ); Wed, 15 Jul 2020 11:13:36 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1594826014; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=SSjNXt42DQxpNXXA7N1+wh/xYOkbNXGPf32vrswsm9M=; b=gl5bB9+MCdIyLbHQ1mLkxPUsSR+mPKq+esIEeqpzhb3tSs8DN5vaGOWoLHcPV9tzxe04i94z ItpoWAxULysOmjOEVE7ZUlWDz6KC9widRS9kKRhDDh431zsyYBfB1buwA2yWZUa9lmtuw3/y PJN54FSg89VcTGEghpfWFnkxOpE= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 5f0f1d0df9ca681bd099b737 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 15 Jul 2020 15:13:17 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 19850C433AD; Wed, 15 Jul 2020 15:13:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from tynnyri.adurom.net (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 78FF5C433C6; Wed, 15 Jul 2020 15:13:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 78FF5C433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Viktor =?utf-8?B?SsOkZ2Vyc2vDvHBwZXI=?= Cc: Greg Kroah-Hartman , Gabriel C , Jiri Slaby , LKML , Andrew Morton , Linus Torvalds , stable , lwn@lwn.net, angrypenguinpoland@gmail.com, Qiujun Huang , ath9k-devel , "linux-wireless\@vger.kernel.org" Subject: Re: ath9k broken [was: Linux 5.7.3] References: <1592410366125160@kroah.com> <20200626133959.GA4024297@kroah.com> <20200707141100.GE4064836@kroah.com> <07c8d8fa-8bbc-0b4e-191c-b2635214e8b9@freenet.de> Date: Wed, 15 Jul 2020 18:13:08 +0300 In-Reply-To: <07c8d8fa-8bbc-0b4e-191c-b2635214e8b9@freenet.de> ("Viktor \=\?utf-8\?Q\?J\=C3\=A4gersk\=C3\=BCpper\=22's\?\= message of "Tue, 7 Jul 2020 22:20:41 +0200") Message-ID: <87ft9sbym3.fsf@tynnyri.adurom.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Viktor J=C3=A4gersk=C3=BCpper writes: > Greg Kroah-Hartman wrote: >> On Fri, Jun 26, 2020 at 04:40:18PM +0200, Gabriel C wrote: >>> Am Fr., 26. Juni 2020 um 15:51 Uhr schrieb Gabriel C >>> : >>>> >>>> Am Fr., 26. Juni 2020 um 15:40 Uhr schrieb Greg Kroah-Hartman >>>> : >>>>> >>>>> On Fri, Jun 26, 2020 at 01:48:59PM +0200, Gabriel C wrote: >>>>>> Am Do., 25. Juni 2020 um 12:52 Uhr schrieb Gabriel C >>>>>> : >>>>>>> >>>>>>> Am Do., 25. Juni 2020 um 12:48 Uhr schrieb Gabriel C >>>>>>> : >>>>>>>> >>>>>>>> Am Do., 25. Juni 2020 um 06:57 Uhr schrieb Jiri Slaby : >>>>>>>>> >>>>>>>>> On 25. 06. 20, 0:05, Gabriel C wrote: >>>>>>>>>> Am Mi., 17. Juni 2020 um 18:13 Uhr schrieb Greg Kroah-Hartman >>>>>>>>>> : >>>>>>>>>>> >>>>>>>>>>> I'm announcing the release of the 5.7.3 kernel. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Hello Greg, >>>>>>>>>> >>>>>>>>>>> Qiujun Huang (5): >>>>>>>>>>> ath9k: Fix use-after-free Read in htc_connect_service >>>>>>>>>>> ath9k: Fix use-after-free Read in ath9k_wmi_ctrl_rx >>>>>>>>>>> ath9k: Fix use-after-free Write in ath9k_htc_rx_msg >>>>>>>>>>> ath9x: Fix stack-out-of-bounds Write in ath9k_hif_usb_rx_= cb >>>>>>>>>>> ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> We got a report on IRC about 5.7.3+ breaking a USB ath9k Wifi Do= ngle, >>>>>>>>>> while working fine on <5.7.3. >>>>>>>>>> >>>>>>>>>> I don't have myself such HW, and the reported doesn't have any e= xperience >>>>>>>>>> in bisecting the kernel, so we build kernels, each with one of t= he >>>>>>>>>> above commits reverted, >>>>>>>>>> to find the bad commit. >>>>>>>>>> >>>>>>>>>> The winner is: >>>>>>>>>> >>>>>>>>>> commit 6602f080cb28745259e2fab1a4cf55eeb5894f93 >>>>>>>>>> Author: Qiujun Huang >>>>>>>>>> Date: Sat Apr 4 12:18:38 2020 +0800 >>>>>>>>>> >>>>>>>>>> ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb >>>>>>>>>> >>>>>>>>>> commit 2bbcaaee1fcbd83272e29f31e2bb7e70d8c49e05 upstream. >>>>>>>>>> ... >>>>>>>>>> >>>>>>>>>> Reverting this one fixed his problem. >>>>>>>>> >>>>>>>>> Obvious question: is 5.8-rc1 (containing the commit) broken too? >>>>>>>> >>>>>>>> Yes, it does, just checked. >>>>>>>> >>>>>>>> git tag --contains 2bbcaaee1fcbd83272e29f31e2bb7e70d8c49e05 >>>>>>>> v5.8-rc1 >>>>>>>> v5.8-rc2 >>>>>>>> >>>>>>> >>>>>>> Sorry, I read the wrong, I just woke up. >>>>>>> >>>>>>> We didn't test 5.8-rc{1,2} yet but we will today and let you know. >>>>>>> >>>>>> >>>>>> We tested 5.8-rc2 and it is broken too. >>>>>> >>>>>> The exact HW name is: >>>>>> >>>>>> TP-link tl-wn722n (Atheros AR9271 chip) >>>>> >>>>> Great! >>>>> >>>>> Can you work with the developers to fix this in Linus's tree first? >>>> >>>> I'm the man in the middle, but sure we will try patches or any suggest= ions >>>> from developers to identify and fix the problem. >>>> >>>>> >>>>> I bet they want to see the output of 'lsusb -v' for this device to see >>>>> if the endpoint calculations are correct... >>>>> >>>> >>>> Working on it. As soon the reporter gives me the output, I will post i= t here. >>>> I've told him to run it on a broken and one working kernel. >>> >>> That is from a good kernel with reverted commit >>> https://gist.github.com/AngryPenguinPL/07c8e2abd3b103eaf8978a39ad8577d1 >>> >>> That is from the broken kernel without the commit reverted >>> https://gist.github.com/AngryPenguinPL/5cdc0dd16ce5e59ff3c32c048e2f5111 >>> >>> This is from 5.7.5 kernel, I don't have yet a 5.8-rc2 package with the >>> reverted commit. >>=20 >> Did this ever get resolved? >>=20 >> thanks, >>=20 >> greg k-h >>=20 > > This bug was also reported on the thread where it had been posted origina= lly: > https://lore.kernel.org/linux-wireless/20200621020428.6417d6fb@natsu/ > > I am waiting for Kalle Valo to accept my patch (v2) which reverts the abo= ve > mentioned commit and which looks correct according to him. He wrote that = he > would take a closer look at this as soon as he could. Mark posted a patch which I'm hoping to fix the issue: [1/1] ath9k: Fix regression with Atheros 9271 https://patchwork.kernel.org/patch/11657669/ Can someone confirm this, please? I would rather take Mark's fix than the revert. --=20 https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes