Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 19 Feb 2001 11:42:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 19 Feb 2001 11:42:45 -0500 Received: from router-100M.swansea.linux.org.uk ([194.168.151.17]:43281 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Mon, 19 Feb 2001 11:42:32 -0500 Subject: Re: Linux 2.4.1-ac15 To: prumpf@mandrakesoft.com Date: Mon, 19 Feb 2001 16:41:26 +0000 (GMT) Cc: alan@lxorguk.ukuu.org.uk (Alan Cox), linux-kernel@vger.kernel.org, prumpf@parcelfarce.linux.theplanet.co.uk, rusty@linuxcare.com In-Reply-To: from "Philipp Rumpf" at Feb 19, 2001 10:34:49 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > So you fixed the nonexistent race only. The real race is that the module Umm I fixed the small race. You are right that there is a second race. > uninitialized vmalloc'd (module_map'd) memory), then the module data > (including the exception table) gets copied. > The race window is from the first copy_from_user in sys_init_module until > the second one. Yep. Obvious answer. Ignore exception tables for modules that are not MOD_RUNNING. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/