Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1340430ybt; Thu, 25 Jun 2020 03:49:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKzI3v1xezPzm3M5cwD6yWKxoibg0vvktTYZFXdZHU2MjxtyTjBHWsU63QEKrglXrsniKq X-Received: by 2002:a17:906:851:: with SMTP id f17mr27631345ejd.396.1593082183515; Thu, 25 Jun 2020 03:49:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593082183; cv=none; d=google.com; s=arc-20160816; b=aXtFyXoCkKy++z99FEaLNemnvJ7huE3ugZ209sT/b8TW+PjQ4TtA61oRlyQ+K4wm7f L7wBOV/pCySzXJDHEMqSzsyVILNztZqeD0NJdr/Mv63I4kWjBz+xmh/XgSvKIhC/b/SE 251ZTSRUAevj0gUPR2KFQBSb1dgJblvNVKDga4UBTD5vmny8XwJrqlR+0tR+lAp6fXU6 SO8+OxfIlwlyEXZcKIxX7/y/g/O3aduxhBXtv0UEkDxIW4CCqx+JhIgqDVPBLknReZij JKcirlu62+Z4cYNtNEqR0VezM7xLC2rZQ/PO6mFGwY9n7aQb5XOw/+uVh+XxFC01AuIz BfPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ogZcy9cOrOsNSfio7x0qys7hDFYRAcov2/q+DXfsFdA=; b=hYymzamdF4p7p1shgpa9fIL2GtuiNMXZEnoB1v0CCs3etH3CQVupUTu9tk3a/yoj3G TGLes6412RHWD8dYkKeKdMHZyFJH+lBAzzpUkOOkO5c08Up74npsjRPPiHVamyZi9l8V h2IXRGtVqUI5LMJbZ8Bdif1WlHBnYPrr4jtr01/I+Dg+nERaekxSeMDkPFGT+/tRIcvf 2IWxb2SIdtcbMItVsFFvyaECzM9YiKcN208YEB/r92l+g3afthMPeqxaWOU6AxSN/tHq 14oK8hkvfbAdsY1fdBCjeCfZGpxj57cHFf1zuybiCjwKNqN4fjC7FHe6jTzjKdEXrCfl MpPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=jHPCgI5B; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n8si14524726ejj.317.2020.06.25.03.49.18; Thu, 25 Jun 2020 03:49:43 -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=pass header.i=@googlemail.com header.s=20161025 header.b=jHPCgI5B; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404059AbgFYKs5 (ORCPT + 99 others); Thu, 25 Jun 2020 06:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403997AbgFYKs4 (ORCPT ); Thu, 25 Jun 2020 06:48:56 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7744C061573; Thu, 25 Jun 2020 03:48:55 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id c11so2946154lfh.8; Thu, 25 Jun 2020 03:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ogZcy9cOrOsNSfio7x0qys7hDFYRAcov2/q+DXfsFdA=; b=jHPCgI5BsMocvW8SV5RvHGKHe0HI4Dy/1Gyxos/+PhLsL57o0fWti0JL5Fe+5OVNeG tIbRkbBh8J6xllsyA2qrR3KPRYwRJpyP1xJOpnrAKxRruRnNFgP8sLXfFHajFiycrDpX HVcMtQ0ueugOWoog3+uQ239/i+aiQMC91qpv0MqMySdmLtX2mnm26Txa6vE/p9kx8DxI byJTmR9tuDbbAABZcgh+hGMyqvFWKQK2TuQw0mamkDULSbHK3NrW+N+NzYFuu+hfSBXz b8fJfMdmmYd7bo2h0zvy+CgmfYu1VM7tli+8dQMNoQqnGlN9I5aiZDmokAbWyq579N+D TpoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ogZcy9cOrOsNSfio7x0qys7hDFYRAcov2/q+DXfsFdA=; b=qK6jW/HgMwTz5sXNvyCjw8b95l5FKSQMq+RmQTvfDWAbkXwtOjCCqcSQT7f4rJPXIv hCQd0fuNJZCS13UMmMC2w0PBd8x0gQj7Od3cT9zhpVHDfjieHk/uWFKi3c9dgKZGhRJw YRUH0yYs01Hi7HFsz7oUGzARyvSQJWm8qixEg9NTAe6H18DpqW4cyMAesmBl6Az7V57n X4PqeT/oqkSF+EQ4k30MugR+qF3ObvVrbBu7G/DbNFKeVl9zhRmhFmuFTk9cq09KQKuB 2F6+vH7H6h0vFv/c0lzfvOT9IoMPSrZ0sgYC4GDGoQkpLl/wS08qHKiA9e+BVp/vOiGe wEUg== X-Gm-Message-State: AOAM533kbGKl1KNgvN4PabQN7LBCehNtf4Vaaue4HUgIYlHatEZAb+mb hHg/6WjSTBdV4rwzXCvpSdf4qQm7gpxHk8mkgg== X-Received: by 2002:ac2:5443:: with SMTP id d3mr18103967lfn.121.1593082134255; Thu, 25 Jun 2020 03:48:54 -0700 (PDT) MIME-Version: 1.0 References: <1592410366125160@kroah.com> In-Reply-To: From: Gabriel C Date: Thu, 25 Jun 2020 12:48:27 +0200 Message-ID: Subject: Re: ath9k broken [was: Linux 5.7.3] To: Jiri Slaby Cc: Greg Kroah-Hartman , LKML , Andrew Morton , Linus Torvalds , stable , lwn@lwn.net, angrypenguinpoland@gmail.com, Qiujun Huang , ath9k-devel , "linux-wireless@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Dongle, > > while working fine on <5.7.3. > > > > I don't have myself such HW, and the reported doesn't have any experience > > in bisecting the kernel, so we build kernels, each with one of the > > 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 > > I fail to see how the commit could cause an issue like this. Is this > really reproducibly broken with the commit and irreproducible without > it? I can't see something obvious wrong either, but yes it's reproducible on his HW. Kernel with this commit breaks the dongle, with the commit reverted it works. >As it looks like a USB/wiring problem: > usb 1-2: USB disconnect, device number 2 > ath: phy0: Reading Magic # failed > ath: phy0: Unable to initialize hardware; initialization status: -5 > ... > usb 1-2: device descriptor read/64, error -110 > usb 1-2: device descriptor read/64, error -71 > > Ccing ath9k maintainers too. > > > I don't have so much info about the HW, besides a dmesg showing the > > phy breaking. > > I also added the reporter to CC too. > > > > https://gist.github.com/AngryPenguinPL/1e545f0da3c2339e443b9e5044fcccea > > > > If you need more info, please let me know and I'll try my best to get > > it as fast as possible for you. > Best Regards, Gabriel C