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: <4885E6B0.3060504@zytor.com>
Date:	Tue, 22 Jul 2008 09:54:56 -0400
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Ingo Molnar <mingo@...e.hu>
CC:	"Luis R. Rodriguez" <mcgrof@...il.com>,
	linux kernel <linux-kernel@...r.kernel.org>,
	"H. Peter Anvin" <hpa@...nel.org>,
	Ivan Seskar <Seskar@...lab.rutgers.edu>,
	jfm3 <jfm3@...lab.rutgers.edu>, Sujith <m.sujith@...il.com>
Subject: Re: Bug on 2.6.26 - x86 VIA Nehemiah CentaurHauls processor cannot
 boot

Ingo Molnar wrote:
>>
>> We can't "printk and panic" because we never get that far in the 
>> kernel proper, for obvious reasons: the code is quite littered with 
>> these buggers.
> 
> hm. How about to default to a safe NOP all the way up to where we can 
> fix up alternatives and install a different NOP. (which we could also 
> test first via intentionally jumping on it and catching any exception 
> via a special exception handler)
> 

I don't really think that's realistic, especially if gcc starts using 
these instructions (which it really *should*.)

You can make the same argument for every non-i386 instruction (heck, 
even every non-8086 instruction), and it quickly gets unworkable.

Since it is extremely likely that the set of processors affected is now 
bounded, I think it's just a matter of identifying the relevant CPUID 
info.  As far as I know, only VIA is affected.

What is worse is that there are a number of "virtual processors" out 
there which are, in effect, separate implementations of the x86 
architecture, but don't actually identify as anything else.  Several of 
them have broken nopl implementations, but identify as processors which 
are known good in this department.  Again, nothing unique to nopl about 
this, but it's a generic problem.

	-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