Re: [patch stable 4.9] scsi: sg: disable SET_FORCE_LOW_DMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 18, 2018 at 01:42:17PM -0800, David Rientjes wrote:
> From: Hannes Reinecke <hare@xxxxxxx>
> 
> commit 745dfa0d8ec26b24f3304459ff6e9eacc5c8351b upstream.
> 
> The ioctl SET_FORCE_LOW_DMA has never worked since the initial git
> check-in, and the respective setting is nowadays handled correctly. So
> disable it entirely.
> 
> [rientjes@xxxxxxxxxx: the SG_SET_FORCE_LOW_DMA ioctl can race with
>  mmap(MAP_POPULATE) or a VM_LOCKED vma to cause a use-after-free which
>  can result in a GPF in practice.]

Thanks, I had already queued this up for 4.9, 4.4, and 3.18 last night,
sorry you were not cc:ed on that.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]