Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1019305lqg; Sat, 2 Mar 2024 11:19:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW8iLh3VAYBf4TMfAV7TDeldS7VakixotiiKdrvRZCOxVt6T6/RpQHPAGW8ePAssPcQOttu1iQM+E3E092GTsltGIKbmsUk5miU10LTCQ== X-Google-Smtp-Source: AGHT+IHxGBaXd74vIGoV/uxmIUgk7fAWoqGpCqSgH0QzgGHCGcZzhlkxvVnv+idNUAz+EV0qWVGL X-Received: by 2002:ad4:4212:0:b0:690:621e:59de with SMTP id k18-20020ad44212000000b00690621e59demr2022889qvp.14.1709407165353; Sat, 02 Mar 2024 11:19:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709407165; cv=pass; d=google.com; s=arc-20160816; b=Y8BNeVMCWgOhUbZvvZDw9hwJGWIbzhBUaggu3sNwuah8BGRTFxuz2zkyvg4zNMnCB2 N8cHxq0NRneMufX+O2N3WxSjnKzVasegiYnht6iZd8SVRhS99hrvctmhECkuo3kKLTlY zuBM8reJu06WMfuNHlPkZO/jVPelzDpy1s++ZH/m4gWYE3qaUk7YUqbL3LAoJ0WprYNx NLaPFACFpn0z9cgU04JsflH7hQUZAmj2hkrz0tb8p5cTf4u4Nt+sZTlODyfEY6mTiw48 tG4LoC/Dq6RhOUxDG3SWR7eNuDw8T02mdtqHW5wytOx9FXUjmgDo0DEr8+y0GfnNnL/l RYEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UGF5Q3hpqSP/39z9fuQE4REDnulqch+2VlKOObb2SDw=; fh=if7eWVks49TVXNgdt49cxbMoMsRl3m/9eNJKw4lBwzo=; b=Q8zSvuED+uxJ8oISLI5Hf77aK6kVR9SsvuhAOW8xNRUyld2JcEerO0Y6BOrzQMDOYo tdqwT2tzxnMUVPy+ERyan4zaZT9U88C9MPi1NoPnNkQ2A/dpq8rJFmE+5oBQfm5qg7uc nMaynaJILxgOAX5VjdugSAwMhI5OSCt6Bbwf3mGt6nqwyumkYH86VjbNFXQJf4bghW/Z Yq3hguGi9lUfS7gvHzmi/KZccuJNz0PTZ8EHf6VFghX1XYTvJa7KjBq0PpRKDhnegsd7 SRHjkOaTzQNV7mVhHfbVGNPP51j/P3WBabkKSEC+CZT7SpdOGfwEl3gI94txsrTRKdYT f4JA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Y3dE4PCK; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-89563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gi10-20020a056214248a00b0069019d45e93si6342089qvb.195.2024.03.02.11.19.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Mar 2024 11:19:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Y3dE4PCK; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-89563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0CDFF1C20B1D for ; Sat, 2 Mar 2024 19:19:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4153D3FE58; Sat, 2 Mar 2024 19:19:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Y3dE4PCK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E9154085A; Sat, 2 Mar 2024 19:19:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709407153; cv=none; b=L9AjGtQBg6NkXd/bmnN/tLuNYalzMCr35nfZdR5gDMJOtU8/R1LFEed2+1H2tCyim6HhQOpvxSLduzb7Pd2I/i4zTbJVRgWGHLhHaCSaS/BLetuSgLsweDU/HtGFlAgltZxGX5BsKrFXCtUDqZy8ao5fAYFqSSnat4UiRiC37Og= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709407153; c=relaxed/simple; bh=jVkskR3yPyVbQiLF1f3ZMKaybYafz/MQVKpjoW8/nvA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=diYGy8+pQdlx+tbFyNpYghtLytD+7ghzcbQQIn6enS8lIPzxtOpOyiCVRCtXycj/T9fEDRjnMPTkqOuGWjFR7E5GVJSK84rLxVCW0r9uYoDsApsapWlgD8OlY9XeJH+s8r8FQnAZ0Wt0bZ07sM8iUcg9+OP4yasdlO8KthTMoEc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Y3dE4PCK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2B7FC433C7; Sat, 2 Mar 2024 19:19:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709407153; bh=jVkskR3yPyVbQiLF1f3ZMKaybYafz/MQVKpjoW8/nvA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y3dE4PCKAFMfa02NeBGWGdnTTO0iS8DZEO/P4qNMkhFeCc1BIl21m7AHOiPqS5BtA NBO1ZM+iW1ATXoNDbX+leOEFDvXgDh9xG48jxSIM/3g+Uk5jcRO8tWUQzvjh5rVuzg M0NpZ7Zis1+WCFWN1CyHOO+viXOEAe8Wfr+NBa8A= Date: Sat, 2 Mar 2024 20:19:10 +0100 From: Greg KH To: Lars Melin Cc: Alan Stern , Tom Hu , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, usb-storage@lists.one-eyed-alien.net Subject: Re: [PATCH] usb-storage: Add Brain USB3-FW to IGNORE_UAS Message-ID: <2024030221-tilt-remission-7d7a@gregkh> References: <20240226075936.1744353-1-huxiaoying@kylinos.cn> <960d9120-47b3-4961-9ce7-cd9e8b760220@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <960d9120-47b3-4961-9ce7-cd9e8b760220@gmail.com> On Sat, Mar 02, 2024 at 07:06:20PM +0700, Lars Melin wrote: > On 2024-03-01 23:53, Alan Stern wrote: > > > drivers/usb/storage/unusual_uas.h | 7 +++++++ > > > 1 file changed, 7 insertions(+) > > > > > > diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h > > > index 1f8c9b16a0fb..98b7ff2c76ba 100644 > > > --- a/drivers/usb/storage/unusual_uas.h > > > +++ b/drivers/usb/storage/unusual_uas.h > > > @@ -83,6 +83,13 @@ UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999, > > > USB_SC_DEVICE, USB_PR_DEVICE, NULL, > > > US_FL_NO_REPORT_LUNS), > > > +/* Reported-by: Tom Hu */ > > > +UNUSUAL_DEV(0x1234, 0x1234, 0x0000, 0x9999, > > > > The vendor and product ID values have a suspicious look, but they appear > > to be genuine. > > Hi Alan, > it is of course a bogus Id, here is another one: > > "SmartWi - Multi Room Solution is a Smart Card Reader hardware device. This > driver was developed by SmartWi International A/S. The hardware id of this > driver is USB/VID_1234&PID_1234." > > found by googling vid_1234&pid_1234. > > There are others like 1234:5678 which also looks suspicious. Yeah, this is a "fake" number, which happens a lot (0000/0000 is also used.) Because of this, I don't know if we should take this change. It obviously fixes an issue for _this_ device, but for any other usb-storage device using this fake id, will it cause issues? thanks, greg k-h