lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 6 Mar 2008 10:15:43 -0500
From:	"Kevin Coffman" <kwc@...i.umich.edu>
To:	"Nick Piggin" <npiggin@...e.de>
Cc:	"Andrew Morton" <akpm@...ux-foundation.org>, stable@...nel.org,
	"Alexey Dobriyan" <adobriyan@...il.com>,
	"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
	"Kevin Coffman" <kwc@...i.umich.edu>
Subject: Re: [patch] iov_iter_advance fix

Thanks Nick,

I've verified this fixes the problem I was seeing.

On Thu, Mar 6, 2008 at 12:39 AM, Nick Piggin <npiggin@...e.de> wrote:
>
>  iov_iter_advance skips over zero-length iovecs, however it does not properly
>  terminate at the end of the iovec array. Fix this by checking against
>  i->count before we skip a zero-length iov.
>
>  The bug was reproduced with a test program that continually randomly creates
>  iovs to writev. The fix was also verified with the same program and also it
>  could verify that the correct data was contained in the file after each
>  writev.
>
>  2.6.25 and 2.6.24.stable requires this fix.
>
>  Signed-off-by: Nick Piggin <npiggin@...e.de>
>  Cc: stable@...nel.org

Tested-by: Kevin Coffman <kwc@...i.umich.edu>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ