[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120708014124.GA3809@thunk.org>
Date: Sat, 7 Jul 2012 21:41:24 -0400
From: Theodore Ts'o <tytso@....edu>
To: Ben Hutchings <ben@...adent.org.uk>
Cc: Linux Kernel Developers List <linux-kernel@...r.kernel.org>,
ewust@...ch.edu, zakir@...ch.edu, nadiah@...ucsd.edu,
jhalderm@...ch.edu, stable@...r.kernel.org
Subject: Re: [PATCH 07/12] random: use the arch-specific rng in
xfer_secondary_pool
On Sun, Jul 08, 2012 at 02:06:46AM +0100, Ben Hutchings wrote:
>
> Surely the number of random bytes being added is i * sizeof(long), not
> sizeof(u.hwrand)?
>
Meh; Kees Cook has made the same observation. Basically, in the
unlikely case where RDRAND fails, we'll end up mixing in stack
garbage. It's not a security vulnerability, since the contents of the
entropy pool never gets exposed. In fact, one could argue that mixing
in some unknown garbage from the kernel stack might actually help a
little; but it can't hurt.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists