Thread (5 messages) 5 messages, 2 authors, 2017-09-08

Re: [PATCH] scsi: sg: protect accesses to 'reserved' page array

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2017-09-01 05:03:58

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 [off-list ref]
Date:   Tue Aug 15 21:48:43 2017 -0700

    scsi: sg: recheck MMAP_IO request length with lock held

commit 6a8dadcca81fceff9976e8828cceb072873b7bd5
Author: Todd Poynor [off-list ref]
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help