From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753898AbbERLWC (ORCPT ); Mon, 18 May 2015 07:22:02 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:58808 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751288AbbERLV4 (ORCPT ); Mon, 18 May 2015 07:21:56 -0400 Date: Mon, 18 May 2015 13:21:52 +0200 From: Pavel Machek To: Anisse Astier Cc: Andrew Morton , Mel Gorman , "Kirill A. Shutemov" , David Rientjes , Alan Cox , Linus Torvalds , Peter Zijlstra , PaX Team , Brad Spengler , Kees Cook , Andi Kleen , "Rafael J. Wysocki" , Len Brown , linux-mm@kvack.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages Message-ID: <20150518112152.GA16999@amd> References: <1431613188-4511-1-git-send-email-anisse@astier.eu> <1431613188-4511-3-git-send-email-anisse@astier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431613188-4511-3-git-send-email-anisse@astier.eu> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2015-05-14 16:19:47, Anisse Astier wrote: > This new config option will sanitize all freed pages. This is a pretty > low-level change useful to track some cases of use-after-free, help > kernel same-page merging in VM environments, and counter a few info > leaks. Could you document the "few info leaks"? We may want to fix them for !SANTIZE_FREED_PAGES case, too... Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by kanga.kvack.org (Postfix) with ESMTP id 7FE836B00A2 for ; Mon, 18 May 2015 07:21:56 -0400 (EDT) Received: by wibt6 with SMTP id t6so65600184wib.0 for ; Mon, 18 May 2015 04:21:56 -0700 (PDT) Received: from atrey.karlin.mff.cuni.cz (atrey.karlin.mff.cuni.cz. [195.113.26.193]) by mx.google.com with ESMTP id lq2si17237598wjb.118.2015.05.18.04.21.54 for ; Mon, 18 May 2015 04:21:55 -0700 (PDT) Date: Mon, 18 May 2015 13:21:52 +0200 From: Pavel Machek Subject: Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages Message-ID: <20150518112152.GA16999@amd> References: <1431613188-4511-1-git-send-email-anisse@astier.eu> <1431613188-4511-3-git-send-email-anisse@astier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431613188-4511-3-git-send-email-anisse@astier.eu> Sender: owner-linux-mm@kvack.org List-ID: To: Anisse Astier Cc: Andrew Morton , Mel Gorman , "Kirill A. Shutemov" , David Rientjes , Alan Cox , Linus Torvalds , Peter Zijlstra , PaX Team , Brad Spengler , Kees Cook , Andi Kleen , "Rafael J. Wysocki" , Len Brown , linux-mm@kvack.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org On Thu 2015-05-14 16:19:47, Anisse Astier wrote: > This new config option will sanitize all freed pages. This is a pretty > low-level change useful to track some cases of use-after-free, help > kernel same-page merging in VM environments, and counter a few info > leaks. Could you document the "few info leaks"? We may want to fix them for !SANTIZE_FREED_PAGES case, too... Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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: email@kvack.org