Commit [df0916]  Maximize  Restore  History

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 <>

Chris Wright Chris Wright 2010-09-09

Steven Rostedt Steven Rostedt 2010-09-10

changed kernel/trace/ftrace.c
kernel/trace/ftrace.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks