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

Bug#990398: unblock: zfs-linux/2.0.3-9 (pre-approval)



Control: tags -1 moreinfo confirmed

On 2021-06-28 09:01:04 +0000, M. Zhou wrote:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Please unblock package zfs-linux
> 
> [ Reason ]
> 
> We want to cherry-pick a three-line fix for an important bug.
> See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989373
> 
> diff --git a/module/os/linux/zfs/zpl_file.c
> b/module/os/linux/zfs/zpl_file.c
> index 421aebefe46..524c43dcded 100644
> --- a/module/os/linux/zfs/zpl_file.c
> +++ b/module/os/linux/zfs/zpl_file.c
> @@ -342,9 +342,6 @@ zpl_iter_write(struct kiocb *kiocb, struct iov_iter
> *from)
>  	ssize_t wrote = count - uio.uio_resid;
>  	kiocb->ki_pos += wrote;
>  
> -	if (wrote > 0)
> -		iov_iter_advance(from, wrote);
> -
>  	return (wrote);
>  }
>  
> 
> [ Impact ]
> 
> Potential memory corruption / data loss.
> 
> [ Risks ]
> 
> This has been sufficiently tested by ZFS upstream. And
> this fix is a part of their new stable release:
> https://github.com/openzfs/zfs/commit/412b69dfabe223a69159c8579ba808b49f0982e0
> 
> 
> unblock zfs-linux/2.0.3-9
> Thank you for using reportbug

ACK, please go ahead and remove the moreinfo tag once the new version is
available in unstable.

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature


Reply to: