Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263048AbTEBSNN (ORCPT ); Fri, 2 May 2003 14:13:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263055AbTEBSNM (ORCPT ); Fri, 2 May 2003 14:13:12 -0400 Received: from 81-2-122-30.bradfords.org.uk ([81.2.122.30]:3200 "EHLO 81-2-122-30.bradfords.org.uk") by vger.kernel.org with ESMTP id S263048AbTEBSNM (ORCPT ); Fri, 2 May 2003 14:13:12 -0400 From: John Bradford Message-Id: <200305021829.h42ITclA000178@81-2-122-30.bradfords.org.uk> Subject: Re: [Announcement] "Exec Shield", new Linux security feature To: mingo@redhat.com (Ingo Molnar) Date: Fri, 2 May 2003 19:29:38 +0100 (BST) Cc: arjanv@redhat.com (Arjan van de Ven), davidel@xmailserver.org (Davide Libenzi), linux-kernel@vger.kernel.org (Linux Kernel Mailing List) In-Reply-To: from "Ingo Molnar" at May 02, 2003 01:32:20 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1062 Lines: 22 > > > Ingo, do you want protection against shell code injection ? Have the > > > kernel to assign random stack addresses to processes and they won't be > > > able to guess the stack pointer to place the jump. I use a very simple > > > trick in my code : > > > > stack randomisation is already present in the kernel, in the form of > > cacheline coloring for HT cpus... > > we could make it even more prominent than just coloring, to introduce the > kind of variability that Davide's approach introduces. It has to be a > separate patch obviously. This would further reduce the chance that a > remote attack that has to guess the stack would succeed on a random box. Slightly off-topic, but does anybody know whether IA64 or x86-64 allow you to make the stack non-executable in the same way you can on SPARC? John. - 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/