[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>

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list