From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:51364 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752237AbeGCKva (ORCPT ); Tue, 3 Jul 2018 06:51:30 -0400 Date: Tue, 3 Jul 2018 12:51:23 +0200 From: Greg KH To: Dan Carpenter Cc: murray.mcallister@insomniasec.com, stable@vger.kernel.org Subject: Re: patch "staging: rtl8723bs: Prevent an underflow in rtw_check_beacon_data()." added to staging-linus Message-ID: <20180703105123.GA28307@kroah.com> References: <1530521321137101@kroah.com> <20180703104247.z3kx735llnpct6fk@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180703104247.z3kx735llnpct6fk@mwanda> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Jul 03, 2018 at 01:42:47PM +0300, Dan Carpenter wrote: > On Mon, Jul 02, 2018 at 10:48:41AM +0200, gregkh@linuxfoundation.org wrote: > > > > This is a note to let you know that I've just added the patch titled > > > > staging: rtl8723bs: Prevent an underflow in rtw_check_beacon_data(). > > > > to my staging git tree which can be found at > > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > > in the staging-linus branch. > > > > The patch will show up in the next release of the linux-next tree > > (usually sometime within the next 24 hours during the week.) > > > > The patch will hopefully also be merged in Linus's tree for the > > next -rc kernel release. > > > > If you have any questions about this process, please let me know. > > > > > > >From 920c92448839bd4f8eb87a92b08cad56d449caff Mon Sep 17 00:00:00 2001 > > From: Murray McAllister > > Date: Mon, 2 Jul 2018 13:07:28 +1200 > > Subject: staging: rtl8723bs: Prevent an underflow in rtw_check_beacon_data(). > > > > Dan Carpenter reported an integer underflow issue in the rtl8188eu driver. > > This is also needed for the length (signed integer) in rtl8723bs, as it is > > later converted to an unsigned integer and used in a memcpy operation. > > > > Original issue is at https://patchwork.kernel.org/patch/9796371/ > > > > Reported-by: Dan Carpenter > > Greg, you gave me Reported-by credit for this but really Murray found it > on his own. It was slightly confusing perhaps from the commit message. Sorry about that, the commit message was confusing :(