lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 23 Mar 2009 09:26:42 +0100 From: Ingo Molnar <mingo@...e.hu> To: Frederic Weisbecker <fweisbec@...il.com> Cc: Steven Rostedt <rostedt@...dmis.org>, LKML <linux-kernel@...r.kernel.org>, Greg Kroah-Hartman <gregkh@...e.de> Subject: Re: [PATCH 3/5] tracing/ftrace: check if debugfs is registered before creating files * Frederic Weisbecker <fweisbec@...il.com> wrote: > Impact: fix a crash with ftrace={nop,boot} parameter > > If the nop or initcall tracers are launched as boot tracers, > they will attempt to create their option directory and files. > But these tracers are registered very early and then assigned > as "boot tracers" very early if asked to. > > Since they do this before debugfs has been registered (core initcall), > a crash is triggered. > > Another early tracers could also come later. So we fix it by > checking if debugfs is initialized before creating the root > tracing directory. > > Cc: Greg Kroah-Hartman <gregkh@...e.de> > Signed-off-by: Frederic Weisbecker <fweisbec@...il.com> > --- > kernel/trace/trace.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Note - i'll delay this patch pending Greg's Ack. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists