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:	Tue, 15 Apr 2014 19:05:22 -0700
From:	"H. Peter Anvin" <hpa@...ux.intel.com>
To:	Jet Chen <jet.chen@...el.com>
CC:	LKML <linux-kernel@...r.kernel.org>,
	Fengguang Wu <fengguang.wu@...el.com>
Subject: Re: [x86, smap]  general protection fault: fff2 [#1] PREEMPT DEBUG_PAGEALLOC

On 04/10/2014 10:27 PM, Jet Chen wrote:
> [  371.380921] general protection fault: fff2 [#1] PREEMPT DEBUG_PAGEALLOC

I am guessing this is an issue with DEBUG_PAGEALLOC... this message is
odd in the extreme because it is hard to see how we could #GP(0xfff2)
here -- which normally would indicate having attempted to load 0xfff2 as
a segment selector (which is going to fail spectacularly).

This happens immediately after a popfq which enables interrupts(!), so
my guess is that we're trying to deliver an interrupt but that for some
reason there is garbage in the IDT or similar.

Unfortunately the GPF message doesn't include the IDT/GDT information...

	-hpa

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