Re: [PATCH v4.4] more bio_map_user_iov() leak fixes

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

 



On Wed, Dec 13, 2017 at 06:18:27PM -0800, Guenter Roeck wrote:
> From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> 
> commit 2b04e8f6bbb196cab4b232af0f8d48ff2c7a8058 upstream.
> 
> we need to take care of failure exit as well - pages already
> in bio should be dropped by analogue of bio_unmap_pages(),
> since their refcounts had been bumped only once per reference
> in bio.
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> ---
> Fixed conflicts.
> Intended for v4.4.y. Does not apply to v3.18.y or older kernels.

Many thanks for this, now applied.

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]