From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: kernel-hardening@lists.openwall.com Message-ID: <4E3A57BA.2040907@arm.com> Date: Thu, 04 Aug 2011 09:26:34 +0100 From: Marc Zyngier MIME-Version: 1.0 References: <20110801180151.GA26686@albatros> <20110801112021.25ec9041.akpm@linux-foundation.org> <20110801190341.GA6898@albatros> <20110802124530.GA2543@albatros> <20110802135512.b49c9de1.akpm@linux-foundation.org> <20110803113033.1c3c6960@taxman.wild-wind.fr.eu.org> In-Reply-To: Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Subject: [kernel-hardening] Re: [PATCH] shm: fix a race between shm_exit() and shm_init() To: Linus Torvalds Cc: Andrew Morton , Vasiliy Kulikov , Manuel Lauss , "linux-kernel@vger.kernel.org" , Richard Weinberger , Ingo Molnar , "kernel-hardening@lists.openwall.com" , "Paul E. McKenney" List-ID: On 04/08/11 01:35, Linus Torvalds wrote: > On Wed, Aug 3, 2011 at 12:30 AM, Marc Zyngier wrot= e: >> >> driver_init() is called from do_basic_setup(), before any initcall... >=20 > Ok, thanks everybody. I think the proper fix is the attached patch. > It's crazy to have usermode helpers enabled early during boot when > init etc haven't even been set up. >=20 > So does this finally fix the problem (I realize that there are other > patches floating around that *also* fix it, so please test this > without those other patches). This patch alone doesn't cure the problem... However, if combined with the pure_initcall patch, it boots correctly. I'll try to gather some traces later today. =09M. --=20 Jazz is not dead. It just smells funny...