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: <3908561D78D1C84285E8C5FCA982C28F3292BAB4@ORSMSX114.amr.corp.intel.com>
Date:	Wed, 12 Nov 2014 23:41:14 +0000
From:	"Luck, Tony" <tony.luck@...el.com>
To:	Andy Lutomirski <luto@...capital.net>,
	Oleg Nesterov <oleg@...hat.com>
CC:	Borislav Petkov <bp@...en8.de>, X86 ML <x86@...nel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Andi Kleen <andi@...stfloor.org>
Subject: RE: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from
 userspace

> v2 coming soon with these changes and some additional comment cleanups.

So v1 + do_machine_check change is not surviving some real testing.  I'm injecting and
consuming errors sequentially with a small delay in between - so no fancy corner cases with
multiple errors being processed ... we get all the way done with one error before we start
the next.  Test only survives about 400ish recoveries before Linux dies complaining:
    "Timeout synchronizing machine check over CPUs". 
This probably means that some cpu wandered into the weeds and never showed up in the
handler.

patch just moves the recovery to the end of do_machine_check() instead of
doing the whole TIF_MCE_NOTIFY thing - and deletes all the TIF_MCE_NOTIFY
bits that are no longer needed.

-Tony



Download attachment "mce-stack.patch" of type "application/octet-stream" (6556 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ