Return-path: Received: from mx2.suse.de ([195.135.220.15]) by Galois.linutronix.de with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1fC7Ej-0005kr-Sb for speck@linutronix.de; Fri, 27 Apr 2018 19:32:48 +0200 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6CA37AEA5 for ; Fri, 27 Apr 2018 17:32:38 +0000 (UTC) Date: Fri, 27 Apr 2018 19:32:21 +0200 From: Borislav Petkov Subject: [MODERATED] Re: [PATCH v2] Linux Patch 1/1 Message-ID: <20180427173221.GB14180@pd.tnic> References: <92c45587-5eb3-2421-6fc1-42e74a715e30@linux.intel.com> <20180427164743.GA14180@pd.tnic> <6e2b14fc-3bf6-071d-6ce2-e518f2c4f069@redhat.com> MIME-Version: 1.0 In-Reply-To: <6e2b14fc-3bf6-071d-6ce2-e518f2c4f069@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: speck@linutronix.de List-ID: On Fri, Apr 27, 2018 at 01:13:03PM -0400, speck for Jon Masters wrote: > My opinion is this needs to be a prctl that a vulnerable application can > set. It can be a one-way thing that's set/inherited by children, etc. If the task does prctl, it *must* at least be a one-way thing because, as jikos said, if a malicious attacker can trick it into calling prctl() again to turn MD back on, the whole dance we're doing is useless. --=20 Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton, HR= B 21284 (AG N=C3=BCrnberg) --=20