Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1312045pxb; Fri, 27 Aug 2021 06:15:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwro5S5aOqcNK9DwXtyRqciFrf75rnsJ1TNM5taFqB+ECbHjvLCx3tasi1uu5tReSbk5W4+ X-Received: by 2002:adf:f741:: with SMTP id z1mr10119550wrp.201.1630070132427; Fri, 27 Aug 2021 06:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630070132; cv=none; d=google.com; s=arc-20160816; b=vgFFkyHLrXLli9IIbUm1o9ELkHJynzBFE0WgYUmKS6nHBErw66V1A6pqKldMskJCsy VDYO1zbsT/ZmCVo9mdB9u+ICWIJ7RN711OM6PS32DeAucr0C7kdIS9rDhEVxKtSAxPwr 6aKRcrd8i/XBAj6hOiQalpeYppcZkx5zgumYYemqiA5opI5TDK2pKIdVkfBGjr5Dcic1 fnzZEWVf1l2IGqU4AQhE9j4aS146/EEbxAhxhYs/biEAkhGnTjdQG6piJfDtcSqegY97 rO8nSm2V2hNpIs3eBXPv59PX16dAnyzYGLlTXiTV2UquiX2RH9uOUMvENB08SJEU+Jot H91w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=a2qRcP8uE8cyscnTcDYdq0QuTbAEY4akJ6wC2x+UjJw=; b=NdyzSgUPHqin7ZYv49NV2y8ZPKoRmcP9EP3qPNq+kBQ74T7cYgQX4d9/PPqOA1DsNb bTNwO6H9sCc2fJJjcBx50AGW66Spdlzabp37JGftqiD9SBPqqCOMIMy102NlKmQyVQcG ocvzhq0RblI/PyuEftWboJTPLs7cVebqejVLNSrVIJFF7NBuN0Rrt97bsIlmc8yGr/ra CIso0DhGObh7EmUJRvEIE7uVnGicDeV+OZ0JDO/YIOpRNj41a8iEMZB/cXVZUXnyMy32 aKnt7DAnmL+pzpmVkPjgbifyoV3F4e2IV1cLBIIjBmySO5T1PlMnEoSWJLy0vGNAjEZo c2sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dYayoHH8; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb8si8129643edb.378.2021.08.27.06.15.07; Fri, 27 Aug 2021 06:15:32 -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=@linuxfoundation.org header.s=korg header.b=dYayoHH8; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245082AbhH0NLm (ORCPT + 99 others); Fri, 27 Aug 2021 09:11:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:55372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232767AbhH0NLl (ORCPT ); Fri, 27 Aug 2021 09:11:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9B0D360F4F; Fri, 27 Aug 2021 13:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1630069852; bh=c5+YHnWY7DrCFsFr+252fUHx97s4CmCD8ry0QtL+h4w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dYayoHH8cnQsGb3BQJeBWbDrfEEFMvQzpYNQrxweB/011kC6zcrTe0KOzMHFvvnbt iQnFh0If8StZnOZycShtpWVrr4LrsFMvLOaMvZYUTOQWhg+L8fCLEB2qmGGwuBP4B0 mzzdSbSYz8wM8XMsqnGozo4bz1DcO2zwnlOmn2e0= Date: Fri, 27 Aug 2021 15:10:46 +0200 From: Greg KH To: Wenlong Zhang Cc: fabioaiuto83@gmail.com, ross.schm.dev@gmail.com, marcocesati@gmail.com, insafonov@gmail.com, cyruscyliu@gmail.com, yajin@vm-kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH v3] staging: rtl8723bs: prevent ->ssid overflow in rtw_wx_set_scan() Message-ID: References: <20210827125059.26694-1-yixiaonn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210827125059.26694-1-yixiaonn@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 27, 2021 at 08:50:59PM +0800, Wenlong Zhang wrote: > Commit 74b6b20df8cf ("staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()") > fixed up the staging driver rtl8188eu by adding another check > to prevent writing beyond the end of the ->ssid[] array. > > Resolve this by properly fixing up the rtl8723bs driver's version of > rtw_wx_set_scan() > > Fixes: 74b6b20df8cf ("staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()") > Signed-off-by: Wenlong Zhang > --- > v3: > - Added the changelogs for this patch. > v2: > - Fixed the description of this patch. > Thanks Greg KH for the review and guidance This doesn't apply against any tree that I can see. Neither my staging-next or the 5.14-rc6 kernel release. What did you make it against? Please rebase and resend it against at the very least, 5.14-rc6. thanks, greg k-h