Matt Mackall 5a021e9ffd random: fix bound check ordering (CVE-2007-3105)
If root raised the default wakeup threshold over the size of the
output pool, the pool transfer function could overflow the stack with
RNG bytes, causing a DoS or potential privilege escalation.

(Bug reported by the PaX Team <pageexec@freemail.hu>)

Cc: Theodore Tso <tytso@mit.edu>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 14:21:04 -07:00
..
2007-07-16 09:05:40 -07:00
2007-07-16 09:05:46 -07:00
2007-07-19 10:04:52 -07:00
2007-07-17 10:23:10 -07:00
2007-07-16 09:05:46 -07:00
2007-07-19 10:04:52 -07:00
2007-07-19 10:04:43 -07:00
2007-07-19 10:04:43 -07:00
2007-07-17 10:23:10 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:47 -07:00
2007-07-17 10:23:10 -07:00
2007-07-16 09:05:43 -07:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:47 -07:00