Messages in this thread | | | From | Kees Cook <> | Subject | Re: [PATCH] fs: binfmt_elf_efpic: don't use missing interpreter's properties | Date | Mon, 5 Feb 2024 08:15:31 -0800 |
| |
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
| |