Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752818AbcDFSGI (ORCPT ); Wed, 6 Apr 2016 14:06:08 -0400 Received: from bonobo.tulip.relay.mailchannels.net ([23.83.218.22]:46067 "EHLO bonobo.tulip.relay.mailchannels.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678AbcDFSGH (ORCPT ); Wed, 6 Apr 2016 14:06:07 -0400 X-Greylist: delayed 18154 seconds by postgrey-1.27 at vger.kernel.org; Wed, 06 Apr 2016 14:06:05 EDT X-Sender-Id: wwwh|x-authuser|ed@abdsec.com X-Sender-Id: wwwh|x-authuser|ed@abdsec.com X-MC-Relay: Neutral X-MailChannels-SenderId: wwwh|x-authuser|ed@abdsec.com X-MailChannels-Auth-Id: wwwh X-MC-Loop-Signature: 1459965958254:2026357182 X-MC-Ingress-Time: 1459965958254 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 06 Apr 2016 13:05:56 -0500 From: ed@abdsec.com To: Linus Torvalds Cc: Dan Rosenberg , Dave Jones , Kees Cook , Kernel Hardening , Linus Torvalds , Linux Kernel Mailing List Subject: Re: [PATCH] KERNEL: resource: Fix bug on leakage in /proc/iomem file In-Reply-To: References: <1459947782-5071-1-git-send-email-ed@abdsec.com> Message-ID: <5e5e7c7ced7bede343530ed1447d7453@abdsec.com> User-Agent: Roundcube Webmail/1.0.6 X-AuthUser: ed@abdsec.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 306 Lines: 9 First, I wrote your attached patch, but then I thought zeroing other /proc/iomem values would be better. So I changed it. Most distros don't use KASLR, but they use kptr_restrict. Without KASLR, kptr_restirct most likely useless. As you said these things should be done long ago Emrah Demir