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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130828125701.1ca6ccd0@gandalf.local.home>
Date:	Wed, 28 Aug 2013 12:57:01 -0400
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Vince Weaver <vince@...ter.net>
Cc:	Dave Jones <davej@...hat.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: FTRACE_WARN_ON((rec->flags & ~FTRACE_FL_MASK) == 0))

On Wed, 28 Aug 2013 12:50:36 -0400 (EDT)
Vince Weaver <vince@...ter.net> wrote:

> On Wed, 28 Aug 2013, Dave Jones wrote:
> > Quite often just rerunning that last syscall that caused the oops/warn
> > isn't sufficient to trigger an issue. (Though it may be for this specific
> > bug that may not be the case..)
> > 
> > Vince has a variant of trinity focussed just on perf which also has some
> > neat replay/bisecting capabilities to narrow down test cases.
> > I think I might need to add something like that at some point.
> 
> Yes, you can get the perf_fuzzer code here:
>    git clone https://github.com/deater/perf_event_tests.git
> in the fuzzer directory
> 
> Bisecting down which perf_event_open() call causes problems is still very 
> labor intensive even with the other tools I've added to help.  Even if the 
> bug is triggered right away (within the first 100,000 calls or so) it can 
> take hours to narrow things down to the two or three syscalls needed to 
> reproduce the problem.  Especially if you need to reboot after triggering 
> the issue.

Note, I have an idea that it's not even that many perf calls. I have a
good idea what perf syscalls with what options are the issue. I think
the issue is the calling order that is the problem.

Dave, I'm assuming that trinidy does things as threads, such that it
may be two threads calling perf with the same descriptor, and if we
don't have the proper locks, things can get bad, right?

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ