Re: [stable] [PATCH] eCryptfs: Allocate up to two scatterlists forcrypto ops on keys

From: Greg KH
Date: Fri Nov 14 2008 - 12:27:28 EST


On Fri, Nov 14, 2008 at 10:40:53AM -0600, Michael Halcrow wrote:
> I have received some reports of out-of-memory errors on some older AMD
> architectures. These errors are what I would expect to see if
> crypt_stat->key were split between two separate pages. eCryptfs should
> not assume that any of the memory sent through virt_to_scatterlist()
> is all contained in a single page, and so this patch allocates two
> scatterlist structs instead of one when processing keys. I have
> received confirmation from one person affected by this bug that this
> patch resolves the issue for him, and so I am submitting it for
> inclusion in a future stable release.

Is this already in Linus's tree? If so, do you have the git commit id
for it?

If not, we can't take it into a stable kernel until that happens. To
get patches automatically added to the stable tree, when they get added
to Linus's tree, just add:
Cc: stable <stable@xxxxxxxxxx>
to the signed-off-by: area of the patch and it will get automatically
routed to us.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/