On Wed, Apr 17, 2019 at 5:28 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote: > > On Wed, Apr 17, 2019 at 5:22 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote: > > > > On Wed, Apr 17, 2019 at 1:53 AM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > > > [...] > > > Caused by commit > > > > > > 3ebf0dd657ce ("fs/binfmt_elf.c: move brk out of mmap when doing direct loader exec") > > > > > > interacting with commit > > > > > > a34f642bccf1 ("fs/binfmt_elf.c: free PT_INTERP filename ASAP") I should read more closely! I see now this is the patch where elf_interpreter got moved. :) And, yes, your fix is correct. *sigh* I will go find a brown paper bag now... -- Kees Cook