From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752411AbdJLHZe (ORCPT ); Thu, 12 Oct 2017 03:25:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37324 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750716AbdJLHZd (ORCPT ); Thu, 12 Oct 2017 03:25:33 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com DAE04A0360 Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=sgruszka@redhat.com Date: Thu, 12 Oct 2017 09:25:30 +0200 From: Stanislaw Gruszka To: Andrey Konovalov Cc: Helmut Schaa , Kalle Valo , linux-wireless@vger.kernel.org, netdev , LKML , Dmitry Vyukov , Kostya Serebryany , syzkaller Subject: Re: usb/net/rt2x00: warning in rt2800_eeprom_word_index Message-ID: <20171012072529.GB2686@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 12 Oct 2017 07:25:33 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On Mon, Oct 09, 2017 at 07:50:53PM +0200, Andrey Konovalov wrote: > I've got the following report while fuzzing the kernel with syzkaller. > > On commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (4.14-rc4). > > I'm not sure whether this is a bug in the driver, or just a way to > report misbehaving device. In the latter case this shouldn't be a > WARN() call, since WARN() means bug in the kernel. This is about wrong EEPROM, which reported 3 tx streams on non 3 antenna device. I think WARN() is justified and thanks to the call trace I was actually able to to understand what happened. In general I do not think WARN() only means a kernel bug, it can be F/W or H/W bug too. Thanks Stanislaw