From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 14 May 2003 15:04:55 -0400 (EDT) From: Rik van Riel Subject: Re: Race between vmtruncate and mapped areas? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Dave McCracken , mika.penttila@kolumbus.fi, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Wed, 14 May 2003, Rik van Riel wrote: > On Wed, 14 May 2003, Andrew Morton wrote: > > > It would be nice to make them go away - they cause problems. > > Not to mention they could end up being outside of any VMA, > meaning there's no sane way to deal with them. I hate to follow up to my own email, but the fact that they're not in any VMA could mean we leak these pages at exit() time. Which means a security bug, as well as the potential to end up with bad pointers in kernel space, eg. think about the rmap code jumping to a no longer existing mm_struct. The more I think about it, the more I agree with Andrew that it would be really really nice to get rid of them ;) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org