Return-path: Received: from mga01.intel.com ([192.55.52.88]:4239 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751656AbeEVH6G (ORCPT ); Tue, 22 May 2018 03:58:06 -0400 From: "Dreyfuss, Haim" To: Eric Biggers CC: linuxwifi , "linux-wireless@vger.kernel.org" , "Coelho, Luciano" , Kalle Valo Subject: RE: [4.17 iwlwifi regression] NULL pointer dereference in reg_query_regdb_wmm() Date: Tue, 22 May 2018 07:58:02 +0000 Message-ID: <409B2791E285FD41B488E034D9B4719F27E9A568@HASMSX106.ger.corp.intel.com> (sfid-20180522_095828_277837_6D2AF934) References: <20180519183345.GA701@sol.localdomain> <409B2791E285FD41B488E034D9B4719F27E99C58@HASMSX106.ger.corp.intel.com> <20180522044712.GA987@sol.localdomain> <20180522045906.GB987@sol.localdomain> In-Reply-To: <20180522045906.GB987@sol.localdomain> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Thanks Eric, I will look into it Cheers Dreyfuss -----Original Message----- From: Eric Biggers [mailto:ebiggers3@gmail.com] Sent: Tuesday, May 22, 2018 7:59 AM To: Dreyfuss, Haim Cc: linuxwifi ; linux-wireless@vger.kernel.org; Coelho, Luciano ; Kalle Valo Subject: Re: [4.17 iwlwifi regression] NULL pointer dereference in reg_query_regdb_wmm() On Mon, May 21, 2018 at 09:47:12PM -0700, Eric Biggers wrote: > Hi Haim, > > On Mon, May 21, 2018 at 10:10:09AM +0000, Dreyfuss, Haim wrote: > > Hello, > > > > Can you provide the following information? > > 1. The *boot* you mentioned is from clean shutdown or from Sx state? > > 2. Do you know which MCC the driver is trying to update? > > I will appreciate if you could reproduce it with trace-cmd (recording at least iwlwifi , iwlwifi_msg -and iwlwifi_ucode) > > Or if you can't, just send dmesg but make sure to set iwlwifi.debug in the kernel parameters to 0x4000 > > > > It's a clean boot, from powered off. > > I built an v4.17-rc6 kernel with CONFIG_IWLWIFI_DEBUG=y and booted with > iwlwifi.debug=0x4000. I've attached the dmesg output and kernel config. > > The crash happens right away, so there's no time to easily run trace-cmd. > But if the other stuff still isn't enough, I can try booting with the > NetworkManager service disabled, then enabling it at runtime. > > - Eric The crash goes away if I replace iwlwifi-7265D-27.ucode in CONFIG_EXTRA_FIRMWARE with iwlwifi-7265D-29.ucode. I don't know how well supported using old iwlwifi firmware versions is supposed to be, but it shouldn't crash the kernel. - Eric