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]
Date:	Thu, 17 May 2012 19:37:03 -0700
From:	Tony Luck <tony.luck@...el.com>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [git pull] machine check recovery fix

On Thu, May 17, 2012 at 5:25 PM, Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
> If the machine check happened in kernel space, we currently *are*
> returning to the instruction that executed. With or without your
> patch. That's my argument.

When we assign the severity for the error we check for kernel vs. user
space. If we took the machine check in kernel space it will get assigned
MCE_PANIC_SEVERITY severity ... and we won;t try to do any
recovery.  We only play the games with TIF_MCE_NOTIFY if we
see severity MCE_AR_SEVERITY ... which we will only do if the
machine check happened in user mode.

So current recovery code only tries to deal with the user case.

Machine checks in kernel space are a future project ... and I agree
will be a monster pain because we'll have to figure out everything
in machine check context.

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