[Linux-cachefs] [PATCH 6/7] ecryptfs: fix out-of-bounds read of key payload

James Morris jmorris at namei.org
Tue Oct 3 11:03:46 UTC 2017


On Thu, 28 Sep 2017, Eric Biggers wrote:

> From: Eric Biggers <ebiggers at google.com>
> 
> eCryptfs blindly casts the user-supplied key payload to a
> 'struct ecryptfs_auth_tok' without validating that the payload does, in
> fact, have the size of a 'struct ecryptfs_auth_tok'.  Fix it.
> 
> Fixes: 237fead61998 ("[PATCH] ecryptfs: fs/Makefile and fs/Kconfig")
> Cc: <stable at vger.kernel.org>    [v2.6.19+]
> Signed-off-by: Eric Biggers <ebiggers at google.com>


Reviewed-by: James Morris <james.l.morris at oracle.com>


-- 
James Morris
<jmorris at namei.org>




More information about the Linux-cachefs mailing list