From: Chris Wright Date: Thu, 9 Sep 2010 23:34:59 +0000 (-0700) Subject: tracing: t_start: reset FTRACE_ITER_HASH in case of seek/pread X-Git-Tag: v2.6.36-rc4~16^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df09162550fbb53354f0c88e85b5d0e6129ee9cc;p=pandora-kernel.git tracing: t_start: reset FTRACE_ITER_HASH in case of seek/pread Be sure to avoid entering t_show() with FTRACE_ITER_HASH set without having properly started the iterator to iterate the hash. This case is degenerate and, as discovered by Robert Swiecki, can cause t_hash_show() to misuse a pointer. This causes a NULL ptr deref with possible security implications. Tracked as CVE-2010-3079. Cc: Robert Swiecki Cc: Eugene Teo Cc: Signed-off-by: Chris Wright Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed