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: <20180109132602.GA2369@hirez.programming.kicks-ass.net>
Date:   Tue, 9 Jan 2018 14:26:02 +0100
From:   Peter Zijlstra <peterz@...radead.org>
To:     Vince Weaver <vincent.weaver@...ne.edu>
Cc:     Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
        Ingo Molnar <mingo@...hat.com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Thomas Gleixner <tglx@...utronix.de>
Subject: Re: perf: perf_fuzzer quickly locks up on 4.15-rc7

On Tue, Jan 09, 2018 at 11:25:07AM +0100, Peter Zijlstra wrote:
> On Mon, Jan 08, 2018 at 03:29:42PM -0500, Vince Weaver wrote:
> > On Mon, 8 Jan 2018, Ingo Molnar wrote:
> > > 
> > > Note that the page table isolation (PTI) feature has a number of effects on perf 
> > > and on NMI handlers, so one of the things to try would be to disable PTI.
> > 
> > Yes, it seems to be a KPTI issue.
> > 
> > With KPTI disabled I can fuzz for a few hours, no problems.
> > 
> > With KPTI enabled the perf_fuzzer on this haswell machine will lock up 
> > within minutes.
> 
> I'll go take a look...

OK, so I'm running on an IVB-EP with PTI enabled. I insta triggered a
lockdep splat, after fixing that I get NMI watchdog triggers that look
like false positives; and I suspect:

[  290.791675] perf: Dynamic interrupt throttling disabled, can hang your system!

is responsible for that. That is, subsequent stacktraces for the same
CPU are unrelated, which make it look like the CPU actually makes
progress.

So remind me again, how are you running that fuzzer? I'm running
./fast_repro99.sh as root.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ