The patch titled eCryptfs: Fix pointer deref has been added to the -mm tree. Its filename is ecryptfs-cipher-code-to-new-crypto-api-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: eCryptfs: Fix pointer deref From: Michael Halcrow <mhalcrow@xxxxxxxxxx> I missed a pointer dereference in this kmalloc result check. Signed-off-by: Michael Halcrow <mhalcrow@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/ecryptfs/crypto.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/ecryptfs/crypto.c~ecryptfs-cipher-code-to-new-crypto-api-fix fs/ecryptfs/crypto.c --- a/fs/ecryptfs/crypto.c~ecryptfs-cipher-code-to-new-crypto-api-fix +++ a/fs/ecryptfs/crypto.c @@ -134,7 +134,7 @@ int ecryptfs_crypto_api_algify_cipher_na algified_name_len = (chaining_modifier_len + cipher_name_len + 3); (*algified_name) = kmalloc(algified_name_len, GFP_KERNEL); - if (!(algified_name)) { + if (!(*algified_name)) { rc = -ENOMEM; goto out; } _ Patches currently in -mm which might be from mhalcrow@xxxxxxxxxx are ecryptfs-clean-up-crypto-initialization.patch ecryptfs-hash-code-to-new-crypto-api.patch ecryptfs-cipher-code-to-new-crypto-api.patch ecryptfs-cipher-code-to-new-crypto-api-fix.patch ecryptfs-consolidate-lower-dentry_opens.patch ecryptfs-remove-ecryptfs_umount_begin.patch ecryptfs-fix-handling-of-lower-d_count.patch fsstack-introduce-fsstack_copy_attrinode_.patch fsstack-introduce-fsstack_copy_attrinode_-tidy.patch ecryptfs-use-fsstacks-generic-copy-inode-attr.patch ecryptfs-use-fsstacks-generic-copy-inode-attr-tidy-fix.patch struct-path-make-ecryptfs-a-user-of-struct-path.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html