From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f72.google.com (mail-oi0-f72.google.com [209.85.218.72]) by kanga.kvack.org (Postfix) with ESMTP id 1C8A96B025F for ; Mon, 7 Aug 2017 14:40:51 -0400 (EDT) Received: by mail-oi0-f72.google.com with SMTP id x3so927846oia.8 for ; Mon, 07 Aug 2017 11:40:51 -0700 (PDT) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com. [2607:f8b0:4001:c06::22f]) by mx.google.com with ESMTPS id u67si5303210oif.435.2017.08.07.11.40.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 11:40:50 -0700 (PDT) Received: by mail-io0-x22f.google.com with SMTP id g71so5662264ioe.5 for ; Mon, 07 Aug 2017 11:40:50 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Kees Cook Date: Mon, 7 Aug 2017 11:40:49 -0700 Message-ID: Subject: Re: binfmt_elf: use ELF_ET_DYN_BASE only for PIE breaks asan Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Evgenii Stepanov Cc: Kostya Serebryany , Dmitry Vyukov , Daniel Micay , Michal Hocko , Andrew Morton , "linux-mm@kvack.org" , Rik van Riel , Reid Kleckner , Peter Collingbourne On Mon, Aug 7, 2017 at 11:36 AM, Evgenii Stepanov wrote: > MSan is 64-bit only and does not allow any mappings _outside_ of these regions: > 000000000000 - 010000000000 app-1 > 510000000000 - 600000000000 app-2 > 700000000000 - 800000000000 app-3 > > https://github.com/google/sanitizers/issues/579 > > It sounds like the ELF_ET_DYN_BASE change should not break MSan. Hah, so the proposed move to 0x1000 8000 0000 for ASan would break MSan. Lovely! :P -Kees -- Kees Cook Pixel Security -- 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