[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170714972859.1382644.2755936263342477379.b4-ty@chromium.org>
Date: Mon, 5 Feb 2024 08:15:31 -0800
From: Kees Cook <keescook@...omium.org>
To: linux-kernel@...r.kernel.org,
Max Filippov <jcmvbkbc@...il.com>
Cc: Kees Cook <keescook@...omium.org>,
Chris Zankel <chris@...kel.net>,
Alexander Viro <viro@...iv.linux.org.uk>,
Christian Brauner <brauner@...nel.org>,
Eric Biederman <ebiederm@...ssion.com>,
linux-fsdevel@...r.kernel.org,
linux-mm@...ck.org,
Greg Ungerer <gerg@...ux-m68k.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: [PATCH] fs: binfmt_elf_efpic: don't use missing interpreter's properties
On Thu, 18 Jan 2024 07:06:37 -0800, Max Filippov wrote:
> Static FDPIC executable may get an executable stack even when it has
> non-executable GNU_STACK segment. This happens when STACK segment has rw
> permissions, but does not specify stack size. In that case FDPIC loader
> uses permissions of the interpreter's stack, and for static executables
> with no interpreter it results in choosing the arch-default permissions
> for the stack.
>
> [...]
Applied to for-next/execve, thanks!
[1/1] fs: binfmt_elf_efpic: don't use missing interpreter's properties
https://git.kernel.org/kees/c/15fd1dc3dadb
Take care,
--
Kees Cook
Powered by blists - more mailing lists