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, 30 Mar 2010 09:45:55 -0400
From:	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	linux-kernel@...r.kernel.org,
	Randy Dunlap <randy.dunlap@...cle.com>,
	Eric Dumazet <dada1@...mosbay.com>,
	Rusty Russell <rusty@...tcorp.com.au>,
	Tejun Heo <tj@...nel.org>, Ingo Molnar <mingo@...e.hu>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Greg Kroah-Hartman <gregkh@...e.de>,
	Steven Rostedt <rostedt@...dmis.org>,
	stable <stable@...nel.org>
Subject: Re: [PATCH] lockdep fix incorrect percpu usage

* Peter Zijlstra (peterz@...radead.org) wrote:
> On Mon, 2010-03-29 at 23:34 -0400, Mathieu Desnoyers wrote:
> > Should use per_cpu_ptr() to obfuscate the per cpu pointers (RELOC_HIDE is needed
> > for per cpu pointers).
> > 
> > git blame points to commit:
> > 
> > lockdep.c: commit 8e18257d29238311e82085152741f0c3aa18b74d
> > 
> > But it's really just moving the code around. But it's enough to say that the
> > problems appeared before Jul 19 01:48:54 2007, which brings us back to 2.6.23.
> > 
> > So it should be applied to stable 2.6.23.x to 2.6.33.x (or whichever of these
> > stable branches are still maintained) and to mainline 2.6.34-rc2.
> 
> well, definately not to mainline, since that code is utterly busted in
> mainline due to recent per-cpu changes.

How recent ? I'm based on 

commit f57d4e859a8acd63f878cd0534ec4b990b1710dc
Merge: 0528faa... eed6351...
Author: Ingo Molnar <mingo@...e.hu>
Date:   Mon Mar 29 18:56:00 2010 +0200

from -tip and I see the problem there, both in module.c and lockdep.c.

Thanks,

Mathieu


-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
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