Re: [PATCH] keys/encrypted: Fix two crypto-on-the-stack bugs

From: David Howells
Date: Tue Dec 13 2016 - 15:11:21 EST


Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:

> I don't know whether you're right, but that sounds a bit silly to me.
> This is a *tiny* amount of memory.

Assuming a 1MiB kernel image in 4K pages, that gets you back a couple of pages
I think - useful if you've only got a few MiB of RAM.

David