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-19 10:04:42 -07:00
2007-07-18 02:13:42 -07:00
2007-07-19 10:04:53 -07:00
2007-07-16 09:05:40 -07:00
2007-07-16 09:05:42 -07:00
2007-07-12 16:34:30 -07:00
2007-07-17 10:23:04 -07:00
2007-07-19 10:04:52 -07:00
2007-07-17 10:23:06 -07:00
2007-07-18 16:59:17 +03:00
2007-07-18 08:38:22 -07:00
2007-07-18 15:57:16 -07:00
2007-07-19 10:04:52 -07:00
2007-07-19 10:04:52 -07:00