Files
i2som-imx-linux/kernel
Kees Cook 3042c7c2ee kernel/sys.c: fix stack memory content leak via UNAME26
commit 2702b1526c upstream.

Calling uname() with the UNAME26 personality set allows a leak of kernel
stack contents.  This fixes it by defensively calculating the length of
copy_to_user() call, making the len argument unsigned, and initializing
the stack buffer to zero (now technically unneeded, but hey, overkill).

CVE-2012-0957

Reported-by: PaX Team <pageexec@freemail.hu>
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: PaX Team <pageexec@freemail.hu>
Cc: Brad Spengler <spender@grsecurity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2012-10-30 23:26:53 +00:00
..
2011-09-23 12:05:29 +05:30
2012-10-10 03:30:50 +01:00
2011-12-09 07:50:28 -08:00
2012-07-12 04:31:59 +01:00
2011-10-31 17:30:44 -07:00
2011-09-19 17:04:37 -07:00