Re: [PATCH] binfmt_elf_fdpic: only honour the first PT_INTERP

Daniel Palmer <[email protected]> Tue, 4 Aug 2026 22:42:25 +0900
Newsgroups gmane.linux.kernel.stable,gmane.linux.kernel.bpf,gmane.linux.file-systems,gmane.linux.kernel.mm
Message-ID <[email protected]>
Hi,

Sorry if I messed this up. First time replying via git.

>Afaict, currently read_code() may blow past what vm_mmap() allocated
>there, which may result in memory corruption for a non MMU system.

I ran Fable on all of the "nommu files" and it found the issue this
commit fixes and the above issue,
I sent a patch (co-written with fable) and we proved this is an actual
issue on nommu via a reproducer tested on a real system.

https://lore.kernel.org/all/[email protected]/

Thanks,

Daniel