On Thu, 28 Sep 2017, Eric Biggers wrote: > From: Eric Biggers <ebiggers@xxxxxxxxxx> > > 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@xxxxxxxxxxxxxxx> [v2.6.19+] > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> Reviewed-by: James Morris <james.l.morris@xxxxxxxxxx> -- James Morris <jmorris@xxxxxxxxx>