From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f199.google.com (mail-ua0-f199.google.com [209.85.217.199]) by kanga.kvack.org (Postfix) with ESMTP id 41E576B0033 for ; Sat, 20 Jan 2018 20:22:11 -0500 (EST) Received: by mail-ua0-f199.google.com with SMTP id y48so4112697uay.2 for ; Sat, 20 Jan 2018 17:22:11 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d129sor1563030vkh.245.2018.01.20.17.22.09 for (Google Transport Security); Sat, 20 Jan 2018 17:22:10 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <8BCDD560-66F5-4CF7-97DD-E2E5BE1D13F4@nullcore.net> References: <1515529383-35695-1-git-send-email-keescook@chromium.org> <8BCDD560-66F5-4CF7-97DD-E2E5BE1D13F4@nullcore.net> From: Kees Cook Date: Sat, 20 Jan 2018 17:22:07 -0800 Message-ID: Subject: Re: [kernel-hardening] Re: [PATCH 0/3] exec: Pin stack limit during exec Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: David Windsor Cc: Andrew Morton , Linus Torvalds , Michal Hocko , Ben Hutchings , Willy Tarreau , Hugh Dickins , Oleg Nesterov , "Jason A. Donenfeld" , Rik van Riel , Laura Abbott , Greg KH , Andy Lutomirski , Linux-MM , linux-arch , LKML , kernel-hardening@lists.openwall.com On Fri, Jan 19, 2018 at 5:12 PM, David Windsor wrote: > I have some spare cycles; is there any more relevant information outside of this thread? Awesome, thanks! Context is in the other commits, but mainly I want to double-check that nothing breaks with these changes, and that all the races for changing stack rlimits during exec are fixed. And then, just a sanity-check that the design approach to attaching the stack limit to the bprm isn't crazy. :) -Kees >>> [1] 04e35f4495dd ("exec: avoid RLIMIT_STACK races with prlimit()") >>> [2] 779f4e1c6c7c ("Revert "exec: avoid RLIMIT_STACK races with prlimit()"") >>> [3] to security@kernel.org, "Subject: existing rlimit races?" -- 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