[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1156432859.5629.24.camel@localhost>
Date: Thu, 24 Aug 2006 11:20:59 -0400
From: Trond Myklebust <trond.myklebust@....uio.no>
To: David Howells <dhowells@...hat.com>
Cc: torvalds@...l.org, akpm@...l.org, aviro@...hat.com,
steved@...hat.com, linux-kernel@...r.kernel.org,
nfsv4@...ux-nfs.org
Subject: Re: [PATCH] NFS: Check lengths more thoroughly in NFS4 readdir XDR
decode
On Tue, 2006-08-22 at 17:19 +0100, David Howells wrote:
> Check the bounds of length specifiers more thoroughly in the XDR decoding of
> NFS4 readdir reply data.
Hmm... Your patch fails to check for buffer overflows on the read of the
bitmap/attribute length, and on the end-of-record markers. The attached
slightly revamped patch corrects those oversights.
Cheers,
Trond
Download attachment "linux-2.6.18-069-check_lengths_in_nfs4_readdir_xdr_decode.dif" of type "message/rfc822" (3574 bytes)
Powered by blists - more mailing lists