]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] random: fix seeding with zero entropy (CVE-2007-2453 2 of 2)
authorMatt Mackall <mpm@selenic.com>
Wed, 30 May 2007 02:58:10 +0000 (21:58 -0500)
committerChris Wright <chrisw@sous-sol.org>
Thu, 7 Jun 2007 21:23:04 +0000 (14:23 -0700)
commitf5939fcd7378c7a26cc8101dff373c90d269d769
tree044bce82d5872b8fa826498d2b50f3fbb7f9f99d
parent54bb290bb2bad45d45cae1399181a233ffbc487b
[PATCH] random: fix seeding with zero entropy (CVE-2007-2453 2 of 2)

Add data from zero-entropy random_writes directly to output pools to
avoid accounting difficulties on machines without entropy sources.

Tested on lguest with all entropy sources disabled.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Acked-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/char/random.c