From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:36434 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750876AbdIAFD6 (ORCPT ); Fri, 1 Sep 2017 01:03:58 -0400 Date: Fri, 1 Sep 2017 07:03:55 +0200 From: Greg KH To: Todd Poynor Cc: stable@vger.kernel.org, android-kernel , Hannes Reinecke , Hannes Reinecke , "Martin K . Petersen" Subject: Re: [PATCH] scsi: sg: protect accesses to 'reserved' page array Message-ID: <20170901050355.GC2361@kroah.com> References: <20170816030901.26283-1-toddpoynor@google.com> <20170831061949.GA12737@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Thu, Aug 31, 2017 at 01:11:18PM -0700, Todd Poynor wrote: > Thanks! A couple more follow-on fixes for sg race conditions are now > in the linux-next tree (via linux-scsi), in case it's appropriate to > also queue these for linux-stable trees now or after 4.14 release: > > commit 8d26f491116feaa0b16de370b6a7ba40a40fa0b4 > Author: Todd Poynor > Date: Tue Aug 15 21:48:43 2017 -0700 > > scsi: sg: recheck MMAP_IO request length with lock held > > commit 6a8dadcca81fceff9976e8828cceb072873b7bd5 > Author: Todd Poynor > Date: Tue Aug 15 22:41:08 2017 -0700 > > scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE > As per: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html I have to wait until they hit Linus's tree, and ideally, show up in a -rc release, before I can add them to a stable tree. thanks, greg k-h